Lines Matching defs:clock
36 public static void setClockSize(Context context, RemoteViews clock, float scale) {
38 clock.setTextViewTextSize(
103 // Decide if to show the list of world clock.
136 * Set the format of the time on the clock accrding to the locale
137 * @param clock - view to format
139 * @param clockId - id of TextClock view as defined in the clock's layout.
141 public static void setTimeFormat(RemoteViews clock, int amPmFontSize, int clockId) {
142 if (clock != null) {
144 clock.setCharSequence(clockId, "setFormat12Hour", Utils.get12ModeFormat(amPmFontSize));
146 clock.setCharSequence(clockId, "setFormat24Hour", Utils.get24ModeFormat());