Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayoutTest.java127 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()
164 int bottomSpace = relativeLayout.getHeight() - view11.getBottom(); 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 …]
DLinearLayoutTest.java367 assertEquals(topView.getHeight(), topView.getBottom()); in testLayoutHorizontal()
373 assertEquals(offset + centerView.getHeight(), centerView.getBottom()); in testLayoutHorizontal()
378 assertEquals(parent.getHeight(), bottomView.getBottom()); in testLayoutHorizontal()
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()
436 assertEquals(parent.getHeight(), rightView.getBottom()); in testLayoutVertical()
471 assertEquals(verticalOffset + leftView.getHeight(), leftView.getBottom()); in testVerticalCenterGravityOnHorizontalLayout()
477 assertEquals(verticalOffset + centerView.getHeight(), centerView.getBottom()); in testVerticalCenterGravityOnHorizontalLayout()
[all …]
DGridViewTest.java325 assertEquals(0, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing()
333 assertEquals(5, child1.getTop() - child0.getBottom()); in testAccessVerticalSpacing()
439 assertEquals(child0.getBottom(), child9.getBottom());
446 assertEquals(child0.getBottom(), child9.getTop());
538 assertEquals(child0.getBottom(), child1.getBottom()); in testAccessColumnWidth()
551 assertEquals(child0.getBottom(), child1.getTop()); in testAccessColumnWidth()
DGridLayoutTest.java107 return (v.getTop() + v.getBottom()) / 2;
119 return v.getBottom();
DRelativeLayout_LayoutParamsTest.java107 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()
DAutoCompleteTextViewTest.java449 assertEquals(3, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
456 assertEquals(3, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
463 assertEquals(5, mMockAutoCompleteTextView.getBottom()); in testSetFrame()
DAbsSpinnerTest.java260 mAbsSpinner.getRight(), mAbsSpinner.getBottom()); in testOnSaveAndRestoreInstanceState()
DFrameLayoutTest.java316 int bottomDelta = container.getBottom() - rect.bottom; in assertCenterAligned()
DAbsListView_ScrollTest.java162 (targetChild.getBottom() <= mListView.getHeight()); in onScroll()
DImageViewTest.java494 assertEquals(200, mockImageView.getBottom()); in testSetFrame()
DAbsListViewTest.java415 assertEquals(v.getBottom(), r.bottom); in testAccessSelector()
DTextViewTest.java4782 assertEquals(480, textView.getBottom()); in testSetFrame()
4792 assertEquals(-1, textView.getBottom()); in testSetFrame()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeClipBoundsTest.java55 redSquare.getRight() - 10, redSquare.getBottom() - 10); in testChangeClipBounds()
91 && midClip.bottom < redSquare.getBottom() && midClip.bottom > newClip.bottom; in isMiddleOfClipping()
DTransitionManagerTest.java101 view.getBottom()); in ensureRedSquareIsMoving()
112 view.getBottom()); in ensureRedSquareIsMoving()
DChangeBoundsTest.java254 final int aboveSquareBottom = aboveSquare.getBottom(); in validateViewPlacement()
261 belowSquare.getBottom()); in validateViewPlacement()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java45 public int getBottom() { in getBottom() method in LightBarBaseActivity
DLightBarTestBase.java50 return Bitmap.createBitmap(fullBitmap, 0, activity.getBottom(), activity.getWidth(), in takeNavigationBarScreenshot()
51 fullBitmap.getHeight() - activity.getBottom()); in takeNavigationBarScreenshot()
DLightBarTests.java112 int y = mActivityRule.getActivity().getBottom() + 10; in testLightNavigationBar()
/cts/tests/tests/view/src/android/view/cts/
DViewPaddingTest.java68 view1.getBottom()); in testPadding()
100 assertEquals("Bottom", defaultBounds.bottom - insetBottom, view.getBottom()); in checkBounds()
DFocusFinderTest.java180 y = mTopRight.getBottom() / 2; in testFindNearestTouchable()
189 y = mTopLeft.getBottom() + mBottomLeft.getHeight() / 2; in testFindNearestTouchable()
198 y = mTopRight.getBottom() + mBottomRight.getBottom(); in testFindNearestTouchable()
434 mBottomLeft.setBottom(mBottomLeft.getBottom() - 3); in testBasicFocusOrder()
DViewGroup_MarginLayoutParamsTest.java241 view1.getBottom()); in testVerticalHorizontalMargins()
264 assertEquals("Bottom", defaultBounds.bottom - insetBottom, view.getBottom()); in checkBounds()
DView_LayoutPositionTest.java79 assertEquals(bottom, view.getBottom()); in testPositionInParent()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java418 mLastBottom = mLast.getBottom(); in ViewStateSnapshot()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java941 && v.getBottom() == bottom; in verifyCallbackLayoutSurface()