Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewIsHorizontallyScrollableTest.java41 private ViewGroup mViewGroup; field in TextViewIsHorizontallyScrollableTest
47 mViewGroup = (ViewGroup) inflater.inflate(R.layout.textview_isHorizontallyScrollable_layout, in setup()
53 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingDefaultIsFalse()
61 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingSameAsGiven()
70 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingTrueToFalse()
81 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML()
87 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML()
94 final TextView textViewDefault = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
98 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
102 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
[all …]
/cts/tests/tests/view/sdk28/src/android/view/cts/sdk28/
DViewGroupTest.java41 private MockViewGroup mViewGroup; field in ViewGroupTest
47 mViewGroup = new MockViewGroup(mContext); in setup()
54 assertFalse(mViewGroup.fitSystemWindows(rect)); in testFitSystemWindows()
56 mViewGroup = new MockViewGroup(mContext); in testFitSystemWindows()
58 mViewGroup.addView(mv); in testFitSystemWindows()
59 assertTrue(mViewGroup.fitSystemWindows(rect)); in testFitSystemWindows()
/cts/tests/tests/view/src/android/view/cts/
DGestureDetectorCtsActivity.java42 private ViewGroup mViewGroup; field in GestureDetectorCtsActivity
66 mViewGroup = new ViewGroup(this) { in onCreate()
71 mViewGroup.addView(mView); in onCreate()
72 mViewGroup.addView(mTop); in onCreate()
73 mViewGroup.addView(mButton); in onCreate()
74 mViewGroup.setOnTouchListener(new MockOnTouchListener()); in onCreate()
75 setContentView(mViewGroup); in onCreate()
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java54 private ReferenceViewGroup mViewGroup; field in ThemeDeviceActivity
92 mViewGroup = findViewById(R.id.reference_view_group); in onCreate()
146 mViewGroup.removeAllViews(); in setNextLayout()
151 final LayoutInflater layoutInflater = LayoutInflater.from(mViewGroup.getContext()); in setNextLayout()
152 final View view = layoutInflater.inflate(layout.id, mViewGroup, false); in setNextLayout()
158 mViewGroup.addView(view); in setNextLayout()