Searched refs:linearLayout (Results 1 – 4 of 4) sorted by relevance
229 LinearLayout linearLayout = new LinearLayout(mContext); in testInflate() local230 linearLayout.setOrientation(LinearLayout.VERTICAL); in testInflate()231 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflate()232 linearLayout.setLayoutParams(new ViewGroup.LayoutParams( in testInflate()235 assertEquals(0, linearLayout.getChildCount()); in testInflate()237 linearLayout); in testInflate()239 assertEquals(1, linearLayout.getChildCount()); in testInflate()253 LinearLayout linearLayout = new LinearLayout(mContext); in testInflateAttachToRoot() local254 linearLayout.setOrientation(LinearLayout.VERTICAL); in testInflateAttachToRoot()255 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflateAttachToRoot()[all …]
65 LinearLayout linearLayout = (LinearLayout) activity.findViewById(R.id.linearlayout); in testSettersAndGetters() local71 assertTrue(linearLayout.getDefaultFocusHighlightEnabled()); in testSettersAndGetters()77 linearLayout.setDefaultFocusHighlightEnabled(false); in testSettersAndGetters()83 assertFalse(linearLayout.getDefaultFocusHighlightEnabled()); in testSettersAndGetters()99 LinearLayout linearLayout = (LinearLayout) activity.findViewById( in testInflating() local106 assertFalse(linearLayout.getDefaultFocusHighlightEnabled()); in testInflating()
87 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnDetachedFromWindow() local91 linearLayout.addView(digitalClock); in testOnDetachedFromWindow()94 linearLayout.removeView(digitalClock); in testOnDetachedFromWindow()102 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnAttachedToWindow() local105 linearLayout.addView(digitalClock); in testOnAttachedToWindow()110 linearLayout.removeView(digitalClock); in testOnAttachedToWindow()
730 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear); in testSetFloat() local731 assertTrue(linearLayout.getWeightSum() <= 0.0f); in testSetFloat()735 assertEquals(0.5f, linearLayout.getWeightSum(), 0.001f); in testSetFloat()