Home
last modified time | relevance | path

Searched refs:mNotificationModel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchModel.kt37 private val mNotificationModel: NotificationModel constant in com.android.deskclock.data.StopwatchModel
100 if (!mNotificationModel.isApplicationInForeground) { in setStopwatch()
145 if (!mNotificationModel.isApplicationInForeground) { in addLap()
215 if (stopwatch.isReset || mNotificationModel.isApplicationInForeground) { in updateNotification()
216 mNotificationManager.cancel(mNotificationModel.stopwatchNotificationId) in updateNotification()
222 mNotificationBuilder.build(mContext, mNotificationModel, stopwatch) in updateNotification()
224 mNotificationManager.notify(mNotificationModel.stopwatchNotificationId, notification) in updateNotification()
DTimerModel.kt56 private val mNotificationModel: NotificationModel constant in com.android.deskclock.data.TimerModel
698 mNotificationManager.cancel(mNotificationModel.unexpiredTimerNotificationId) in updateNotification()
710 mNotificationBuilder.build(mContext, mNotificationModel, unexpired) in updateNotification()
711 val notificationId = mNotificationModel.unexpiredTimerNotificationId in updateNotification()
715 if (mNotificationModel.isApplicationInForeground) { in updateNotification()
718 mNotificationManager.cancel(mNotificationModel.unexpiredTimerNotificationId) in updateNotification()
732 if (mNotificationModel.isApplicationInForeground) { in updateMissedNotification()
733 mNotificationManager.cancel(mNotificationModel.missedTimerNotificationId) in updateMissedNotification()
740 mNotificationManager.cancel(mNotificationModel.missedTimerNotificationId) in updateMissedNotification()
745 mNotificationModel, missed) in updateMissedNotification()
[all …]
DDataModel.kt176 private var mNotificationModel: NotificationModel? = null variable in com.android.deskclock.data.DataModel
192 mNotificationModel = NotificationModel() in init()
197 mSilentSettingsModel = SilentSettingsModel(mContext!!, mNotificationModel!!) in init()
198 mStopwatchModel = StopwatchModel(mContext!!, prefs, mNotificationModel!!) in init()
200 mNotificationModel!!) in init()
276 return mNotificationModel!!.isApplicationInForeground
283 if (mNotificationModel!!.isApplicationInForeground != inForeground) {
284 mNotificationModel!!.isApplicationInForeground = inForeground
DSilentSettingsModel.kt55 private val mNotificationModel: NotificationModel constant in com.android.deskclock.data.SilentSettingsModel
109 if (mNotificationModel.isApplicationInForeground) { in updateSilentState()