Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsTallerThanScreenTest.java48 …final int amountOffScreen = mListView.getChildAt(0).getBottom() - (mListView.getBottom() - mListVi… in testPreconditions()
62 view.getBottom() > mListView.getBottom()); in testScrollDownAcrossItem()
80 assertEquals(view.getBottom(), peekingView.getTop()); in testScrollDownAcrossItem()
155 assertEquals(realBottom, mListView.getSelectedView().getBottom()); in testScrollDownToLastItem()
186 int realBottom = mListView.getBottom() - mListView.getListPaddingBottom(); in getNumDownPressesToScrollDownAcrossSelected()
188 selected.getBottom() > realBottom); in getNumDownPressesToScrollDownAcrossSelected()
192 int pixelsOffScreen = selected.getBottom() - realBottom; in getNumDownPressesToScrollDownAcrossSelected()
DListOfItemsShorterThanScreenTest.java55 final int secondPosition = mListView.getSelectedView().getBottom(); in testMoveDownToOnScreenNextItem()
82 lastItem.getBottom() > mListView.getBottom()); in testMoveDownToItemRequiringScrolling()
92 mListView.getSelectedView().getBottom()); in testMoveDownToItemRequiringScrolling()
154 mListView.getSelectedView().getBottom()); in testNoVerticalFadingEdgeWhenMovingToBottom()
DListLastItemPartiallyVisibleTest.java49 lastChild.getBottom() > mListBottom); in testPreconditions()
57 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll()
60 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
DListWithOffScreenNextSelectableTest.java68 listBottom - mListView.getVerticalFadingEdgeLength(), lastVisibleView.getBottom()); in testGoDownToOffScreenSelectable()
77 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoDownToOffScreenSelectable()
89 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoUpToOffScreenSelectable()
DListItemsExpandOnSelectionTest.java72 final int oldBottom = mListView.getSelectedView().getBottom(); in testMoveSelectionUpNotRequiringScroll()
79 mListView.getChildAt(1).getBottom()); in testMoveSelectionUpNotRequiringScroll()
96 mListView.getSelectedView().getBottom()); in testMoveSelectionDownRequiringScroll()
DListOfShortShortTallShortShortTest.java67 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeTopTwoItemsOut()
91 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); in testFadeInTwoBottomItems()
110 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeOutBottomTwoItems()
DListOfThinItemsTest.java74 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom()
78 lastChild.getBottom() >= listBottom); in testScrollToBottom()
121 lastChild.getBottom() >= listBottom); in testScrollToTop()
DListOfShortTallShortTest.java72 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall()
78 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java90 bottom = Math.max(bottom, rootOffsetY + child.getBottom()); in draw()
105 if (v.getTop() <= 0 && v.getBottom() >= height in draw()
110 if (v.getTop() <= 0 && v.getBottom() >= height in draw()
115 if (v.getTop() <= 0 && v.getBottom() >= top in draw()
120 if (v.getTop() <= bottom && v.getBottom() >= height in draw()
125 eachBarCoversTopInY &= v.getTop() <= 0 && v.getBottom() >= top; in draw()
DActionBarContainer.java97 mActionBarView.getRight(), mActionBarView.getBottom()); in setPrimaryBackground()
115 mTabContainer.getRight(), mTabContainer.getBottom()); in setStackedBackground()
340 mActionBarView.getRight(), mActionBarView.getBottom()); in onLayout()
344 mActionContextView.getRight(), mActionContextView.getBottom()); in onLayout()
353 tabContainer.getRight(), tabContainer.getBottom()); in onLayout()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemRequestRectAboveThinFirstItemTest.java47 mListView.getChildAt(0).getBottom() < mListView.getVerticalFadingEdgeLength()); in testPreconditions()
64 rect.offset(0, -2 * second.getBottom()); in testSecondItemRequestRectAboveTop()
90 2 * (mListView.getBottom() - secondToLast.getTop())); in testSecondToLastItemRequestRectBelowBottom()
99 mListView.getChildAt(mListView.getChildCount() - 1).getBottom()); in testSecondToLastItemRequestRectBelowBottom()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchStackFromBottomTest.java66 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
83 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown()
100 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPushUpFast()
117 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPullDownFast()
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
DPercentRelativeTest.java131 final int childBottom = childToTest.getBottom(); in testBottomChild()
152 final int childBottom = childToTest.getBottom(); in testRightChild()
167 final int childBottom = childToTest.getBottom(); in testCenterChild()
175 topChild.getBottom() + 0.1f * mContainerHeight, childTop); in testCenterChild()
DPercentRelativeRtlTest.java126 mPercentRelativeLayout.getBottom()); in switchToRtl()
222 final int childBottom = childToTest.getBottom(); in testBottomChild()
255 final int childBottom = childToTest.getBottom(); in testEndChild()
276 final int childBottom = childToTest.getBottom(); in testCenterChild()
286 topChild.getBottom() + 0.1f * mContainerHeight, childTop); in testCenterChild()
DPercentFrameTest.java95 int childBottom = childToTest.getBottom(); in testMarginsSingle()
114 int childBottom = childToTest.getBottom(); in testMarginsMultiple()
152 int childBottom = childToTest.getBottom(); in testMarginsBottomRight()
192 mPercentFrameLayout.getBottom()); in testMarginStartRtl()
234 mPercentFrameLayout.getBottom()); in testMarginEndRtl()
/frameworks/base/core/java/android/widget/
DListView.java305 delta = child.getBottom() - (getHeight() - mListPadding.bottom); in adjustViewsUpOrDown()
648 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in showingBottomFadingEdge()
680 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in requestChildRectangleOnScreen()
748 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight : in fillGap()
788 nextTop = child.getBottom() + mDividerHeight; in fillDown()
898 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
900 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
932 if (sel.getBottom() > bottomSelectionPixel) { in fillFromSelection()
939 final int spaceBelow = sel.getBottom() - bottomSelectionPixel; in fillFromSelection()
951 final int spaceBelow = bottomSelectionPixel - sel.getBottom(); in fillFromSelection()
[all …]
DGridView.java267 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop; in fillGap()
319 nextTop = mReferenceView.getBottom() + mVerticalSpacing; in fillDown()
486 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection()
493 final int offset = bottomSelectionPixel - referenceView.getBottom(); in fillSelection()
497 fillDown(rowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection()
517 final int bottom = getChildAt(count - 1).getBottom(); in pinToBottom()
533 if (y <= getChildAt(i).getBottom()) { in findMotionRow()
592 … below = fillDown(motionRowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific()
599 … below = fillDown(motionRowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific()
626 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java49 mTmpRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
75 rect.set(tv.getLeft(), tv.getTop(), tv.getRight(), tv.getBottom()); in fillIn()
131 ((int) rect.top != v.getTop()) || ((int) rect.bottom != v.getBottom()); in hasRectChangedFrom()
176 Rect fromViewRect = new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in applyToTaskView()
/frameworks/support/transition/src/androidTest/java/androidx/transition/
DChangeClipBoundsTest.java49 redSquare.getRight() - 10, redSquare.getBottom() - 10); in testChangeClipBounds()
69 assertTrue(midClip.bottom < redSquare.getBottom() in testChangeClipBounds()
102 assertTrue(midClip.bottom < redSquare.getBottom() in testChangeClipBounds()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DTallTextAboveButtonTest.java59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityTest.java72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown()
91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
DListTouchManyTest.java90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
107 && (child.getBottom() <= in testPress()
135 && (child.getBottom() <= in testLongPress()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionBarContainer.java98 mActionBarView.getRight(), mActionBarView.getBottom()); in setPrimaryBackground()
116 mTabContainer.getRight(), mTabContainer.getBottom()); in setStackedBackground()
316 mActionBarView.getRight(), mActionBarView.getBottom()); in onLayout()
320 mContextView.getRight(), mContextView.getBottom()); in onLayout()
329 tabContainer.getRight(), tabContainer.getBottom()); in onLayout()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DScrollingThroughListOfFocusablesTest.java101 mListView.getBottom() - mListView.getVerticalFadingEdgeLength(); in testScrollingDownInFirstItem()
103 view.getBottom() == bottomFadingEdgeTop); in testScrollingDownInFirstItem()
152 mListView.getBottom() - mListView.getVerticalFadingEdgeLength() < mTempRect.bottom); in testNoFadingEdgeAtBottomOfLastItem()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom()); in testLayout()
82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom()); in testLayout()

123456