Searched refs:mNotificationModel (Results 1 – 3 of 3) sorted by relevance
69 private NotificationModel mNotificationModel; field in DataModel87 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()
53 private final NotificationModel mNotificationModel; field in StopwatchModel69 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()
78 private final NotificationModel mNotificationModel; field in TimerModel124 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()