Home | History | Annotate | Download | only in app

Lines Matching refs:Notification

22 import android.app.Notification;
49 // Get the notification manager serivce.
121 setDefault(Notification.DEFAULT_SOUND);
128 setDefault(Notification.DEFAULT_VIBRATE);
135 setDefault(Notification.DEFAULT_ALL);
149 // notification. Note the use of FLAG_UPDATE_CURRENT so that if there
161 // In this sample, we'll use the same text for the ticker and the expanded notification
168 Notification notification = new Notification(moodId, tickerText,
171 // Set the info for the views that show in the notification panel.
172 notification.setLatestEventInfo(this, getText(R.string.status_bar_notifications_mood_title),
175 // Send the notification.
177 mNotificationManager.notify(MOOD_NOTIFICATIONS, notification);
185 Notification notif = new Notification();
187 // This is who should be launched if the user selects our notification.
190 // In this sample, we'll use the same text for the ticker and the expanded notification
204 // notification
210 // This method sets the defaults on the notification before posting it.
212 // This is who should be launched if the user selects our notification.
216 // In this sample, we'll use the same text for the ticker and the expanded notification
219 final Notification notification = new Notification(
222 System.currentTimeMillis()); // the timestamp for the notification
224 notification.setLatestEventInfo(
227 // the title for the notification
228 text, // the details to display in the notification
231 notification.defaults = defaults;
235 // number. we use it later to cancel the notification
236 notification);