Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java194 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockSecondsEnabled() local
195 switch (clockStyle) { in setClockSecondsEnabled()
206 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setClockSecondsEnabled()
214 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockStyle() local
215 switch (clockStyle) { in setClockStyle()
226 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setClockStyle()
234 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getScreensaverClockStyle(); in setScreensaverClockStyle() local
235 switch (clockStyle) { in setScreensaverClockStyle()
246 throw new IllegalStateException("unexpected clock style: " + clockStyle); in setScreensaverClockStyle()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.java354 final String clockStyle = prefs.getString(key, defaultStyle); in getClockStyle() local
357 return ClockStyle.valueOf(clockStyle.toUpperCase(Locale.US)); in getClockStyle()