/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
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()
|
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()
|
D | ListLastItemPartiallyVisibleTest.java | 50 lastChild.getBottom() > mListBottom); in testPreconditions() 58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll() 61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
|
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()
|
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()
|
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()
|
D | ListOfThinItemsTest.java | 75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom() 79 lastChild.getBottom() >= listBottom); in testScrollToBottom() 122 lastChild.getBottom() >= listBottom); in testScrollToTop()
|
D | ListOfShortTallShortTest.java | 73 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall() 79 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
|
D | ListItemFocusablesFarApartTest.java | 65 return child.getBottom() + listItem.getTop(); in getBottomOfChildOfItem()
|
/frameworks/base/core/java/com/android/internal/widget/ |
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()
|
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()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
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()
|
D | GridTouchStackFromBottomManyTest.java | 84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testScrollToBottom()
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 311 delta = child.getBottom() - (getHeight() - mListPadding.bottom); in adjustViewsUpOrDown() 654 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in showingBottomFadingEdge() 686 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in requestChildRectangleOnScreen() 754 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight : in fillGap() 795 nextTop = child.getBottom() + mDividerHeight; in fillDown() 906 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 908 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 940 if (sel.getBottom() > bottomSelectionPixel) { in fillFromSelection() 947 final int spaceBelow = sel.getBottom() - bottomSelectionPixel; in fillFromSelection() 959 final int spaceBelow = bottomSelectionPixel - sel.getBottom(); in fillFromSelection() [all …]
|
D | GridView.java | 279 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop; in fillGap() 332 nextTop = mReferenceView.getBottom() + mVerticalSpacing; in fillDown() 500 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection() 507 final int offset = bottomSelectionPixel - referenceView.getBottom(); in fillSelection() 511 fillDown(rowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection() 531 final int bottom = getChildAt(count - 1).getBottom(); in pinToBottom() 547 if (y <= getChildAt(i).getBottom()) { in findMotionRow() 606 … below = fillDown(motionRowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific() 613 … below = fillDown(motionRowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific() 640 final int lastBottom = lastChild.getBottom(); in correctTooHigh() [all …]
|
D | ScrollView.java | 259 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength() 549 || y >= child.getBottom() - scrollY in inChild() 1062 int viewBottom = view.getBottom(); in findFocusableViewInBounds() 1081 .getBottom()); in findFocusableViewInBounds() 1133 if (mTempRect.top + height > view.getBottom()) { in pageScroll() 1134 mTempRect.top = view.getBottom() - height; in pageScroll() 1171 mTempRect.bottom = view.getBottom() + mPaddingBottom; in fullScroll() 1246 int daBottom = getChildAt(0).getBottom(); in arrowScroll() 1365 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() 1558 int bottom = getChildAt(0).getBottom(); in computeScrollDeltaToGetChildRectOnScreen()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewTransform.java | 49 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/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
D | TallTextAboveButtonTest.java | 59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListTouchBottomGravityTest.java | 72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown() 91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
|
D | ListTouchManyTest.java | 90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp() 107 && (child.getBottom() <= in testPress() 135 && (child.getBottom() <= in testLongPress()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineButtonsTest.java | 81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom()); in testLayout() 82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom()); in testLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SignalTileView.java | 115 mIconFrame.getBottom() - indicator.getMeasuredHeight(), in layoutIndicator() 117 mIconFrame.getBottom()); in layoutIndicator()
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
D | BitmapView.java | 59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight()); in onDraw()
|