Home
last modified time | relevance | path

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

/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DVisibilityMetadataFragment.java108 Notification.Builder notificationBuilder = new Notification.Builder(getActivity()) in createNotification() local
111 notificationBuilder.setVisibility(visibility.getVisibility()); in createNotification()
112 notificationBuilder.setContentText(String.format("Visibility : %s", in createNotification()
114 notificationBuilder.setSmallIcon(visibility.getNotificationIconId()); in createNotification()
116 return notificationBuilder.build(); in createNotification()
DHeadsUpNotificationFragment.java114 Notification.Builder notificationBuilder = new Notification.Builder(getActivity()) in createNotification() local
127 notificationBuilder in createNotification()
131 return notificationBuilder.build(); in createNotification()
DOtherMetadataFragment.java179 Notification.Builder notificationBuilder = new Notification.Builder(getActivity()) in createNotification() local
187 notificationBuilder.addPerson(contactUri.toString()); in createNotification()
190 notificationBuilder.setLargeIcon(photoBitmap); in createNotification()
193 return notificationBuilder.build(); in createNotification()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java232 Notification.Builder notificationBuilder = new Notification.Builder(mService); in createNotification() local
237 notificationBuilder.addAction(R.drawable.ic_skip_previous_white_24dp, in createNotification()
247 addPlayPauseAction(notificationBuilder); in createNotification()
251 notificationBuilder.addAction(R.drawable.ic_skip_next_white_24dp, in createNotification()
273 notificationBuilder in createNotification()
287 setNotificationPlaybackState(notificationBuilder); in createNotification()
289 fetchBitmapFromURLAsync(fetchArtUrl, notificationBuilder); in createNotification()
292 return notificationBuilder.build(); in createNotification()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java134 Notification.Builder notificationBuilder = new Notification.Builder(this) in updateNotificationForDataItem() local
151 notificationBuilder.extend(new Notification.WearableExtender() in updateNotificationForDataItem()
162 Notification card = notificationBuilder.build(); in updateNotificationForDataItem()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java116 Notification.Builder notificationBuilder = new Notification.Builder(this) in setupLostConnectivityNotification() local
123 Notification card = notificationBuilder.build(); in setupLostConnectivityNotification()