Home
last modified time | relevance | path

Searched refs:view4 (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewPaddingTest.java60 View view4 = viewGroup.findViewById(R.id.view4); in testPadding() local
85 checkBounds(view4, defaultBounds, 0, 0, insetRight, insetBottom); in testPadding()
DViewAttributeTest.java103 View view4 = rootView.findViewById(R.id.view4); in testGetExplicitStyle() local
104 assertEquals(android.R.style.TextAppearance_Material_Large, view4.getExplicitStyle()); in testGetExplicitStyle()
DViewGroup_MarginLayoutParamsTest.java238 View view4 = viewGroup.findViewById(R.id.view4); in testVerticalHorizontalMargins() local
254 checkBounds(view4, defaultBounds, marginHorizontal, marginVertical, in testVerticalHorizontalMargins()
DView_FocusHandlingTest.java72 View v4 = activity.findViewById(R.id.view4); in testFocusHandling()
99 v2.setNextFocusDownId(R.id.view4); in testFocusHandling()
101 v3.setNextFocusRightId(R.id.view4); in testFocusHandling()
112 assertEquals(R.id.view4, v2.getNextFocusDownId()); in testFocusHandling()
115 assertEquals(R.id.view4, v3.getNextFocusRightId()); in testFocusHandling()
262 View v4 = activity.findViewById(R.id.view4); in testEnabledHandling()
DViewGroup_ScrollCaptureTest.java261 final MockView view4 = new MockView(context, 150, 25, 200, 100, View.INVISIBLE); in testDispatchScrollCaptureSearch_toChildren() local
262 viewGroup.addView(view4); in testDispatchScrollCaptureSearch_toChildren()
297 view4.assertDispatchScrollCaptureSearchCount(0); in testDispatchScrollCaptureSearch_toChildren()
DViewTest.java4327 final MockView view4 = (MockView) mActivity.findViewById(R.id.scroll_view_4); in testScrollbarSize() local
4331 assertEquals(thumbWidth, view4.getVerticalScrollbarWidth()); in testScrollbarSize()
4332 assertEquals(thumbHeight, view4.getHorizontalScrollbarHeight()); in testScrollbarSize()
4334 view4.setScrollBarSize(customScrollbarSize); in testScrollbarSize()
4335 assertEquals(thumbWidth, view4.getVerticalScrollbarWidth()); in testScrollbarSize()
4336 assertEquals(thumbHeight, view4.getHorizontalScrollbarHeight()); in testScrollbarSize()
/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayout_LayoutParamsTest.java138 View view4 = mActivity.findViewById(R.id.relative_view4); in testConstructor() local
139 ViewAsserts.assertRightAligned(view3, view4); in testConstructor()
140 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor()
141 layoutParams = (RelativeLayout.LayoutParams) (view4.getLayoutParams()); in testConstructor()
264 View view4 = mActivity.findViewById(R.id.relative_view24); in testStartEnd() local
265 ViewAsserts.assertRightAligned(view3, view4); in testStartEnd()
266 assertEquals(view3.getTop(), view4.getBottom()); in testStartEnd()
267 layoutParams = (RelativeLayout.LayoutParams) (view4.getLayoutParams()); in testStartEnd()