Home
last modified time | relevance | path

Searched refs:getClockStyle (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt126 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
DSettingsDAO.java137 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
DSettingsModel.java75 ClockStyle getClockStyle() { in getClockStyle() method in SettingsModel
76 return SettingsDAO.getClockStyle(mContext, mPrefs); in getClockStyle()
DDataModel.java976 public ClockStyle getClockStyle() { in getClockStyle() method in DataModel
978 return mSettingsModel.getClockStyle(); in getClockStyle()
DSettingsModel.kt64 get() = SettingsDAO.getClockStyle(mContext, mPrefs)
/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()
DClockFragment.java453 if (DataModel.getDataModel().getClockStyle() == DataModel.ClockStyle.ANALOG) { in bind()