Searched refs:lastItem (Results 1 – 9 of 9) sorted by relevance
66 int lastItem = -1 * (totalItemHeight - height);67 if (lastItem > 0) {68 lastItem = 0;74 else if (textPos < lastItem) {75 textPos = lastItem;
62 int lastItem = firstVisibleItem + visibleItemCount - 1; in onScroll() local63 mText.setText("Showing " + firstVisibleItem + "-" + lastItem + "/" + totalItemCount); in onScroll()
78 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex); in testMoveDownToItemRequiringScrolling() local80 lastItem.getBottom() > mListView.getBottom()); in testMoveDownToItemRequiringScrolling()
2077 final ItemInfo lastItem = mItems.get(mItems.size() - 1);2082 if (lastItem.position != mAdapter.getCount() - 1) {2084 rightBound = lastItem.offset * width;2121 ItemInfo lastItem = null;2142 return lastItem;2148 lastItem = ii;2151 return lastItem;2165 final ItemInfo lastItem = mItems.get(mItems.size() - 1);2168 targetPage = Math.max(firstItem.position, Math.min(targetPage, lastItem.position));2349 final ItemInfo lastItem = mItems.get(mItems.size() - 1);[all …]
870 int lastItem = Integer.MIN_VALUE; in onKeyDown() local876 lastItem = allEnabled ? adapter.getCount() - 1 : in onKeyDown()881 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { in onKeyDown()921 if (curIndex == lastItem) { in onKeyDown()
2378 final int lastItem = (mItemCount - 1); in fullScroll() local2379 if (mSelectedPosition < lastItem) { in fullScroll()2381 mSelectedPosition, lastItem, false); in fullScroll()
888 int lastItem = Integer.MIN_VALUE; in onKeyDown() local894 lastItem = allEnabled ? adapter.getCount() - 1 : in onKeyDown()899 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { in onKeyDown()939 if (curIndex == lastItem) { in onKeyDown()