/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayoutTest.java | 127 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 135 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 144 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 156 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 163 int topSpace = view10.getTop(); in testAccessGravity() 167 assertEquals(view11.getTop(), view10.getBottom()); in testAccessGravity() 182 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 191 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 202 assertEquals(view11.getTop(), view10.getBottom()); in testSetHorizontalGravity() 217 assertEquals(view11.getTop(), view10.getBottom()); in testSetVerticalGravity() [all …]
|
D | LinearLayoutTest.java | 366 assertEquals(0, topView.getTop()); in testLayoutHorizontal() 372 assertEquals(offset, centerView.getTop()); in testLayoutHorizontal() 377 assertEquals(parent.getHeight() - bottomView.getHeight(), bottomView.getTop()); in testLayoutHorizontal() 424 assertEquals(0, leftView.getTop()); in testLayoutVertical() 425 assertEquals(centerView.getTop(), leftView.getBottom()); in testLayoutVertical() 430 assertEquals(leftView.getBottom(), centerView.getTop()); in testLayoutVertical() 431 assertEquals(rightView.getTop(), centerView.getBottom()); in testLayoutVertical() 435 assertEquals(centerView.getBottom(), rightView.getTop()); in testLayoutVertical() 470 assertEquals(verticalOffset, leftView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() 476 assertEquals(verticalOffset, centerView.getTop()); in testVerticalCenterGravityOnHorizontalLayout() [all …]
|
D | AbsListView_ScrollTest.java | 161 boolean isTargetFullyVisible = (targetChild.getTop() >= 0) && in onScroll() 296 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 333 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 433 mListView.getChildAt(0).getTop(); in verifyScrollBy() 441 mListView.getChildAt(0).getTop(); in verifyScrollBy() 581 result.mFirstViewVerticalOffset = mListView.getChildAt(0).getTop();
|
D | GridLayoutTest.java | 101 return v.getTop(); 107 return (v.getTop() + v.getBottom()) / 2; 113 return v.getTop() + v.getBaseline();
|
D | RelativeLayout_LayoutParamsTest.java | 107 assertEquals(view1.getBottom(), view2.getTop()); in testConstructor() 130 assertEquals(view3.getTop(), view4.getBottom()); in testConstructor() 214 assertEquals(view1.getBottom(), view2.getTop()); in testStartEnd() 256 assertEquals(view3.getTop(), view4.getBottom()); in testStartEnd()
|
D | ScrollViewTest.java | 454 assertEquals(0, child.getTop()); in testFillViewport() 476 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPadding() 501 assertEquals(10, child.getTop()); in testFillViewportWithChildMargins() 522 assertEquals(10, child.getTop()); in testFillViewportWithScrollViewPaddingAlreadyFills() 549 assertEquals(10, child.getTop()); in testFillViewportWithChildMarginsAlreadyFills()
|
D | GridViewTest.java | 325 assertEquals(0, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 333 assertEquals(5, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing() 446 assertEquals(child0.getBottom(), child9.getTop()); 551 assertEquals(child0.getBottom(), child1.getTop()); in testAccessColumnWidth()
|
D | AutoCompleteTextViewTest.java | 447 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 454 assertEquals(1, mMockAutoCompleteTextView.getTop()); in testSetFrame() 461 assertEquals(3, mMockAutoCompleteTextView.getTop()); in testSetFrame()
|
D | AbsSpinnerTest.java | 259 mAbsSpinner.layout(mAbsSpinner.getLeft(), mAbsSpinner.getTop(), in testOnSaveAndRestoreInstanceState()
|
D | FrameLayoutTest.java | 315 int topDelta = rect.top - container.getTop(); in assertCenterAligned()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 208 () -> red.getTop() > closestDistance && green.getTop() > closestDistance); in waitForMiddleOfTransition() 210 assertTrue(red.getTop() > closestDistance); in waitForMiddleOfTransition() 211 assertTrue(green.getTop() > closestDistance); in waitForMiddleOfTransition() 220 return red.getTop() < closestDistance || green.getTop() < closestDistance; in isRestartingAnimation() 252 assertEquals(0, aboveSquare.getTop()); in validateViewPlacement() 259 assertWithinAPixel(aboveSquareBottom, belowSquare.getTop()); in validateViewPlacement()
|
D | ChangeClipBoundsTest.java | 54 final Rect newClip = new Rect(redSquare.getLeft() + 10, redSquare.getTop() + 10, in testChangeClipBounds()
|
D | TransitionManagerTest.java | 100 final Rect position = new Rect(view.getLeft(), view.getTop(), view.getRight(), in ensureRedSquareIsMoving() 111 nextArr[0] = new Rect(view.getLeft(), view.getTop(), view.getRight(), in ensureRedSquareIsMoving()
|
D | TransitionTest.java | 492 transitionValues.values.put(TOP, transitionValues.view.getTop()); in testPropagation() 506 int diffTop = greenSquare.getTop() - redSquare.getTop(); in testPropagation()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarBaseActivity.java | 41 public int getTop() { in getTop() method in LightBarBaseActivity
|
D | LightBarTestBase.java | 45 return Bitmap.createBitmap(fullBitmap, 0, 0, activity.getWidth(), activity.getTop()); in takeStatusBarScreenshot()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 233 assertThat(doubleNestedView.getTop()).isEqualTo( in checkViewLocationInAssistStructure() 243 assertThat(tripleNestedView.getTop()).isEqualTo(23); // doubleNestedView.top in checkViewLocationInAssistStructure() 268 assertThat(nestedView.getTop()).isEqualTo(2); // outerView.top in checkViewLocationInAssistStructureAfterForceAutofill() 280 assertThat(doubleNestedView.getTop()).isEqualTo(11); // nestedView.top in checkViewLocationInAssistStructureAfterForceAutofill()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewPaddingTest.java | 67 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testPadding() 98 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | ViewGroup_MarginLayoutParamsTest.java | 240 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testVerticalHorizontalMargins() 262 assertEquals("Top", defaultBounds.top + insetTop, view.getTop()); in checkBounds()
|
D | View_LayoutPositionTest.java | 77 assertEquals(top, view.getTop()); in testPositionInParent()
|
D | View_FocusHandlingTest.java | 535 but.setBottom(but.getTop() + 10); in testFocusAfterDescendantsTransfer()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 280 assertEquals("Window top position wrong: was " + windowNode.getTop(), in verifyHierarchy() 281 windowNode.getTop(), appLocationOnScreen[1]); in verifyHierarchy() 423 assertEquals("Top positions do not match.", parentView.getTop(), parentNode.getTop()); in verifyViewProperties()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LocationInWindowTests.java | 126 expected[1] += v.getTop(); in assertThatViewGetLocationInWindowIsCorrect()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 97 offsetY += view.getTop(); in getCombinedBackgroundBitmap()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 417 mFirstTop = mFirst.getTop(); in ViewStateSnapshot()
|