Home
last modified time | relevance | path

Searched refs:lastItem (Results 1 – 8 of 8) sorted by relevance

/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drslist.rscript66 int lastItem = -1 * (totalItemHeight - height);
67 if (lastItem > 0) {
68 lastItem = 0;
74 else if (textPos < lastItem) {
75 textPos = lastItem;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drslist.rscript66 int lastItem = -1 * (totalItemHeight - height);
67 if (lastItem > 0) {
68 lastItem = 0;
74 else if (textPos < lastItem) {
75 textPos = lastItem;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drslist.rscript66 int lastItem = -1 * (totalItemHeight - height);
67 if (lastItem > 0) {
68 lastItem = 0;
74 else if (textPos < lastItem) {
75 textPos = lastItem;
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListener.java62 int lastItem = firstVisibleItem + visibleItemCount - 1; in onScroll() local
63 mText.setText("Showing " + firstVisibleItem + "-" + lastItem + "/" + totalItemCount); in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsShorterThanScreenTest.java81 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex); in testMoveDownToItemRequiringScrolling() local
83 lastItem.getBottom() > mListView.getBottom()); in testMoveDownToItemRequiringScrolling()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java972 int lastItem = Integer.MIN_VALUE;
978 lastItem = allEnabled ? adapter.getCount() - 1 :
983 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) {
1024 if (curIndex == lastItem) {
DListView.java2576 final int lastItem = (mItemCount - 1); in fullScroll() local
2577 if (mSelectedPosition < lastItem) { in fullScroll()
2579 mSelectedPosition, lastItem, false); in fullScroll()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2219 ItemInfo lastItem = null;
2243 return lastItem;
2250 lastItem = ii;
2253 return lastItem;
2284 final ItemInfo lastItem = mItems.get(mItems.size() - 1);
2287 targetPage = MathUtils.constrain(targetPage, firstItem.position, lastItem.position);