/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayoutTest.java | 142 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 149 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 158 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 170 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 177 int topSpace = view10.getTop(); in testAccessGravity() 181 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 196 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 205 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 215 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 230 assertEquals(view11.getTop(), view10.getBottom()); in testSetVerticalGravity() [all …]
|
D | LinearLayoutTest.java | 376 assertEquals(0, topView.getTop()); in testLayoutHorizontal() 382 assertEquals(offset, centerView.getTop()); in testLayoutHorizontal() 387 assertEquals(parent.getHeight() - bottomView.getHeight(), bottomView.getTop()); in testLayoutHorizontal() 434 assertEquals(0, leftView.getTop()); in testLayoutVertical() 435 assertEquals(centerView.getTop(), leftView.getBottom()); in testLayoutVertical() 440 assertEquals(leftView.getBottom(), centerView.getTop()); in testLayoutVertical() 441 assertEquals(rightView.getTop(), centerView.getBottom()); in testLayoutVertical() 445 assertEquals(centerView.getBottom(), rightView.getTop()); in testLayoutVertical() 480 assertEquals(verticalOffset, leftView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() 486 assertEquals(verticalOffset, centerView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() [all …]
|
D | AbsListView_ScrollTest.java | 172 boolean isTargetFullyVisible = (targetChild.getTop() >= 0) && in onScroll() 307 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 344 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 444 mListView.getChildAt(0).getTop(); in verifyScrollBy() 452 mListView.getChildAt(0).getTop(); in verifyScrollBy() 593 result.mFirstViewVerticalOffset = mListView.getChildAt(0).getTop();
|
D | GridLayoutTest.java | 105 return v.getTop(); 111 return (v.getTop() + v.getBottom()) / 2; 117 return v.getTop() + v.getBaseline();
|
D | RelativeLayout_LayoutParamsTest.java | 117 assertEquals(view1.getBottom(), view2.getTop()); in testConstructor() 140 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor() 224 assertEquals(view1.getBottom(), view2.getTop()); in testStartEnd() 266 assertEquals(view3.getTop(), view4.getBottom()); in testStartEnd()
|
D | GridViewTest.java | 328 assertEquals(0, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 336 assertEquals(5, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 444 assertEquals(child0.getBottom(), child9.getTop()); 546 assertEquals(child0.getBottom(), child1.getTop()); in testAccessColumnWidth()
|
D | ScrollViewTest.java | 499 assertEquals(0, child.getTop()); in testFillViewport() 521 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPadding() 546 assertEquals(10, child.getTop()); in testFillViewportWithChildMargins() 567 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPaddingAlreadyFills() 594 assertEquals(10, child.getTop()); in testFillViewportWithChildMarginsAlreadyFills()
|
D | AbsSpinnerTest.java | 269 mAbsSpinner.layout(mAbsSpinner.getLeft(), mAbsSpinner.getTop(), in testOnSaveAndRestoreInstanceState()
|
D | AutoCompleteTextViewTest.java | 713 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 720 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 727 assertEquals(3, mMockAutoCompleteTextView.getTop()); in testSetFrame()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 242 assertThat(doubleNestedView.getTop()).isEqualTo( 252 assertThat(tripleNestedView.getTop()).isEqualTo(23); // doubleNestedView.top 277 assertThat(nestedView.getTop()).isEqualTo(2); // outerView.top 289 assertThat(doubleNestedView.getTop()).isEqualTo(11); // nestedView.top
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarBaseActivity.java | 52 public int getTop() { in getTop() method in LightBarBaseActivity
|
D | LightBarTestBase.java | 57 activity.getWidth(), activity.getTop()); in takeStatusBarScreenshot()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | UiScalingTestActivity.java | 101 new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom())); in handleCommand() 104 new Rect(t.getLeft(), t.getTop(), t.getRight(), t.getBottom())); in handleCommand()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewPaddingTest.java | 70 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testPadding() 101 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | ViewGroup_MarginLayoutParamsTest.java | 243 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testVerticalHorizontalMargins() 265 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | View_LayoutPositionTest.java | 89 assertEquals(top, view.getTop()); in testPositionInParent()
|
D | FocusFinderTest.java | 138 mTopLeft.getTop(), in testFindNextFocusFromRect() 156 mTopLeft.getTop() + buttonHalfHeight, in testFindNextFocusFromRect()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | AlphaTestView.java | 69 canvas.drawRect(getLeft(), getTop(), getRight(), getBottom(), mPaint); in onDraw()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeClipBoundsTest.java | 55 final Rect newClip = new Rect(redSquare.getLeft() + 10, redSquare.getTop() + 10, in testChangeClipBounds()
|
D | ChangeBoundsTest.java | 309 assertEquals(0, aboveSquare.getTop()); in validateViewPlacement() 316 assertWithinAPixel(aboveSquareBottom, belowSquare.getTop()); in validateViewPlacement() 475 new Rect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); in PositionAndClip()
|
D | TransitionTest.java | 523 transitionValues.values.put(TOP, transitionValues.view.getTop()); in testPropagation() 537 int diffTop = greenSquare.getTop() - redSquare.getTop(); in testPropagation()
|
D | TransitionManagerTest.java | 123 Rect nextPosition = new Rect(view.getLeft(), view.getTop(), in watchForRedSquareMoving()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 463 assertWithMessage("Window top position wrong: was %s", windowNode.getTop()) in verifyHierarchy() 464 .that(appLocationOnScreen[1]).isEqualTo(windowNode.getTop()); in verifyHierarchy() 618 assertWithMessage("Top positions do not match").that(parentNode.getTop()) in verifyViewProperties() 619 .isEqualTo(parentView.getTop()); in verifyViewProperties()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | LocationInWindowTests.java | 130 expected[1] += v.getTop(); in assertThatViewGetLocationInWindowIsCorrect()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | EnsureBarContrastTest.java | 301 new Rect(dv.getLeft(), dv.getTop(), dv.getRight(), dv.getBottom()));
|