Home
last modified time | relevance | path

Searched refs:listPosition (Results 1 – 3 of 3) sorted by relevance

/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java56 private int listPosition = -1; field in GroupingListAdapter.PositionMetadata
145 mPositionMetadata.listPosition = -1; in resetCache()
271 if (metadata.listPosition == position) { in obtainPositionMetadata()
275 int listPosition = 0; in obtainPositionMetadata() local
308 listPosition = mPositionCache.keyAt(index); in obtainPositionMetadata()
318 listPosition = mLastCachedListPosition; in obtainPositionMetadata()
328 listPosition += (offset - cursorPosition); in obtainPositionMetadata()
332 mPositionCache.append(listPosition, i); in obtainPositionMetadata()
333 mLastCachedListPosition = listPosition; in obtainPositionMetadata()
340 if (position < listPosition) { in obtainPositionMetadata()
[all …]
/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java533 int listPosition = -1; in onSaveInstanceState() local
537 listPosition = mDayPickerView.getMostVisiblePosition(); in onSaveInstanceState()
539 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
544 mMaxDate.getTimeInMillis(), mCurrentView, listPosition, listPositionOffset); in onSaveInstanceState()
562 final int listPosition = ss.getListPosition(); in onRestoreInstanceState() local
563 if (listPosition != -1) { in onRestoreInstanceState()
565 mDayPickerView.setPosition(listPosition); in onRestoreInstanceState()
568 mYearPickerView.setSelectionFromTop(listPosition, listPositionOffset); in onRestoreInstanceState()
DDatePicker.java720 long maxDate, int currentView, int listPosition, int listPositionOffset) { in SavedState() argument
728 mListPosition = listPosition; in SavedState()