Home
last modified time | relevance | path

Searched refs:getBottom (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayoutTest.java134 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()
170 int bottomSpace = relativeLayout.getHeight() - view11.getBottom(); 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 …]
DLinearLayoutTest.java368 assertEquals(topView.getHeight(), topView.getBottom()); in testLayoutHorizontal()
374 assertEquals(offset + centerView.getHeight(), centerView.getBottom()); in testLayoutHorizontal()
379 assertEquals(parent.getHeight(), bottomView.getBottom()); in testLayoutHorizontal()
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()
437 assertEquals(parent.getHeight(), rightView.getBottom()); in testLayoutVertical()
472 assertEquals(verticalOffset + leftView.getHeight(), leftView.getBottom()); in testVerticalCenterGravityOnHorizontalLayout()
478 assertEquals(verticalOffset + centerView.getHeight(), centerView.getBottom()); in testVerticalCenterGravityOnHorizontalLayout()
[all …]
DGridViewTest.java318 assertEquals(0, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing()
326 assertEquals(5, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing()
427 assertEquals(child0.getBottom(), child9.getBottom());
434 assertEquals(child0.getBottom(), child9.getTop());
524 assertEquals(child0.getBottom(), child1.getBottom()); in testAccessColumnWidth()
536 assertEquals(child0.getBottom(), child1.getTop()); in testAccessColumnWidth()
DRelativeLayout_LayoutParamsTest.java108 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()
DGridLayoutTest.java108 return (v.getTop() + v.getBottom()) / 2;
120 return v.getBottom();
DAutoCompleteTextViewTest.java708 assertEquals(3, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
715 assertEquals(3, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
722 assertEquals(5, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
DAbsSpinnerTest.java261 mAbsSpinner.getRight(), mAbsSpinner.getBottom()); in testOnSaveAndRestoreInstanceState()
DFrameLayoutTest.java315 int bottomDelta = container.getBottom() - rect.bottom; in assertCenterAligned()
DAbsListView_ScrollTest.java164 (targetChild.getBottom() <= mListView.getHeight()); in onScroll()
DImageViewTest.java519 assertEquals(200, mockImageView.getBottom()); in testSetFrame()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeClipBoundsTest.java56 redSquare.getRight() - 10, redSquare.getBottom() - 10); in testChangeClipBounds()
92 && midClip.bottom < redSquare.getBottom() && midClip.bottom > newClip.bottom; in isMiddleOfClipping()
DChangeBoundsTest.java311 final int aboveSquareBottom = aboveSquare.getBottom(); in validateViewPlacement()
318 belowSquare.getBottom()); in validateViewPlacement()
475 new Rect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); in PositionAndClip()
DTransitionManagerTest.java124 view.getRight(), view.getBottom()); in watchForRedSquareMoving()
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java129 mTopLeft.getBottom()); in testFindNextFocusFromRect()
147 mTopLeft.getBottom() + buttonHalfHeight); in testFindNextFocusFromRect()
184 y = mTopRight.getBottom() / 2; in testFindNearestTouchable()
193 y = mTopLeft.getBottom() + mBottomLeft.getHeight() / 2; in testFindNearestTouchable()
202 y = mTopRight.getBottom() + mBottomRight.getBottom(); in testFindNearestTouchable()
438 mBottomLeft.setBottom(mBottomLeft.getBottom() - 3); in testBasicFocusOrder()
DViewPaddingTest.java69 view1.getBottom()); in testPadding()
101 assertEquals("Bottom", defaultBounds.bottom - insetBottom, view.getBottom()); in checkBounds()
DViewGroup_MarginLayoutParamsTest.java242 view1.getBottom()); in testVerticalHorizontalMargins()
265 assertEquals("Bottom", defaultBounds.bottom - insetBottom, view.getBottom()); in checkBounds()
DView_LayoutPositionTest.java80 assertEquals(bottom, view.getBottom()); in testPositionInParent()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java67 return Bitmap.createBitmap(fullBitmap, 0, activity.getBottom(), activity.getWidth(), in takeNavigationBarScreenshot()
68 fullBitmap.getHeight() - activity.getBottom()); in takeNavigationBarScreenshot()
163 int shiftY = activity.getBottom(); in checkNavigationBarDivider()
DLightBarBaseActivity.java52 public int getBottom() { in getBottom() method in LightBarBaseActivity
DLightBarTests.java112 int y = mActivityRule.getActivity().getBottom() + 10; in testLightNavigationBar()
118 Stats s = evaluateLightBarBitmap(bitmap, Color.RED /* background */, activity.getBottom()); in testLightNavigationBar()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRenderNodeTests.java54 assertEquals(0, renderNode.getBottom()); in testDefaults()
100 assertEquals(rect.bottom, renderNode.getBottom()); in testBasicDraw()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DEnsureBarContrastTest.java285 new Rect(dv.getLeft(), dv.getTop(), dv.getRight(), dv.getBottom()));
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java454 mLastBottom = mLast.getBottom(); in ViewStateSnapshot()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java453 mLastBottom = mLast.getBottom(); in ViewStateSnapshot()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java941 && v.getBottom() == bottom; in verifyCallbackLayoutSurface()

12