Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DTimePicker.java73 private int mCurrentHour; field in TimePicker
341 mCurrentHour = hour; in setHour()
343 if (mCurrentHour >= HOURS_IN_HALF_DAY) { in setHour()
345 if (mCurrentHour > HOURS_IN_HALF_DAY) { in setHour()
346 mCurrentHour -= HOURS_IN_HALF_DAY; in setHour()
350 if (mCurrentHour == 0) { in setHour()
351 mCurrentHour = HOURS_IN_HALF_DAY; in setHour()
356 setColumnValue(mColHourIndex, mCurrentHour, false); in setHour()
367 return mCurrentHour; in getHour()
370 return mCurrentHour % HOURS_IN_HALF_DAY; in getHour()
[all …]
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java113 private int mCurrentHour; field in TimePickerClockDelegate
413 mCurrentHour = hourOfDay; in initialize()
421 updateHeaderHour(mCurrentHour, false); in updateUI()
431 mTextInputPickerView.updateTextInputValues(getLocalizedHour(mCurrentHour), mCurrentMinute, in updateTextInputPicker()
432 mCurrentHour < 12 ? AM : PM, mIs24Hour, mHourFormatStartsAtZero); in updateTextInputPicker()
436 mRadialTimePickerView.initialize(mCurrentHour, mCurrentMinute, mIs24Hour);
448 updateAmPmLabelStates(mCurrentHour < 12 ? AM : PM);
528 if (mCurrentHour == hour) {
533 mCurrentHour = hour;
616 mCurrentHour = getHour();
[all …]