Searched refs:getBottom (Results 1 - 25 of 111) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsTallerThanScreenTest.java48 final int amountOffScreen = mListView.getChildAt(0).getBottom() - (mListView.getBottom() - mListView.getListPaddingBottom());
62 view.getBottom() > mListView.getBottom());
80 assertEquals(view.getBottom(), peekingView.getTop());
155 assertEquals(realBottom, mListView.getSelectedView().getBottom());
186 int realBottom = mListView.getBottom() - mListView.getListPaddingBottom();
188 selected.getBottom() > realBottom);
192 int pixelsOffScreen = selected.getBottom() - realBottom;
H A DListLastItemPartiallyVisibleTest.java49 lastChild.getBottom() > mListBottom);
57 final int firstBottom = firstChild.getBottom();
60 firstBottom, firstChild.getBottom());
H A DListOfShortTallShortTest.java72 final int bottomBeforeMove = mListView.getChildAt(0).getBottom();
78 mListView.getChildAt(0).getBottom());
H A DListOfItemsShorterThanScreenTest.java55 final int secondPosition = mListView.getSelectedView().getBottom();
82 lastItem.getBottom() > mListView.getBottom());
92 mListView.getSelectedView().getBottom());
154 mListView.getSelectedView().getBottom());
H A DListItemsExpandOnSelectionTest.java72 final int oldBottom = mListView.getSelectedView().getBottom();
79 mListView.getChildAt(1).getBottom());
96 mListView.getSelectedView().getBottom());
H A DListOfShortShortTallShortShortTest.java67 mListView.getSelectedView().getBottom() > mListUtil.getListBottom());
91 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom());
110 mListView.getSelectedView().getBottom() > mListUtil.getListBottom());
H A DListOfThinItemsTest.java70 mListView.getSelectedView().getBottom() <= bottomThreshold);
74 lastChild.getBottom() >= listBottom);
113 lastChild.getBottom() >= listBottom);
H A DListWithOffScreenNextSelectableTest.java68 listBottom - mListView.getVerticalFadingEdgeLength(), lastVisibleView.getBottom());
77 assertEquals(listBottom, mListView.getSelectedView().getBottom());
89 assertEquals(listBottom, mListView.getSelectedView().getBottom());
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java66 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
83 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
100 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
117 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
H A DGridTouchStackFromBottomManyTest.java84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java47 mListView.getChildAt(0).getBottom() < mListView.getVerticalFadingEdgeLength());
64 rect.offset(0, -2 * second.getBottom());
90 2 * (mListView.getBottom() - secondToLast.getTop()));
99 mListView.getChildAt(mListView.getChildCount() - 1).getBottom());
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityTest.java72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
H A DListTouchManyTest.java90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
107 && (child.getBottom() <=
135 && (child.getBottom() <=
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DTallTextAboveButtonTest.java59 mBottomButton.getBottom() >= mScrollView.getBottom());
/frameworks/support/percent/tests/java/android/support/percent/
H A DPercentRelativeTest.java130 final int childBottom = childToTest.getBottom();
151 final int childBottom = childToTest.getBottom();
166 final int childBottom = childToTest.getBottom();
174 topChild.getBottom() + 0.1f * mContainerHeight, childTop);
H A DPercentFrameTest.java98 int childBottom = childToTest.getBottom();
117 int childBottom = childToTest.getBottom();
155 int childBottom = childToTest.getBottom();
195 mPercentFrameLayout.getBottom());
237 mPercentFrameLayout.getBottom());
H A DPercentRelativeRtlTest.java128 mPercentRelativeLayout.getBottom());
215 final int childBottom = childToTest.getBottom();
245 final int childBottom = childToTest.getBottom();
263 final int childBottom = childToTest.getBottom();
273 topChild.getBottom() + 0.1f * mContainerHeight, childTop);
/frameworks/support/v4/java/android/support/v4/widget/
H A DListViewAutoScrollHelper.java62 if (lastView.getBottom() <= target.getHeight()) {
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java212 parentRect.set(p.getLeft(), p.getTop(), p.getRight(), p.getBottom());
216 view.getRight(), view.getBottom());
225 view.getRight(), view.getBottom())) {
237 parentRect.set(p.getLeft(), p.getTop(), p.getRight(), p.getBottom());
241 view.getRight(), view.getBottom());
250 view.getRight(), view.getBottom())) {
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java97 mListView.getBottom() - mListView.getVerticalFadingEdgeLength();
99 view.getBottom() == bottomFadingEdgeTop);
148 mListView.getBottom() - mListView.getVerticalFadingEdgeLength() < mTempRect.bottom);
/frameworks/support/design/src/android/support/design/widget/
H A DHeaderScrollingViewBehavior.java110 header.getBottom() + lp.topMargin,
112 parent.getHeight() + header.getBottom()
132 mVerticalLayoutGap = out.top - header.getBottom();
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom());
82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom());
/frameworks/support/design/tests/src/android/support/design/widget/
H A DAppBarWithToolbarTest.java99 assertEquals(mAppBar.getBottom(), scrollingContent.getTop());
126 assertEquals(mAppBar.getBottom(), scrollingContent.getTop());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java49 mTmpRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
75 rect.set(tv.getLeft(), tv.getTop(), tv.getRight(), tv.getBottom());
131 ((int) rect.top != v.getTop()) || ((int) rect.bottom != v.getBottom());
176 Rect fromViewRect = new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapView.java59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight());

Completed in 3189 milliseconds

12345