Home
last modified time | relevance | path

Searched refs:view3 (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayout_LayoutParamsTest.java126 View view3 = mActivity.findViewById(R.id.relative_view3); in testConstructor() local
127 ViewAsserts.assertTopAligned(view1, view3); in testConstructor()
128 ViewAsserts.assertBottomAligned(view2, view3); in testConstructor()
129 assertEquals(view1.getRight(), view3.getLeft()); in testConstructor()
130 layoutParams = (RelativeLayout.LayoutParams) (view3.getLayoutParams()); in testConstructor()
139 ViewAsserts.assertRightAligned(view3, view4); in testConstructor()
140 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor()
190 ViewAsserts.assertTopAligned(view3, view9); in testConstructor()
191 ViewAsserts.assertBottomAligned(view3, view9); in testConstructor()
242 View view3 = mActivity.findViewById(R.id.relative_view23); in testStartEnd() local
[all …]
DLinearLayoutTest.java1273 assertEquals(parent.getWidth(), mActivity.findViewById(R.id.view3).getWidth()); in testZeroWeightDistributionHorizontal()
1286 assertEquals(parent.getHeight(), mActivity.findViewById(R.id.view3).getHeight()); in testZeroWeightDistributionVertical()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_ScrollCaptureTest.java256 final MockView view3 = new MockView(context, 0, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren() local
257 view3.setScrollCaptureCallback(view3Callback); in testDispatchScrollCaptureSearch_toChildren()
258 viewGroup.addView(view3); in testDispatchScrollCaptureSearch_toChildren()
292 view3.assertDispatchScrollCaptureSearchCount(1); in testDispatchScrollCaptureSearch_toChildren()
293 view3.assertDispatchScrollCaptureSearchLastArgs( in testDispatchScrollCaptureSearch_toChildren()
349 final MockViewGroup view3 = new MockViewGroup(context, 0, 100, 200, 300); in testOnScrollCaptureSearch_withPadding() local
350 parent.addView(view3); in testOnScrollCaptureSearch_withPadding()
351 view3.setPadding(25, 25, 25, 25); in testOnScrollCaptureSearch_withPadding()
352 view3.setClipToPadding(true); in testOnScrollCaptureSearch_withPadding()
370 view3.assertOnScrollCaptureSearchLastArgs( in testOnScrollCaptureSearch_withPadding()
DViewSourceLayoutTest.java60 View view3 = new View(activity); in testGetSourceLayout() local
61 assertEquals(Resources.ID_NULL, view3.getSourceLayoutResId()); in testGetSourceLayout()
DViewPaddingTest.java59 View view3 = viewGroup.findViewById(R.id.view3); in testPadding() local
84 checkBounds(view3, defaultBounds, insetLeft, insetTop, 0, 0); in testPadding()
DViewAttributeTest.java100 View view3 = rootView.findViewById(R.id.view3); in testGetExplicitStyle() local
101 assertEquals(Resources.ID_NULL, view3.getExplicitStyle()); in testGetExplicitStyle()
DViewGroup_MarginLayoutParamsTest.java237 View view3 = viewGroup.findViewById(R.id.view3); in testVerticalHorizontalMargins() local
253 checkBounds(view3, defaultBounds, 0, marginVertical, 0, marginVertical); in testVerticalHorizontalMargins()
DView_FocusHandlingTest.java71 View v3 = activity.findViewById(R.id.view3); in testFocusHandling()
96 v1.setNextFocusDownId(R.id.view3); in testFocusHandling()
104 v4.setNextFocusLeftId(R.id.view3); in testFocusHandling()
109 assertEquals(R.id.view3, v1.getNextFocusDownId()); in testFocusHandling()
118 assertEquals(R.id.view3, v4.getNextFocusLeftId()); in testFocusHandling()
261 View v3 = activity.findViewById(R.id.view3); in testEnabledHandling()
DViewTest.java4318 final MockView view3 = (MockView) mActivity.findViewById(R.id.scroll_view_3); in testScrollbarSize() local
4319 assertEquals(configScrollbarSize, view3.getVerticalScrollbarWidth()); in testScrollbarSize()
4320 assertEquals(configScrollbarSize, view3.getHorizontalScrollbarHeight()); in testScrollbarSize()
4322 view3.setScrollBarSize(customScrollbarSize); in testScrollbarSize()
4323 assertEquals(view3.getScrollBarSize(), view3.getVerticalScrollbarWidth()); in testScrollbarSize()
4324 assertEquals(view3.getScrollBarSize(), view3.getHorizontalScrollbarHeight()); in testScrollbarSize()