Searched refs:listPosition (Results 1 – 3 of 3) sorted by relevance
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 56 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/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 185 int listPosition = -1; in onSaveInstanceState() local 187 listPosition = mDayPickerView.getMostVisiblePosition(); in onSaveInstanceState() 189 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState() 192 outState.putInt(KEY_LIST_POSITION, listPosition); in onSaveInstanceState() 211 int listPosition = -1; in onCreateView() local 219 listPosition = savedInstanceState.getInt(KEY_LIST_POSITION); in onCreateView() 263 if (listPosition != -1) { in onCreateView() 265 mDayPickerView.postSetSelection(listPosition); in onCreateView() 267 mYearPickerView.postSetSelectionFromTop(listPosition, listPositionOffset); in onCreateView()
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 523 int listPosition = -1; in onSaveInstanceState() local 527 listPosition = mDayPickerView.getMostVisiblePosition(); in onSaveInstanceState() 529 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState() 534 mMaxDate.getTimeInMillis(), mCurrentView, listPosition, listPositionOffset); in onSaveInstanceState() 551 final int listPosition = ss.getListPosition(); in onRestoreInstanceState() local 552 if (listPosition != -1) { in onRestoreInstanceState() 554 mDayPickerView.setPosition(listPosition); in onRestoreInstanceState() 557 mYearPickerView.setSelectionFromTop(listPosition, listPositionOffset); in onRestoreInstanceState() 620 long minDate, long maxDate, int currentView, int listPosition, in SavedState() argument 629 mListPosition = listPosition; in SavedState()
|