Searched refs:view3 (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayout_LayoutParamsTest.java | 117 View view3 = mActivity.findViewById(R.id.relative_view3); in testConstructor() local 118 ViewAsserts.assertTopAligned(view1, view3); in testConstructor() 119 ViewAsserts.assertBottomAligned(view2, view3); in testConstructor() 120 assertEquals(view1.getRight(), view3.getLeft()); in testConstructor() 121 layoutParams = (RelativeLayout.LayoutParams) (view3.getLayoutParams()); in testConstructor() 130 ViewAsserts.assertRightAligned(view3, view4); in testConstructor() 131 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor() 181 ViewAsserts.assertTopAligned(view3, view9); in testConstructor() 182 ViewAsserts.assertBottomAligned(view3, view9); in testConstructor() 233 View view3 = mActivity.findViewById(R.id.relative_view23); in testStartEnd() local [all …]
|
D | LinearLayoutTest.java | 1230 assertEquals(parent.getWidth(), mActivity.findViewById(R.id.view3).getWidth()); in testZeroWeightDistributionHorizontal() 1243 assertEquals(parent.getHeight(), mActivity.findViewById(R.id.view3).getHeight()); in testZeroWeightDistributionVertical()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_ScrollCaptureTest.java | 254 final MockView view3 = new MockView(context, 0, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren() local 255 view3.setScrollCaptureCallback(view3Callback); in testDispatchScrollCaptureSearch_toChildren() 256 viewGroup.addView(view3); in testDispatchScrollCaptureSearch_toChildren() 290 view3.assertDispatchScrollCaptureSearchCount(1); in testDispatchScrollCaptureSearch_toChildren() 291 view3.assertDispatchScrollCaptureSearchLastArgs( in testDispatchScrollCaptureSearch_toChildren() 347 final MockViewGroup view3 = new MockViewGroup(context, 0, 100, 200, 300); in testOnScrollCaptureSearch_withPadding() local 348 parent.addView(view3); in testOnScrollCaptureSearch_withPadding() 349 view3.setPadding(25, 25, 25, 25); in testOnScrollCaptureSearch_withPadding() 350 view3.setClipToPadding(true); in testOnScrollCaptureSearch_withPadding() 368 view3.assertOnScrollCaptureSearchLastArgs( in testOnScrollCaptureSearch_withPadding()
|
D | ViewSourceLayoutTest.java | 49 View view3 = new View(activity); in testGetSourceLayout() local 50 assertEquals(Resources.ID_NULL, view3.getSourceLayoutResId()); in testGetSourceLayout()
|
D | ViewAttributeTest.java | 82 View view3 = rootView.findViewById(R.id.view3); in testGetExplicitStyle() local 83 assertEquals(Resources.ID_NULL, view3.getExplicitStyle()); in testGetExplicitStyle()
|
D | ViewPaddingTest.java | 57 View view3 = viewGroup.findViewById(R.id.view3); in testPadding() local 82 checkBounds(view3, defaultBounds, insetLeft, insetTop, 0, 0); in testPadding()
|
D | ViewGroup_MarginLayoutParamsTest.java | 235 View view3 = viewGroup.findViewById(R.id.view3); in testVerticalHorizontalMargins() local 251 checkBounds(view3, defaultBounds, 0, marginVertical, 0, marginVertical); in testVerticalHorizontalMargins()
|
D | View_FocusHandlingTest.java | 60 View v3 = activity.findViewById(R.id.view3); in testFocusHandling() 85 v1.setNextFocusDownId(R.id.view3); in testFocusHandling() 93 v4.setNextFocusLeftId(R.id.view3); in testFocusHandling() 98 assertEquals(R.id.view3, v1.getNextFocusDownId()); in testFocusHandling() 107 assertEquals(R.id.view3, v4.getNextFocusLeftId()); in testFocusHandling() 250 View v3 = activity.findViewById(R.id.view3); in testEnabledHandling()
|
D | ViewTest.java | 4179 final MockView view3 = (MockView) mActivity.findViewById(R.id.scroll_view_3); in testScrollbarSize() local 4180 assertEquals(configScrollbarSize, view3.getVerticalScrollbarWidth()); in testScrollbarSize() 4181 assertEquals(configScrollbarSize, view3.getHorizontalScrollbarHeight()); in testScrollbarSize() 4183 view3.setScrollBarSize(customScrollbarSize); in testScrollbarSize() 4184 assertEquals(view3.getScrollBarSize(), view3.getVerticalScrollbarWidth()); in testScrollbarSize() 4185 assertEquals(view3.getScrollBarSize(), view3.getHorizontalScrollbarHeight()); in testScrollbarSize()
|