Searched refs:ClockStyle (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 31 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()
|
D | SettingsDAO.java | 30 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()
|
D | SettingsModel.java | 27 import com.android.deskclock.data.DataModel.ClockStyle; 75 ClockStyle getClockStyle() { in getClockStyle() 87 ClockStyle getScreensaverClockStyle() { in getScreensaverClockStyle()
|
D | SettingsModel.kt | 63 val clockStyle: DataModel.ClockStyle 72 val screensaverClockStyle: DataModel.ClockStyle
|
D | DataModel.java | 57 public enum ClockStyle {ANALOG, DIGITAL} enum in DataModel 976 public ClockStyle getClockStyle() { in getClockStyle() 1000 public ClockStyle getScreensaverClockStyle() { in getScreensaverClockStyle()
|
D | DataModel.kt | 54 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/ |
D | Utils.java | 201 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()
|
D | ClockFragment.java | 453 if (DataModel.getDataModel().getClockStyle() == DataModel.ClockStyle.ANALOG) { in bind()
|