Searched refs:linearLayout (Results 1 – 4 of 4) sorted by relevance
17 private LinearLayout linearLayout; field in ShadowLinearLayoutTest22 linearLayout = new LinearLayout(ApplicationProvider.getApplicationContext()); in setup()23 shadow = shadowOf(linearLayout); in setup()29 linearLayout.setLayoutParams(params); in getLayoutParams_shouldReturnTheSameLinearLayoutParamsFromTheSetter()31 assertSame(params, linearLayout.getLayoutParams()); in getLayoutParams_shouldReturnTheSameLinearLayoutParamsFromTheSetter()36 assertThat(linearLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL); in canAnswerOrientation()37 linearLayout.setOrientation(LinearLayout.VERTICAL); in canAnswerOrientation()38 assertThat(linearLayout.getOrientation()).isEqualTo(LinearLayout.VERTICAL); in canAnswerOrientation()39 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in canAnswerOrientation()40 assertThat(linearLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL); in canAnswerOrientation()[all …]
390 LinearLayout linearLayout = new LinearLayout(ApplicationProvider.getApplicationContext()); in getView() local391 linearLayout.addView(new View(ApplicationProvider.getApplicationContext())); in getView()392 return linearLayout; in getView()
293 LinearLayout linearLayout = new LinearLayout(context); in shouldInflateMergeLayoutIntoParent() local294 LayoutInflater.from(context).inflate(R.layout.inner_merge, linearLayout); in shouldInflateMergeLayoutIntoParent()295 assertThat(linearLayout.getChildAt(0)).isInstanceOf(TextView.class); in shouldInflateMergeLayoutIntoParent()
49 private LinearLayout linearLayout; field in StatusBarMixin76 linearLayout = (LinearLayout) sucLayoutStatus; in StatusBarMixin()122 linearLayout.setBackgroundDrawable(background); in setStatusBarBackground()131 return linearLayout.getBackground(); in getStatusBarBackground()