Searched refs:linearLayout (Results 1 – 3 of 3) sorted by relevance
77 LinearLayout linearLayout = new LinearLayout(mContext); in testAccessBaselineAligned() local78 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 …]
80 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnDetachedFromWindow() local84 linearLayout.addView(digitalClock); in testOnDetachedFromWindow()87 linearLayout.removeView(digitalClock); in testOnDetachedFromWindow()94 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnAttachedToWindow() local97 linearLayout.addView(digitalClock); in testOnAttachedToWindow()102 linearLayout.removeView(digitalClock); in testOnAttachedToWindow()
596 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear); in testSetFloat() local597 assertTrue(linearLayout.getWeightSum() <= 0.0f); in testSetFloat()601 assertEquals(0.5f, linearLayout.getWeightSum()); in testSetFloat()