Home
last modified time | relevance | path

Searched refs:mYearPickerView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java77 private YearPickerView mYearPickerView; field in DatePickerCalendarDelegate
168 mYearPickerView = mAnimator.findViewById(R.id.date_picker_year_picker); in DatePickerCalendarDelegate()
169 mYearPickerView.setRange(mMinDate, mMaxDate); in DatePickerCalendarDelegate()
170 mYearPickerView.setYear(mCurrentDate.get(Calendar.YEAR)); in DatePickerCalendarDelegate()
171 mYearPickerView.setOnYearSelectedListener(mOnYearSelectedListener); in DatePickerCalendarDelegate()
341 mYearPickerView.setYear(year); in setCurrentView()
342 mYearPickerView.post(() -> { in setCurrentView()
343 mYearPickerView.requestFocus(); in setCurrentView()
344 final View selected = mYearPickerView.getSelectedView(); in setCurrentView()
400 mYearPickerView.setYear(year); in onDateChanged()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDatePickerDialog.java95 private YearPickerView mYearPickerView; field in DatePickerDialog
192 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
193 outState.putInt(KEY_LIST_POSITION_OFFSET, mYearPickerView.getFirstPositionOffset()); in onSaveInstanceState()
228 mYearPickerView = new YearPickerView(activity, this); in onCreateView()
238 mAnimator.addView(mYearPickerView); in onCreateView()
270 mYearPickerView.postSetSelectionFromTop(listPosition, listPositionOffset); in onCreateView()
321 mYearPickerView.onDateChanged(); in setCurrentView()