Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java94 if (!is24Hour()) { in TimePickerSpinnerDelegate()
126 if (!is24Hour() && newHour == HOURS_IN_HALF_DAY) { in TimePickerSpinnerDelegate()
133 if (!is24Hour() && newHour == HOURS_IN_HALF_DAY - 1) { in TimePickerSpinnerDelegate()
305 if (!is24Hour()) { in setCurrentHour()
329 if (is24Hour()) { in getHour()
359 public void setIs24Hour(boolean is24Hour) { in setIs24Hour() argument
360 if (mIs24HourView == is24Hour) { in setIs24Hour()
366 mIs24HourView = is24Hour; in setIs24Hour()
376 public boolean is24Hour() { in is24Hour() method in TimePickerSpinnerDelegate
407 return new SavedState(superState, getHour(), getMinute(), is24Hour()); in onSaveInstanceState()
[all …]
DTextInputTimePickerView.java175 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument
180 mIs24Hour = is24Hour; in updateTextInputValues()
183 mAmPmSpinner.setVisibility(is24Hour ? View.INVISIBLE : View.VISIBLE); in updateTextInputValues()
DTimePicker.java274 return mDelegate.is24Hour(); in is24HourView()
378 void setIs24Hour(boolean is24Hour); in setIs24Hour() argument
379 boolean is24Hour(); in is24Hour() method
DTimePickerClockDelegate.java613 public void setIs24Hour(boolean is24Hour) {
614 if (mIs24Hour != is24Hour) {
615 mIs24Hour = is24Hour;
629 public boolean is24Hour() {
657 is24Hour(), getCurrentItemShowing());
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DTimePicker.java254 if (is24Hour()) { in extractTimeFields()
326 if (!is24Hour()) { in setAmPmValue()
342 if (!is24Hour()) { in setHour()
406 public void setIs24Hour(boolean is24Hour) { in setIs24Hour() argument
407 if (mIs24hFormat == is24Hour) { in setIs24Hour()
413 mIs24hFormat = is24Hour; in setIs24Hour()
428 public boolean is24Hour() { in is24Hour() method in TimePicker
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/picker/
DTimePickerTest.java392 assertThat("TimePicker should be in 12-hour format.", mTimePicker12HourView.is24Hour(), in test12To24HourFormatTransition()
401 assertThat("TimePicker should now be in 24-hour format.", mTimePicker12HourView.is24Hour(), in test12To24HourFormatTransition()
424 assertThat("TimePicker should be in 12-hour format.", mTimePicker24HourView.is24Hour(), in test24To12HourFormatTransition()
433 assertThat("TimePicker should now be in 24-hour format.", mTimePicker24HourView.is24Hour(), in test24To12HourFormatTransition()
515 public boolean is24Hour() { in testExtractSeparatorsForDifferentLocales()
531 public boolean is24Hour() { in testExtractSeparatorsForDifferentLocales()
547 public boolean is24Hour() { in testExtractSeparatorsForDifferentLocales()
563 public boolean is24Hour() { in testExtractSeparatorsForDifferentLocales()
579 public boolean is24Hour() { in testExtractSeparatorsForDifferentLocales()
/frameworks/base/core/java/android/text/format/
DDateFormat.java208 final boolean is24Hour; in is24HourLocale()
212 is24Hour = hasDesignator(pattern, 'H'); in is24HourLocale()
214 is24Hour = false; in is24HourLocale()
219 sIs24Hour = is24Hour; in is24HourLocale()
222 return is24Hour; in is24HourLocale()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java120 DateFormat.is24Hour = null; in testFormatSameDayTime()
/frameworks/support/leanback/api/
Dcurrent.txt3108 method public boolean is24Hour();
/frameworks/support/leanback/api_legacy/
Dcurrent.txt3096 method public boolean is24Hour();
D27.0.0.txt3121 method public boolean is24Hour();
D27.1.0.txt3096 method public boolean is24Hour();
D28.0.0-alpha1.txt3096 method public boolean is24Hour();
D26.1.0.txt3196 method public boolean is24Hour();
D26.0.0.txt3196 method public boolean is24Hour();
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8994 Ljava/text/DateFormat;->is24Hour:Ljava/lang/Boolean;
Dboot-image-profile.txt7900 HPLandroid/widget/TimePicker$TimePickerDelegate;->is24Hour()Z
7932 HPLandroid/widget/TimePickerSpinnerDelegate;->is24Hour()Z
/frameworks/support/api/
D25.4.0.txt4382 method public boolean is24Hour();
D26.0.0-alpha1.txt4757 method public boolean is24Hour();
D25.3.0.txt4334 method public boolean is24Hour();
D26.0.0-beta1.txt5571 method public boolean is24Hour();
D26.0.0-beta2.txt5666 method public boolean is24Hour();
D26.1.0.txt5651 method public boolean is24Hour();