Home
last modified time | relevance | path

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

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java59 private static final int HOUR_INDEX = TimePickerDialog.HOUR_INDEX; field in RadialPickerLayout
211 setValueForItem(HOUR_INDEX, initialHoursOfDay); in initialize()
233 setItem(HOUR_INDEX, hours); in setTime()
241 if (index == HOUR_INDEX) { in setItem()
242 setValueForItem(HOUR_INDEX, value); in setItem()
277 if (currentIndex == HOUR_INDEX) { in getCurrentlyShowingValue()
299 if (index == HOUR_INDEX) { in setValueForItem()
451 if (currentShowing == HOUR_INDEX) { in reselectSelector()
462 if (currentShowing == HOUR_INDEX) { in reselectSelector()
477 if (currentShowing == HOUR_INDEX && mIs24HourMode && !isInnerCircle && degrees != 0) { in reselectSelector()
[all …]
DTimePickerDialog.java64 public static final int HOUR_INDEX = 0; field in TimePickerDialog
230 int currentItemShowing = HOUR_INDEX; in onCreateView()
241 setCurrentItemShowing(HOUR_INDEX, true, false, true); in onCreateView()
396 if (pickerIndex == HOUR_INDEX) {
456 if (index == HOUR_INDEX) {
475 int hourColor = (index == HOUR_INDEX)? mSelectedColor : mUnselectedColor;
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java77 private static final int HOUR_INDEX = RadialTimePickerView.HOURS; field in TimePickerClockDelegate
250 initialize(currentHour, currentMinute, mIs24Hour, HOUR_INDEX); in TimePickerClockDelegate()
694 final String selectionMode = mRadialTimePickerView.getCurrentItemShowing() == HOUR_INDEX ?
893 if (index == HOUR_INDEX) {
903 mHourView.setActivated(index == HOUR_INDEX);
1032 setCurrentItemShowing(HOUR_INDEX, true, true);
1060 setCurrentItemShowing(HOUR_INDEX, true, true);