Home
last modified time | relevance | path

Searched refs:currentHour (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java299 private void setCurrentHour(int currentHour, boolean notifyTimeChanged) { in setCurrentHour() argument
301 if (currentHour == getHour()) { in setCurrentHour()
307 if (currentHour >= HOURS_IN_HALF_DAY) { in setCurrentHour()
309 if (currentHour > HOURS_IN_HALF_DAY) { in setCurrentHour()
310 currentHour = currentHour - HOURS_IN_HALF_DAY; in setCurrentHour()
314 if (currentHour == 0) { in setCurrentHour()
315 currentHour = HOURS_IN_HALF_DAY; in setCurrentHour()
320 mHourSpinner.setValue(currentHour); in setCurrentHour()
328 int currentHour = mHourSpinner.getValue(); in getHour() local
330 return currentHour; in getHour()
[all …]
DTimePickerClockDelegate.java248 final int currentHour = mTempCalendar.get(Calendar.HOUR_OF_DAY); in TimePickerClockDelegate() local
250 initialize(currentHour, currentMinute, mIs24Hour, HOUR_INDEX); in TimePickerClockDelegate()
556 final int currentHour = mRadialTimePickerView.getCurrentHour();
558 return currentHour;
562 return (currentHour % HOURS_IN_HALF_DAY) + HOURS_IN_HALF_DAY;
564 return currentHour % HOURS_IN_HALF_DAY;
DTimePicker.java217 public void setCurrentHour(@NonNull Integer currentHour) { in setCurrentHour() argument
218 setHour(currentHour); in setCurrentHour()
DRadialTimePickerView.java394 final int currentHour = calendar.get(Calendar.HOUR_OF_DAY); in RadialTimePickerView() local
397 setCurrentHourInternal(currentHour, false, false); in RadialTimePickerView()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DTimePicker.java411 int currentHour = getHour(); in setIs24Hour() local
417 setHour(currentHour); in setIs24Hour()