Home
last modified time | relevance | path

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

/developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
DActiveNotificationsFragment.java167 int notificationId = sNotificationId++; in getNewNotificationId() local
172 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) { in getNewNotificationId()
173 notificationId = sNotificationId++; in getNewNotificationId()
175 return notificationId; in getNewNotificationId()
/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DDismissListener.java77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); in onStartCommand() local
78 if (notificationId == Constants.BOTH_ID) { in onStartCommand()
79 dismissWearableNotification(notificationId); in onStartCommand()
DSynchronizedNotificationsFragment.java97 private void buildLocalOnlyNotification(String title, String content, int notificationId, in buildLocalOnlyNotification() argument
116 NotificationManagerCompat.from(this.getActivity()).notify(notificationId, builder.build()); in buildLocalOnlyNotification()
/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
DNotificationUpdateService.java71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); in onStartCommand() local
72 if (notificationId == Constants.BOTH_ID) { in onStartCommand()
73 dismissPhoneNotification(notificationId); in onStartCommand()
/developers/samples/android/experimental/markgoldstein/
Dsnippets1.java11 int notificationId = 001;
/developers/samples/android/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/
DHomeListenerService.java95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); in deleteDataItem() local
96 if (notificationId != null) { in deleteDataItem()
97 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId); in deleteDataItem()
/developers/samples/android/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
DQuizListenerService.java155 int notificationId = Integer.parseInt(uri.getLastPathSegment()); in onDataChanged() local
157 .cancel(notificationId); in onDataChanged()