Searched refs:includeSeconds (Results 1 – 1 of 1) sorted by relevance
389 public static void setTimeFormat(TextClock clock, boolean includeSeconds) { in setTimeFormat() argument392 clock.setFormat12Hour(get12ModeFormat(0.4f /* amPmRatio */, includeSeconds)); in setTimeFormat()394 clock.setFormat24Hour(get24ModeFormat(includeSeconds)); in setTimeFormat()404 public static CharSequence get12ModeFormat(float amPmRatio, boolean includeSeconds) { in get12ModeFormat() argument406 includeSeconds ? "hmsa" : "hma"); in get12ModeFormat()430 public static CharSequence get24ModeFormat(boolean includeSeconds) { in get24ModeFormat() argument432 includeSeconds ? "Hms" : "Hm"); in get24ModeFormat()