Home
last modified time | relevance | path

Searched refs:linearLayout (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java77 LinearLayout linearLayout = new LinearLayout(mContext); in testAccessBaselineAligned() local
78 linearLayout.setBaselineAligned(true); in testAccessBaselineAligned()
79 assertTrue(linearLayout.isBaselineAligned()); in testAccessBaselineAligned()
81 linearLayout.setBaselineAligned(false); in testAccessBaselineAligned()
82 assertFalse(linearLayout.isBaselineAligned()); in testAccessBaselineAligned()
85 linearLayout = (LinearLayout) mActivity.findViewById(R.id.weightsum); in testAccessBaselineAligned()
86 assertFalse(linearLayout.isBaselineAligned()); in testAccessBaselineAligned()
89 linearLayout = (LinearLayout) mActivity.findViewById(R.id.horizontal); in testAccessBaselineAligned()
90 assertTrue(linearLayout.isBaselineAligned()); in testAccessBaselineAligned()
94 linearLayout = (LinearLayout) mActivity.findViewById(R.id.vertical); in testAccessBaselineAligned()
[all …]
DDigitalClockTest.java80 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnDetachedFromWindow() local
84 linearLayout.addView(digitalClock); in testOnDetachedFromWindow()
87 linearLayout.removeView(digitalClock); in testOnDetachedFromWindow()
94 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnAttachedToWindow() local
97 linearLayout.addView(digitalClock); in testOnAttachedToWindow()
102 linearLayout.removeView(digitalClock); in testOnAttachedToWindow()
DRemoteViewsTest.java596 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear); in testSetFloat() local
597 assertTrue(linearLayout.getWeightSum() <= 0.0f); in testSetFloat()
601 assertEquals(0.5f, linearLayout.getWeightSum()); in testSetFloat()