Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java283 private void setCurrentHour(int currentHour, boolean notifyTimeChanged) { in setCurrentHour() argument
285 if (currentHour == getHour()) { in setCurrentHour()
290 if (currentHour >= HOURS_IN_HALF_DAY) { in setCurrentHour()
292 if (currentHour > HOURS_IN_HALF_DAY) { in setCurrentHour()
293 currentHour = currentHour - HOURS_IN_HALF_DAY; in setCurrentHour()
297 if (currentHour == 0) { in setCurrentHour()
298 currentHour = HOURS_IN_HALF_DAY; in setCurrentHour()
303 mHourSpinner.setValue(currentHour); in setCurrentHour()
311 int currentHour = mHourSpinner.getValue(); in getHour() local
313 return currentHour; in getHour()
[all …]
DTimePickerClockDelegate.java200 final int currentHour = mTempCalendar.get(Calendar.HOUR_OF_DAY); in TimePickerClockDelegate() local
202 initialize(currentHour, currentMinute, mIs24Hour, HOUR_INDEX); in TimePickerClockDelegate()
412 final int currentHour = mRadialTimePickerView.getCurrentHour();
414 return currentHour;
418 return (currentHour % HOURS_IN_HALF_DAY) + HOURS_IN_HALF_DAY;
420 return currentHour % HOURS_IN_HALF_DAY;
DTimePicker.java145 public void setCurrentHour(@NonNull Integer currentHour) { in setCurrentHour() argument
146 setHour(currentHour); in setCurrentHour()
DRadialTimePickerView.java369 final int currentHour = calendar.get(Calendar.HOUR_OF_DAY); in RadialTimePickerView() local
372 setCurrentHourInternal(currentHour, false, false); in RadialTimePickerView()