Searched refs:getClockStyle (Results 1 – 7 of 7) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 126 fun getClockStyle(context: Context, prefs: SharedPreferences): ClockStyle { in getClockStyle() method 127 return getClockStyle(context, prefs, SettingsActivity.KEY_CLOCK_STYLE) in getClockStyle() 151 val isAnalog = getClockStyle(context, prefs) == ClockStyle.ANALOG in setDefaultDisplayClockSeconds() 160 return getClockStyle(context, prefs, ScreensaverSettingsActivity.KEY_CLOCK_STYLE) in getScreensaverClockStyle() 342 private fun getClockStyle(context: Context, prefs: SharedPreferences, key: String): ClockStyle { in getClockStyle() method
|
D | SettingsDAO.java | 137 static ClockStyle getClockStyle(Context context, SharedPreferences prefs) { in getClockStyle() method in SettingsDAO 138 return getClockStyle(context, prefs, SettingsActivity.KEY_CLOCK_STYLE); in getClockStyle() 162 final boolean isAnalog = getClockStyle(context, prefs) == ClockStyle.ANALOG; in setDefaultDisplayClockSeconds() 171 return getClockStyle(context, prefs, ScreensaverSettingsActivity.KEY_CLOCK_STYLE); in getScreensaverClockStyle() 352 private static ClockStyle getClockStyle(Context context, SharedPreferences prefs, String key) { in getClockStyle() method in SettingsDAO
|
D | SettingsModel.java | 75 ClockStyle getClockStyle() { in getClockStyle() method in SettingsModel 76 return SettingsDAO.getClockStyle(mContext, mPrefs); in getClockStyle()
|
D | DataModel.java | 976 public ClockStyle getClockStyle() { in getClockStyle() method in DataModel 978 return mSettingsModel.getClockStyle(); in getClockStyle()
|
D | SettingsModel.kt | 64 get() = SettingsDAO.getClockStyle(mContext, mPrefs)
|
/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()
|
D | ClockFragment.java | 453 if (DataModel.getDataModel().getClockStyle() == DataModel.ClockStyle.ANALOG) { in bind()
|