Home
last modified time | relevance | path

Searched refs:notificationId (Results 1 – 15 of 15) 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/build/prebuilts/gradle/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/build/prebuilts/gradle/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/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/build/prebuilts/gradle/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/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/build/prebuilts/gradle/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/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/
DRecommendationBuilder.java228 private static File getNotificationBackground(Context context, int notificationId) { in getNotificationBackground() argument
229 return new File(context.getCacheDir(), "tmp" + Integer.toString(notificationId) + ".png"); in getNotificationBackground()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DMovieDetailsFragment.java110 private void removeNotification(int notificationId) { in removeNotification() argument
111 if (notificationId != NO_NOTIFICATION) { in removeNotification()
114 notificationManager.cancel(notificationId); in removeNotification()
/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()
/developers/build/prebuilts/gradle/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()