Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLinearLayoutTest.java17 private LinearLayout linearLayout; field in ShadowLinearLayoutTest
22 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 …]
DShadowListViewTest.java390 LinearLayout linearLayout = new LinearLayout(ApplicationProvider.getApplicationContext()); in getView() local
391 linearLayout.addView(new View(ApplicationProvider.getApplicationContext())); in getView()
392 return linearLayout; in getView()
DShadowLayoutInflaterTest.java293 LinearLayout linearLayout = new LinearLayout(context); in shouldInflateMergeLayoutIntoParent() local
294 LayoutInflater.from(context).inflate(R.layout.inner_merge, linearLayout); in shouldInflateMergeLayoutIntoParent()
295 assertThat(linearLayout.getChildAt(0)).isInstanceOf(TextView.class); in shouldInflateMergeLayoutIntoParent()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DStatusBarMixin.java49 private LinearLayout linearLayout; field in StatusBarMixin
76 linearLayout = (LinearLayout) sucLayoutStatus; in StatusBarMixin()
122 linearLayout.setBackgroundDrawable(background); in setStatusBarBackground()
131 return linearLayout.getBackground(); in getStatusBarBackground()