Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/
DGuidedDatePickerTest.java607 private void traverseMonths(DatePicker mPickerView, GuidedDatePickerAction dateAction) in traverseMonths() argument
614 currentActionCal.setTimeInMillis(dateAction.getDate()); in traverseMonths()
871 private void scrollToMinAndMaxDates(int[] columnIndices, GuidedDatePickerAction dateAction) in scrollToMinAndMaxDates() argument
882 long verticalScrollOffset = dateAction.getId() - currSelectedAction; in scrollToMinAndMaxDates()
895 == dateAction.getId()); in scrollToMinAndMaxDates()
896 DatePicker mPickerView = (DatePicker) mFragment.getActionItemView((int) dateAction.getId()) in scrollToMinAndMaxDates()
900 currentActionCal.setTimeInMillis(dateAction.getDate()); in scrollToMinAndMaxDates()
907 dateAction.setDate(mPickerView.getDate()); in scrollToMinAndMaxDates()
911 dateAction.setDate(mPickerView.getDate()); in scrollToMinAndMaxDates()
915 dateAction.setDate(mPickerView.getDate()); in scrollToMinAndMaxDates()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGuidedActionsStylist.java992 GuidedDatePickerAction dateAction = (GuidedDatePickerAction) action; in onBindActivatorView() local
994 dateView.setDatePickerFormat(dateAction.getDatePickerFormat()); in onBindActivatorView()
995 if (dateAction.getMinDate() != Long.MIN_VALUE) { in onBindActivatorView()
996 dateView.setMinDate(dateAction.getMinDate()); in onBindActivatorView()
998 if (dateAction.getMaxDate() != Long.MAX_VALUE) { in onBindActivatorView()
999 dateView.setMaxDate(dateAction.getMaxDate()); in onBindActivatorView()
1002 c.setTimeInMillis(dateAction.getDate()); in onBindActivatorView()
1017 GuidedDatePickerAction dateAction = (GuidedDatePickerAction) action; in onUpdateActivatorView() local
1019 if (dateAction.getDate() != dateView.getDate()) { in onUpdateActivatorView()
1020 dateAction.setDate(dateView.getDate()); in onUpdateActivatorView()