Home
last modified time | relevance | path

Searched refs:ClockStyle (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt31 import com.android.deskclock.data.DataModel.ClockStyle
126 fun getClockStyle(context: Context, prefs: SharedPreferences): ClockStyle { in getClockStyle()
151 val isAnalog = getClockStyle(context, prefs) == ClockStyle.ANALOG in setDefaultDisplayClockSeconds()
159 fun getScreensaverClockStyle(context: Context, prefs: SharedPreferences): ClockStyle { in getScreensaverClockStyle()
342 private fun getClockStyle(context: Context, prefs: SharedPreferences, key: String): ClockStyle { in getClockStyle()
347 return ClockStyle.valueOf(clockStyle.toUpperCase(Locale.US)) in getClockStyle()
DSettingsDAO.java30 import com.android.deskclock.data.DataModel.ClockStyle;
137 static ClockStyle getClockStyle(Context context, SharedPreferences prefs) { in getClockStyle()
162 final boolean isAnalog = getClockStyle(context, prefs) == ClockStyle.ANALOG; in setDefaultDisplayClockSeconds()
170 static ClockStyle getScreensaverClockStyle(Context context, SharedPreferences prefs) { in getScreensaverClockStyle()
352 private static ClockStyle getClockStyle(Context context, SharedPreferences prefs, String key) { in getClockStyle()
357 return ClockStyle.valueOf(clockStyle.toUpperCase(Locale.US)); in getClockStyle()
DSettingsModel.java27 import com.android.deskclock.data.DataModel.ClockStyle;
75 ClockStyle getClockStyle() { in getClockStyle()
87 ClockStyle getScreensaverClockStyle() { in getScreensaverClockStyle()
DSettingsModel.kt63 val clockStyle: DataModel.ClockStyle
72 val screensaverClockStyle: DataModel.ClockStyle
DDataModel.java57 public enum ClockStyle {ANALOG, DIGITAL} enum in DataModel
976 public ClockStyle getClockStyle() { in getClockStyle()
1000 public ClockStyle getScreensaverClockStyle() { in getScreensaverClockStyle()
DDataModel.kt54 enum class ClockStyle { class in com.android.deskclock.data.DataModel
970 val clockStyle: ClockStyle
995 val screensaverClockStyle: ClockStyle
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java201 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockSecondsEnabled()
221 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getClockStyle(); in setClockStyle()
241 final DataModel.ClockStyle clockStyle = DataModel.getDataModel().getScreensaverClockStyle(); in setScreensaverClockStyle()
DClockFragment.java453 if (DataModel.getDataModel().getClockStyle() == DataModel.ClockStyle.ANALOG) { in bind()