Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsTallerThanScreenTest.java49 …final int amountOffScreen = mListView.getChildAt(0).getBottom() - (mListView.getBottom() - mListVi… in testPreconditions()
63 view.getBottom() > mListView.getBottom()); in testScrollDownAcrossItem()
81 assertEquals(view.getBottom(), peekingView.getTop()); in testScrollDownAcrossItem()
156 assertEquals(realBottom, mListView.getSelectedView().getBottom()); in testScrollDownToLastItem()
187 int realBottom = mListView.getBottom() - mListView.getListPaddingBottom(); in getNumDownPressesToScrollDownAcrossSelected()
189 selected.getBottom() > realBottom); in getNumDownPressesToScrollDownAcrossSelected()
193 int pixelsOffScreen = selected.getBottom() - realBottom; in getNumDownPressesToScrollDownAcrossSelected()
H A DListOfItemsShorterThanScreenTest.java56 final int secondPosition = mListView.getSelectedView().getBottom(); in testMoveDownToOnScreenNextItem()
83 lastItem.getBottom() > mListView.getBottom()); in testMoveDownToItemRequiringScrolling()
93 mListView.getSelectedView().getBottom()); in testMoveDownToItemRequiringScrolling()
155 mListView.getSelectedView().getBottom()); in testNoVerticalFadingEdgeWhenMovingToBottom()
H A DListLastItemPartiallyVisibleTest.java50 lastChild.getBottom() > mListBottom); in testPreconditions()
58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll()
61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
H A DListItemsExpandOnSelectionTest.java73 final int oldBottom = mListView.getSelectedView().getBottom(); in testMoveSelectionUpNotRequiringScroll()
80 mListView.getChildAt(1).getBottom()); in testMoveSelectionUpNotRequiringScroll()
97 mListView.getSelectedView().getBottom()); in testMoveSelectionDownRequiringScroll()
H A DListWithOffScreenNextSelectableTest.java69 listBottom - mListView.getVerticalFadingEdgeLength(), lastVisibleView.getBottom()); in testGoDownToOffScreenSelectable()
78 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoDownToOffScreenSelectable()
90 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoUpToOffScreenSelectable()
H A DListOfShortShortTallShortShortTest.java68 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeTopTwoItemsOut()
92 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); in testFadeInTwoBottomItems()
111 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeOutBottomTwoItems()
H A DListOfThinItemsTest.java75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom()
79 lastChild.getBottom() >= listBottom); in testScrollToBottom()
122 lastChild.getBottom() >= listBottom); in testScrollToTop()
H A DListOfShortTallShortTest.java73 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall()
79 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScrollCaptureControllerTest.java68 assertEquals("bottom", 160, screenshot.getBottom()); in testInfinite()
72 float topPortion = abs(screenshot.getTop()) / abs((float) screenshot.getBottom()); in testInfinite()
105 assertEquals("bottom", 210, screenshot.getBottom()); in testInfiniteWithPartialResultsTop()
132 assertEquals("bottom", 225, screenshot.getBottom()); in testInfiniteWithPartialResultsBottom()
148 assertEquals("bottom", 150, screenshot.getBottom()); in testLimitedBottom()
164 assertEquals("bottom", 150, screenshot.getBottom()); in testLimitedTopAndBottom()
180 assertEquals("bottom", 240, screenshot.getBottom()); in testVeryLimitedTopInfiniteBottom()
196 assertEquals("bottom", 200, screenshot.getBottom()); in testVeryLimitedTopLimitedBottom()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java95 bottom = Math.max(bottom, rootOffsetY + child.getBottom()); in draw()
110 if (v.getTop() <= 0 && v.getBottom() >= height in draw()
115 if (v.getTop() <= 0 && v.getBottom() >= height in draw()
120 if (v.getTop() <= 0 && v.getBottom() >= top in draw()
125 if (v.getTop() <= bottom && v.getBottom() >= height in draw()
130 eachBarCoversTopInY &= v.getTop() <= 0 && v.getBottom() >= top; in draw()
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A 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()
H A DGridTouchStackFromBottomManyTest.java84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testScrollToBottom()
/aosp14/frameworks/base/core/java/android/widget/
H A DListView.java793 nextTop = child.getBottom() + mDividerHeight; in fillDown()
938 if (sel.getBottom() > bottomSelectionPixel) { in fillFromSelection()
1091 if (sel.getBottom() > bottomSelectionPixel) { in moveSelection()
1184 int newBottom = sel.getBottom(); in moveSelection()
1460 if (y <= v.getBottom()) { in findMotionRow()
1545 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
1606 final int lastBottom = lastChild.getBottom(); in correctTooLow()
3271 while (last.getBottom() < listBottom) {
3284 if (last.getBottom() < listBottom) {
3290 while (first.getBottom() < listTop) {
[all …]
H A DGridView.java333 nextTop = mReferenceView.getBottom() + mVerticalSpacing; in fillDown()
508 final int offset = bottomSelectionPixel - referenceView.getBottom(); in fillSelection()
532 final int bottom = getChildAt(count - 1).getBottom(); in pinToBottom()
548 if (y <= getChildAt(i).getBottom()) { in findMotionRow()
641 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
692 final int lastBottom = lastChild.getBottom(); in correctTooLow()
709 lastChild.getBottom() + verticalSpacing); in correctTooLow()
823 if (childInSelectedRow.getBottom() > bottomSelectionPixel) { in adjustForBottomFadingEdge()
942 mReferenceViewInSelectedRow.getBottom(); in moveSelection()
2298 delta = child.getBottom() - (getHeight() - mListPadding.bottom); in adjustViewsUpOrDown()
[all …]
H A DScrollView.java274 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength()
576 || y >= child.getBottom() - scrollY in inChild()
1130 int viewBottom = view.getBottom(); in findFocusableViewInBounds()
1149 .getBottom()); in findFocusableViewInBounds()
1201 if (mTempRect.top + height > view.getBottom()) { in pageScroll()
1202 mTempRect.top = view.getBottom() - height; in pageScroll()
1239 mTempRect.bottom = view.getBottom() + mPaddingBottom; in fullScroll()
1314 int daBottom = getChildAt(0).getBottom(); in arrowScroll()
1433 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange()
1664 int bottom = getChildAt(0).getBottom(); in computeScrollDeltaToGetChildRectOnScreen()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScrollCaptureController.java114 public int getBottom() { in getBottom() method in ScrollCaptureController.LongScreenshot
115 return mImageTileSet.getBottom(); in getBottom()
137 + "b=" + mImageTileSet.getBottom() + ", " in toString()
299 + " - " + mImageTileSet.getRight() + "," + mImageTileSet.getBottom() in onCaptureResult()
330 : mImageTileSet.getBottom(); in onCaptureResult()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DTallTextAboveButtonTest.java59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityTest.java72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown()
91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
H A DListTouchManyTest.java90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
107 && (child.getBottom() <= in testPress()
135 && (child.getBottom() <= in testLongPress()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java101 mListView.getBottom() - mListView.getVerticalFadingEdgeLength(); in testScrollingDownInFirstItem()
103 view.getBottom() == bottomFadingEdgeTop); in testScrollingDownInFirstItem()
152 mListView.getBottom() - mListView.getVerticalFadingEdgeLength() < mTempRect.bottom); in testNoFadingEdgeAtBottomOfLastItem()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom()); in testLayout()
82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom()); in testLayout()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java115 mIconFrame.getBottom() - indicator.getMeasuredHeight(), in layoutIndicator()
117 mIconFrame.getBottom()); in layoutIndicator()
/aosp14/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
H A DChatActivity.java248 mStartBottom = mView.getBottom(); in onPrepare()
258 mEndBottom = mView.getBottom(); in onStart()

1234