Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
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()
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()
DListLastItemPartiallyVisibleTest.java50 lastChild.getBottom() > mListBottom); in testPreconditions()
58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll()
61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
DListItemsExpandOnSelectionTest.java73 final int oldBottom = mListView.getSelectedView().getBottom(); in testMoveSelectionUpNotRequiringScroll()
80 mListView.getChildAt(1).getBottom()); in testMoveSelectionUpNotRequiringScroll()
97 mListView.getSelectedView().getBottom()); in testMoveSelectionDownRequiringScroll()
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()
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()
DListOfThinItemsTest.java75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom()
79 lastChild.getBottom() >= listBottom); in testScrollToBottom()
122 lastChild.getBottom() >= listBottom); in testScrollToTop()
DListOfShortTallShortTest.java73 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall()
79 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScrollCaptureControllerTest.java67 assertEquals("bottom", 160, screenshot.getBottom()); in testInfinite()
71 float topPortion = abs(screenshot.getTop()) / abs((float) screenshot.getBottom()); in testInfinite()
104 assertEquals("bottom", 210, screenshot.getBottom()); in testInfiniteWithPartialResultsTop()
131 assertEquals("bottom", 225, screenshot.getBottom()); in testInfiniteWithPartialResultsBottom()
147 assertEquals("bottom", 150, screenshot.getBottom()); in testLimitedBottom()
163 assertEquals("bottom", 150, screenshot.getBottom()); in testLimitedTopAndBottom()
179 assertEquals("bottom", 240, screenshot.getBottom()); in testVeryLimitedTopInfiniteBottom()
195 assertEquals("bottom", 200, screenshot.getBottom()); in testVeryLimitedTopLimitedBottom()
/frameworks/base/core/java/com/android/internal/widget/
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()
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()
DGridTouchStackFromBottomManyTest.java84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testScrollToBottom()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DTallTextAboveButtonTest.java59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
/frameworks/base/core/java/android/widget/
DListView.java311 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 …]
DGridView.java280 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop; in fillGap()
333 nextTop = mReferenceView.getBottom() + mVerticalSpacing; in fillDown()
501 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection()
508 final int offset = bottomSelectionPixel - referenceView.getBottom(); in fillSelection()
512 fillDown(rowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSelection()
532 final int bottom = getChildAt(count - 1).getBottom(); in pinToBottom()
548 if (y <= getChildAt(i).getBottom()) { in findMotionRow()
607 … below = fillDown(motionRowStart + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific()
614 … below = fillDown(motionRowEnd + numColumns, referenceView.getBottom() + verticalSpacing); in fillSpecific()
641 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
[all …]
DScrollView.java266 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength()
555 || y >= child.getBottom() - scrollY in inChild()
1089 int viewBottom = view.getBottom(); in findFocusableViewInBounds()
1108 .getBottom()); in findFocusableViewInBounds()
1160 if (mTempRect.top + height > view.getBottom()) { in pageScroll()
1161 mTempRect.top = view.getBottom() - height; in pageScroll()
1198 mTempRect.bottom = view.getBottom() + mPaddingBottom; in fullScroll()
1273 int daBottom = getChildAt(0).getBottom(); in arrowScroll()
1392 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange()
1585 int bottom = getChildAt(0).getBottom(); in computeScrollDeltaToGetChildRectOnScreen()
/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/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScrollCaptureController.java108 public int getBottom() { in getBottom() method in ScrollCaptureController.LongScreenshot
109 return mImageTileSet.getBottom(); in getBottom()
260 + " - " + mImageTileSet.getRight() + "," + mImageTileSet.getBottom() in onCaptureResult()
291 : mImageTileSet.getBottom(); in onCaptureResult()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java115 mIconFrame.getBottom() - indicator.getMeasuredHeight(), in layoutIndicator()
117 mIconFrame.getBottom()); in layoutIndicator()
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DBitmapView.java59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight()); in onDraw()

1234