/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfItemsTallerThanScreenTest.java | 49 …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 D | ListOfItemsShorterThanScreenTest.java | 56 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 D | ListLastItemPartiallyVisibleTest.java | 50 lastChild.getBottom() > mListBottom); in testPreconditions() 58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll() 61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
|
H A D | ListItemsExpandOnSelectionTest.java | 73 final int oldBottom = mListView.getSelectedView().getBottom(); in testMoveSelectionUpNotRequiringScroll() 80 mListView.getChildAt(1).getBottom()); in testMoveSelectionUpNotRequiringScroll() 97 mListView.getSelectedView().getBottom()); in testMoveSelectionDownRequiringScroll()
|
H A D | ListWithOffScreenNextSelectableTest.java | 69 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 D | ListOfShortShortTallShortShortTest.java | 68 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 D | ListOfThinItemsTest.java | 75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom() 79 lastChild.getBottom() >= listBottom); in testScrollToBottom() 122 lastChild.getBottom() >= listBottom); in testScrollToTop()
|
H A D | ListOfShortTallShortTest.java | 73 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 D | ScrollCaptureControllerTest.java | 68 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 D | BackgroundFallback.java | 95 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 D | ActionBarContainer.java | 97 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 D | ListItemRequestRectAboveThinFirstItemTest.java | 47 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 D | GridTouchStackFromBottomTest.java | 66 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 D | GridTouchStackFromBottomManyTest.java | 84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testScrollToBottom()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 793 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 D | GridView.java | 333 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 D | ScrollView.java | 274 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 D | ScrollCaptureController.java | 114 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 D | TallTextAboveButtonTest.java | 59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListTouchBottomGravityTest.java | 72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown() 91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
|
H A D | ListTouchManyTest.java | 90 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 D | ScrollingThroughListOfFocusablesTest.java | 101 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 D | BaselineButtonsTest.java | 81 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 D | SignalTileView.java | 115 mIconFrame.getBottom() - indicator.getMeasuredHeight(), in layoutIndicator() 117 mIconFrame.getBottom()); in layoutIndicator()
|
/aosp14/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
H A D | ChatActivity.java | 248 mStartBottom = mView.getBottom(); in onPrepare() 258 mEndBottom = mView.getBottom(); in onStart()
|