Home
last modified time | relevance | path

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

/development/samples/browseable/ActiveNotifications/src/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()
/development/samples/browseable/SynchronizedNotifications/Application/src/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()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/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()
/development/samples/browseable/AgendaData/Wearable/src/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()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java155 int notificationId = Integer.parseInt(uri.getLastPathSegment()); in onDataChanged() local
157 .cancel(notificationId); in onDataChanged()