Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Drslist.rs66 int lastItem = -1 * (totalItemHeight - height);
67 if (lastItem > 0) {
68 lastItem = 0;
74 else if (textPos < lastItem) {
75 textPos = lastItem;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Drslist.rs66 int lastItem = -1 * (totalItemHeight - height);
67 if (lastItem > 0) {
68 lastItem = 0;
74 else if (textPos < lastItem) {
75 textPos = lastItem;
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Drslist.rs66 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.java78 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex); in testMoveDownToItemRequiringScrolling() local
80 lastItem.getBottom() > mListView.getBottom()); in testMoveDownToItemRequiringScrolling()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java2077 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 …]
/frameworks/base/core/java/android/widget/
DListPopupWindow.java870 int lastItem = Integer.MIN_VALUE; in onKeyDown() local
876 lastItem = allEnabled ? adapter.getCount() - 1 : in onKeyDown()
881 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { in onKeyDown()
921 if (curIndex == lastItem) { in onKeyDown()
DListView.java2378 final int lastItem = (mItemCount - 1); in fullScroll() local
2379 if (mSelectedPosition < lastItem) { in fullScroll()
2381 mSelectedPosition, lastItem, false); in fullScroll()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java888 int lastItem = Integer.MIN_VALUE; in onKeyDown() local
894 lastItem = allEnabled ? adapter.getCount() - 1 : in onKeyDown()
899 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { in onKeyDown()
939 if (curIndex == lastItem) { in onKeyDown()