Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DAlarmModel.java35 private final SettingsModel mSettingsModel; field in AlarmModel
41 mSettingsModel = settingsModel; in AlarmModel()
51 mDefaultAlarmRingtoneUri = mSettingsModel.getDefaultAlarmRingtoneUri(); in getDefaultAlarmRingtoneUri()
60 mSettingsModel.setDefaultAlarmRingtoneUri(uri); in setDefaultAlarmRingtoneUri()
66 return mSettingsModel.getAlarmCrescendoDuration(); in getAlarmCrescendoDuration()
70 return mSettingsModel.getAlarmVolumeButtonBehavior(); in getAlarmVolumeButtonBehavior()
74 return mSettingsModel.getAlarmTimeout(); in getAlarmTimeout()
78 return mSettingsModel.getSnoozeLength(); in getSnoozeLength()
DDataModel.java170 private SettingsModel mSettingsModel; field in DataModel
216 mSettingsModel = new SettingsModel(mContext, prefs, mTimeModel); in init()
217 mCityModel = new CityModel(mContext, prefs, mSettingsModel); in init()
218 mAlarmModel = new AlarmModel(mContext, mSettingsModel); in init()
221 mTimerModel = new TimerModel(mContext, prefs, mSettingsModel, mRingtoneModel, in init()
962 return mSettingsModel.getGlobalIntentId(); in getGlobalIntentId()
970 mSettingsModel.updateGlobalIntentId(); in updateGlobalIntentId()
978 return mSettingsModel.getClockStyle(); in getClockStyle()
986 return mSettingsModel.getDisplayClockSeconds(); in getDisplayClockSeconds()
994 mSettingsModel.setDisplayClockSeconds(displaySeconds); in setDisplayClockSeconds()
[all …]
DDataModel.kt155 private var mSettingsModel: SettingsModel? = null variable in com.android.deskclock.data.DataModel
194 mSettingsModel = SettingsModel(mContext!!, prefs, mTimeModel!!) in init()
195 mCityModel = CityModel(mContext!!, prefs, mSettingsModel!!) in init()
196 mAlarmModel = AlarmModel(mContext!!, mSettingsModel!!) in init()
199 mTimerModel = TimerModel(mContext!!, prefs, mSettingsModel!!, mRingtoneModel!!, in init()
957 get() = mSettingsModel!!.globalIntentId
964 mSettingsModel!!.updateGlobalIntentId() in updateGlobalIntentId()
973 return mSettingsModel!!.clockStyle
982 return mSettingsModel!!.displayClockSeconds
989 mSettingsModel!!.displayClockSeconds = displaySeconds
[all …]
DAlarmModel.kt34 private val mSettingsModel: SettingsModel constant
51 mDefaultAlarmRingtoneUri = mSettingsModel.defaultAlarmRingtoneUri
59 mSettingsModel.defaultAlarmRingtoneUri = uri
65 get() = mSettingsModel.alarmCrescendoDuration
68 get() = mSettingsModel.alarmVolumeButtonBehavior
71 get() = mSettingsModel.alarmTimeout
74 get() = mSettingsModel.snoozeLength
DCityModel.java50 private final SettingsModel mSettingsModel; field in CityModel
84 mSettingsModel = settingsModel; in CityModel()
129 final TimeZone timeZone = mSettingsModel.getHomeTimeZone(); in getHomeCity()
194 final CitySort citySort = mSettingsModel.getCitySort(); in getCityIndexComparator()
206 return mSettingsModel.getCitySort(); in getCitySort()
213 mSettingsModel.toggleCitySort(); in toggleCitySort()
229 final CitySort citySort = mSettingsModel.getCitySort(); in getCitySortComparator()
DTimerModel.java74 private final SettingsModel mSettingsModel; field in TimerModel
136 mSettingsModel = settingsModel; in TimerModel()
400 return mSettingsModel.getDefaultTimerRingtoneUri(); in getDefaultTimerRingtoneUri()
415 mTimerRingtoneUri = mSettingsModel.getTimerRingtoneUri(); in getTimerRingtoneUri()
425 mSettingsModel.setTimerRingtoneUri(uri); in setTimerRingtoneUri()
457 return mSettingsModel.getTimerCrescendoDuration(); in getTimerCrescendoDuration()
464 return mSettingsModel.getTimerVibrate(); in getTimerVibrate()
471 mSettingsModel.setTimerVibrate(enabled); in setTimerVibrate()
DTimerModel.kt52 private val mSettingsModel: SettingsModel, constant in com.android.deskclock.data.TimerModel
359 get() = mSettingsModel.defaultTimerRingtoneUri
373 mTimerRingtoneUri = mSettingsModel.timerRingtoneUri
382 mSettingsModel.timerRingtoneUri = uri
414 get() = mSettingsModel.timerCrescendoDuration
420 get() = mSettingsModel.timerVibrate
425 mSettingsModel.timerVibrate = enabled