Searched refs:linearLayout (Results 1 – 8 of 8) sorted by relevance
231 LinearLayout linearLayout = new LinearLayout(mContext); in testInflate() local232 linearLayout.setOrientation(LinearLayout.VERTICAL); in testInflate()233 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflate()234 linearLayout.setLayoutParams(new ViewGroup.LayoutParams( in testInflate()237 assertEquals(0, linearLayout.getChildCount()); in testInflate()239 linearLayout); in testInflate()241 assertEquals(1, linearLayout.getChildCount()); in testInflate()255 LinearLayout linearLayout = new LinearLayout(mContext); in testInflateAttachToRoot() local256 linearLayout.setOrientation(LinearLayout.VERTICAL); in testInflateAttachToRoot()257 linearLayout.setHorizontalGravity(Gravity.LEFT); in testInflateAttachToRoot()[all …]
76 LinearLayout linearLayout = (LinearLayout) activity.findViewById(R.id.linearlayout); in testSettersAndGetters() local82 assertTrue(linearLayout.getDefaultFocusHighlightEnabled()); in testSettersAndGetters()88 linearLayout.setDefaultFocusHighlightEnabled(false); in testSettersAndGetters()94 assertFalse(linearLayout.getDefaultFocusHighlightEnabled()); in testSettersAndGetters()110 LinearLayout linearLayout = (LinearLayout) activity.findViewById( in testInflating() local117 assertFalse(linearLayout.getDefaultFocusHighlightEnabled()); in testInflating()
96 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnDetachedFromWindow() local100 linearLayout.addView(digitalClock); in testOnDetachedFromWindow()103 linearLayout.removeView(digitalClock); in testOnDetachedFromWindow()111 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( in testOnAttachedToWindow() local114 linearLayout.addView(digitalClock); in testOnAttachedToWindow()119 linearLayout.removeView(digitalClock); in testOnAttachedToWindow()
1405 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear); in testSetFloat() local1406 assertTrue(linearLayout.getWeightSum() <= 0.0f); in testSetFloat()1410 assertEquals(0.5f, linearLayout.getWeightSum(), 0.001f); in testSetFloat()
28 final LinearLayout linearLayout = findViewById( in onCreate() local30 getLayoutInflater().inflate(R.layout.feature_c_textview, linearLayout); in onCreate()
28 final LinearLayout linearLayout = findViewById( in onCreate() local30 getLayoutInflater().inflate(R.layout.feature_a_textview, linearLayout); in onCreate()
28 final LinearLayout linearLayout = findViewById( in onCreate() local30 getLayoutInflater().inflate(R.layout.feature_b_textview, linearLayout); in onCreate()
408 LinearLayout linearLayout = new LinearLayout(mActivity); in testGenerateAndVerifyDisplayHash_MultiColor() local409 linearLayout.setOrientation(VERTICAL); in testGenerateAndVerifyDisplayHash_MultiColor()419 linearLayout.addView(blueView, blueParams); in testGenerateAndVerifyDisplayHash_MultiColor()420 linearLayout.addView(redView, redParams); in testGenerateAndVerifyDisplayHash_MultiColor()421 mTestView = linearLayout; in testGenerateAndVerifyDisplayHash_MultiColor()