Searched refs:clockStyle (Results 1 – 2 of 2) sorted by relevance
194 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockSecondsEnabled() local195 switch (clockStyle) { in setClockSecondsEnabled()206 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setClockSecondsEnabled()214 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockStyle() local215 switch (clockStyle) { in setClockStyle()226 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setClockStyle()234 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getScreensaverClockStyle(); in setScreensaverClockStyle() local235 switch (clockStyle) { in setScreensaverClockStyle()246 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setScreensaverClockStyle()
354 final String clockStyle = prefs.getString(key, defaultStyle); in getClockStyle() local357 return ClockStyle.valueOf(clockStyle.toUpperCase(Locale.US)); in getClockStyle()