Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DTimePicker.java71 private boolean mIs24hFormat; field in TimePicker
110 mIs24hFormat = attributesArray.getBoolean(R.styleable.lbTimePicker_is24HourFormat, in TimePicker()
151 hourPattern = DateFormat.getBestDateTimePattern(mConstant.locale, mIs24hFormat ? "Hma" in getBestHourMinutePattern()
161 if (mIs24hFormat) { in getBestHourMinutePattern()
166 hourPattern = mIs24hFormat ? "H:mma" : "h:mma"; in getBestHourMinutePattern()
309 updateMin(mHourColumn, mIs24hFormat ? 0 : 1); in updateColumnsRange()
310 updateMax(mHourColumn, mIs24hFormat ? 23 : 12); in updateColumnsRange()
366 if (mIs24hFormat) { in getHour()
407 if (mIs24hFormat == is24Hour) { in setIs24Hour()
413 mIs24hFormat = is24Hour; in setIs24Hour()
[all …]