Searched defs:amPmFontSize (Results 1 - 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/alarmclock/
H A DWidgetUtils.java138 * @param amPmFontSize - size of am/pm label, zero size means no am/om label
141 public static void setTimeFormat(RemoteViews clock, int amPmFontSize, int clockId) { argument
144 clock.setCharSequence(clockId, "setFormat12Hour", Utils.get12ModeFormat(amPmFontSize));
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DTextTime.java143 public void setFormat(int amPmFontSize) { argument
144 setFormat12Hour(Utils.get12ModeFormat(amPmFontSize));
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java517 * @param amPmFontSize - size of the am/pm label since it is usually smaller
520 public static void setTimeFormat(TextClock clock, int amPmFontSize) { argument
523 clock.setFormat12Hour(get12ModeFormat(amPmFontSize));
529 * @param amPmFontSize - size of am/pm label (label removed is size is 0).
532 public static CharSequence get12ModeFormat(int amPmFontSize) { argument
536 if (amPmFontSize <= 0) {
549 sp.setSpan(new AbsoluteSizeSpan(amPmFontSize), amPmPos, amPmPos + 1,

Completed in 63 milliseconds