/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayoutTest.java | 134 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 141 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 150 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 162 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 169 int topSpace = view10.getTop(); in testAccessGravity() 173 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 188 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 197 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 207 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 222 assertEquals(view11.getTop(), view10.getBottom()); in testSetVerticalGravity() [all …]
|
D | LinearLayoutTest.java | 367 assertEquals(0, topView.getTop()); in testLayoutHorizontal() 373 assertEquals(offset, centerView.getTop()); in testLayoutHorizontal() 378 assertEquals(parent.getHeight() - bottomView.getHeight(), bottomView.getTop()); in testLayoutHorizontal() 425 assertEquals(0, leftView.getTop()); in testLayoutVertical() 426 assertEquals(centerView.getTop(), leftView.getBottom()); in testLayoutVertical() 431 assertEquals(leftView.getBottom(), centerView.getTop()); in testLayoutVertical() 432 assertEquals(rightView.getTop(), centerView.getBottom()); in testLayoutVertical() 436 assertEquals(centerView.getBottom(), rightView.getTop()); in testLayoutVertical() 471 assertEquals(verticalOffset, leftView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() 477 assertEquals(verticalOffset, centerView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() [all …]
|
D | AbsListView_ScrollTest.java | 163 boolean isTargetFullyVisible = (targetChild.getTop() >= 0) && in onScroll() 298 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 335 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 435 mListView.getChildAt(0).getTop(); in verifyScrollBy() 443 mListView.getChildAt(0).getTop(); in verifyScrollBy() 584 result.mFirstViewVerticalOffset = mListView.getChildAt(0).getTop();
|
D | GridLayoutTest.java | 102 return v.getTop(); 108 return (v.getTop() + v.getBottom()) / 2; 114 return v.getTop() + v.getBaseline();
|
D | ScrollViewTest.java | 457 assertEquals(0, child.getTop()); in testFillViewport() 479 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPadding() 504 assertEquals(10, child.getTop()); in testFillViewportWithChildMargins() 525 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPaddingAlreadyFills() 552 assertEquals(10, child.getTop()); in testFillViewportWithChildMarginsAlreadyFills()
|
D | RelativeLayout_LayoutParamsTest.java | 108 assertEquals(view1.getBottom(), view2.getTop()); in testConstructor() 131 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor() 215 assertEquals(view1.getBottom(), view2.getTop()); in testStartEnd() 257 assertEquals(view3.getTop(), view4.getBottom()); in testStartEnd()
|
D | GridViewTest.java | 318 assertEquals(0, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 326 assertEquals(5, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 434 assertEquals(child0.getBottom(), child9.getTop()); 536 assertEquals(child0.getBottom(), child1.getTop()); in testAccessColumnWidth()
|
D | AutoCompleteTextViewTest.java | 706 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 713 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 720 assertEquals(3, mMockAutoCompleteTextView.getTop()); in testSetFrame()
|
D | AbsSpinnerTest.java | 260 mAbsSpinner.layout(mAbsSpinner.getLeft(), mAbsSpinner.getTop(), in testOnSaveAndRestoreInstanceState()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 238 assertThat(doubleNestedView.getTop()).isEqualTo( 248 assertThat(tripleNestedView.getTop()).isEqualTo(23); // doubleNestedView.top 273 assertThat(nestedView.getTop()).isEqualTo(2); // outerView.top 285 assertThat(doubleNestedView.getTop()).isEqualTo(11); // nestedView.top
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarBaseActivity.java | 48 public int getTop() { in getTop() method in LightBarBaseActivity
|
D | LightBarTestBase.java | 62 return Bitmap.createBitmap(fullBitmap, 0, 0, activity.getWidth(), activity.getTop()); in takeStatusBarScreenshot()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewPaddingTest.java | 68 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testPadding() 99 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | ViewGroup_MarginLayoutParamsTest.java | 241 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testVerticalHorizontalMargins() 263 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | View_LayoutPositionTest.java | 78 assertEquals(top, view.getTop()); in testPositionInParent()
|
D | FocusFinderTest.java | 127 mTopLeft.getTop(), in testFindNextFocusFromRect() 145 mTopLeft.getTop() + buttonHalfHeight, in testFindNextFocusFromRect()
|
/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 | 380 assertEquals("Window top position wrong: was " + windowNode.getTop(), in verifyHierarchy() 381 windowNode.getTop(), appLocationOnScreen[1]); in verifyHierarchy() 529 assertEquals("Top positions do not match.", parentView.getTop(), parentNode.getTop()); in verifyViewProperties()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | RenderNodeTests.java | 53 assertEquals(0, renderNode.getTop()); in testDefaults() 98 assertEquals(rect.top, renderNode.getTop()); in testBasicDraw()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LocationInWindowTests.java | 124 expected[1] += v.getTop(); in assertThatViewGetLocationInWindowIsCorrect()
|
D | EnsureBarContrastTest.java | 285 new Rect(dv.getLeft(), dv.getTop(), dv.getRight(), dv.getBottom()));
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 97 offsetY += view.getTop(); in getCombinedBackgroundBitmap()
|