Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java382 public static void setTimeFormat(TextClock clock, boolean includeSeconds) { in setTimeFormat() argument
385 clock.setFormat12Hour(get12ModeFormat(0.4f /* amPmRatio */, includeSeconds)); in setTimeFormat()
387 clock.setFormat24Hour(get24ModeFormat(includeSeconds)); in setTimeFormat()
397 public static CharSequence get12ModeFormat(float amPmRatio, boolean includeSeconds) { in get12ModeFormat() argument
399 includeSeconds ? "hmsa" : "hma"); in get12ModeFormat()
423 public static CharSequence get24ModeFormat(boolean includeSeconds) { in get24ModeFormat() argument
425 includeSeconds ? "Hms" : "Hm"); in get24ModeFormat()