Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DDataModel.java69 private NotificationModel mNotificationModel; field in DataModel
87 mNotificationModel = new NotificationModel(); in setContext()
90 mStopwatchModel = new StopwatchModel(mContext, mNotificationModel); in setContext()
91 mTimerModel = new TimerModel(mContext, mSettingsModel, mNotificationModel); in setContext()
139 if (mNotificationModel.isApplicationInForeground() != inForeground) { in setApplicationInForeground()
140 mNotificationModel.setApplicationInForeground(inForeground); in setApplicationInForeground()
152 return mNotificationModel.isApplicationInForeground(); in isApplicationInForeground()
DStopwatchModel.java53 private final NotificationModel mNotificationModel; field in StopwatchModel
69 mNotificationModel = notificationModel; in StopwatchModel()
97 if (!mNotificationModel.isApplicationInForeground()) { in setStopwatch()
133 if (!mNotificationModel.isApplicationInForeground()) { in addLap()
198 if (stopwatch.isReset() || mNotificationModel.isApplicationInForeground()) { in updateNotification()
199 mNotificationManager.cancel(mNotificationModel.getStopwatchNotificationId()); in updateNotification()
308 mNotificationManager.notify(mNotificationModel.getStopwatchNotificationId(), notification); in updateNotification()
DTimerModel.java78 private final NotificationModel mNotificationModel; field in TimerModel
124 mNotificationModel = notificationModel; in TimerModel()
590 if (mNotificationModel.isApplicationInForeground()) { in updateNotification()
591 mNotificationManager.cancel(mNotificationModel.getUnexpiredTimerNotificationId()); in updateNotification()
605 mNotificationManager.cancel(mNotificationModel.getUnexpiredTimerNotificationId()); in updateNotification()
713 final int notificationId = mNotificationModel.getUnexpiredTimerNotificationId(); in updateNotification()
822 final int notificationId = mNotificationModel.getExpiredTimerNotificationId(); in updateHeadsUpNotification()