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.java58 View view4 = viewGroup.findViewById(R.id.view4); in testPadding() local
83 checkBounds(view4, defaultBounds, 0, 0, insetRight, insetBottom); in testPadding()
DViewAttributeTest.java85 View view4 = rootView.findViewById(R.id.view4); in testGetExplicitStyle() local
86 assertEquals(android.R.style.TextAppearance_Material_Large, view4.getExplicitStyle()); in testGetExplicitStyle()
DViewGroup_MarginLayoutParamsTest.java236 View view4 = viewGroup.findViewById(R.id.view4); in testVerticalHorizontalMargins() local
252 checkBounds(view4, defaultBounds, marginHorizontal, marginVertical, in testVerticalHorizontalMargins()
DView_FocusHandlingTest.java61 View v4 = activity.findViewById(R.id.view4); in testFocusHandling()
88 v2.setNextFocusDownId(R.id.view4); in testFocusHandling()
90 v3.setNextFocusRightId(R.id.view4); in testFocusHandling()
101 assertEquals(R.id.view4, v2.getNextFocusDownId()); in testFocusHandling()
104 assertEquals(R.id.view4, v3.getNextFocusRightId()); in testFocusHandling()
251 View v4 = activity.findViewById(R.id.view4); in testEnabledHandling()
DViewGroup_ScrollCaptureTest.java259 final MockView view4 = new MockView(context, 150, 25, 200, 100, View.INVISIBLE); in testDispatchScrollCaptureSearch_toChildren() local
260 viewGroup.addView(view4); in testDispatchScrollCaptureSearch_toChildren()
295 view4.assertDispatchScrollCaptureSearchCount(0); in testDispatchScrollCaptureSearch_toChildren()
DViewTest.java4184 final MockView view4 = (MockView) mActivity.findViewById(R.id.scroll_view_4); in testScrollbarSize() local
4188 assertEquals(thumbWidth, view4.getVerticalScrollbarWidth()); in testScrollbarSize()
4189 assertEquals(thumbHeight, view4.getHorizontalScrollbarHeight()); in testScrollbarSize()
4191 view4.setScrollBarSize(customScrollbarSize); in testScrollbarSize()
4192 assertEquals(thumbWidth, view4.getVerticalScrollbarWidth()); in testScrollbarSize()
4193 assertEquals(thumbHeight, view4.getHorizontalScrollbarHeight()); in testScrollbarSize()
/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayout_LayoutParamsTest.java129 View view4 = mActivity.findViewById(R.id.relative_view4); in testConstructor() local
130 ViewAsserts.assertRightAligned(view3, view4); in testConstructor()
131 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor()
132 layoutParams = (RelativeLayout.LayoutParams) (view4.getLayoutParams()); in testConstructor()
255 View view4 = mActivity.findViewById(R.id.relative_view24); in testStartEnd() local
256 ViewAsserts.assertRightAligned(view3, view4); in testStartEnd()
257 assertEquals(view3.getTop(), view4.getBottom()); in testStartEnd()
258 layoutParams = (RelativeLayout.LayoutParams) (view4.getLayoutParams()); in testStartEnd()