Lines Matching refs:Notification
19 import android.app.Notification;
97 Notification n = new Notification();
119 Notification n = new Notification(R.drawable.icon1, null,
122 n.flags |= Notification.FLAG_ONGOING_EVENT;
132 Notification n = new Notification(R.drawable.icon1, null,
135 "This is a notification!!!", null);
144 Notification n = new Notification(R.drawable.icon1, "tick tick tick",
147 "This is a notification!!!", makeIntent());
154 Notification n = new Notification(R.drawable.icon1, "No view",
162 Notification n = new Notification(R.drawable.icon1, "No intent",
173 Notification n;
175 n = new Notification(NotificationTestList.this,
180 n.flags |= Notification.FLAG_ONGOING_EVENT;
184 mNM.notify(2, new Notification(NotificationTestList.this,
190 mNM.notify(3, new Notification(NotificationTestList.this,
200 Notification n = new Notification(R.layout.chrono_notification /* not an icon */,
203 "This is the same notification!!!", makeIntent());
210 Notification n = new Notification(R.layout.chrono_notification /* not an icon */,
213 "This is the same notification!!!", makeIntent());
220 Notification n = new Notification(0, null, System.currentTimeMillis());
222 "This is the same notification!!!", makeIntent());
229 Notification n = new Notification(R.drawable.icon2,
232 "This is the same notification!!!", makeIntent());
240 Notification n = new Notification(R.drawable.icon2,
243 "This is the same notification!!!", makeIntent());
253 Notification n = new Notification(NotificationTestList.this,
281 Notification n = new Notification(NotificationTestList.this,
285 n.flags |= Notification.FLAG_ONGOING_EVENT;
292 Notification n = new Notification(NotificationTestList.this,
296 //n.flags |= Notification.FLAG_ONGOING_EVENT;
305 Notification n = new Notification();
306 n.defaults |= Notification.DEFAULT_SOUND ;
324 Notification n = new Notification(R.drawable.icon1, null,
335 n.flags |= Notification.FLAG_ONGOING_EVENT;
362 Notification n = new Notification();
363 n.flags |= Notification.FLAG_SHOW_LIGHTS;
374 Notification n = new Notification();
375 n.flags |= Notification.FLAG_SHOW_LIGHTS;
386 Notification n = new Notification();
387 n.flags |= Notification.FLAG_SHOW_LIGHTS;
398 Notification n = new Notification();
399 n.flags |= Notification.FLAG_SHOW_LIGHTS;
410 Notification n = new Notification();
411 n.flags |= Notification.FLAG_SHOW_LIGHTS;
422 Notification n = new Notification();
423 n.flags |= Notification.FLAG_SHOW_LIGHTS;
434 Notification n = new Notification();
435 n.defaults |= Notification.DEFAULT_ALL;
443 Notification n = new Notification();
444 n.defaults |= Notification.DEFAULT_ALL;
445 Notification.FLAG_ONLY_ALERT_ONCE ;
453 Notification n = new Notification();
464 Notification n = new Notification();
477 Notification n = new Notification();
490 Notification n = new Notification();
500 Notification n = new Notification();
569 Notification n = new Notification(R.drawable.icon1, "tick tick tick",
572 "This is a notification!!!", makeIntent());
581 Notification n = new Notification(R.drawable.icon1,
591 "This is still a notification!!!",
601 Notification n = new Notification(R.drawable.icon2, "tock tock tock",
611 Notification n = new Notification(R.drawable.icon2, "tock tock tock\nmooooo",
621 Notification n = new Notification(R.drawable.icon2, "tock tock tock",
625 n.defaults = Notification.DEFAULT_VIBRATE;
632 Notification n = new Notification(R.drawable.icon2, null,
635 "This is the same notification!!!", makeIntent());
642 Notification n = new Notification(R.drawable.icon2, "me me me me",
647 n.flags |= Notification.FLAG_ONGOING_EVENT;
658 Notification n = new Notification();
716 Notification n = new Notification(
725 n.flags |= Notification.FLAG_ONGOING_EVENT;
729 Notification n = new Notification(
784 Notification n = new Notification.Builder(NotificationTestList.this)
788 .setPriority(Notification.PRIORITY_HIGH)
810 Notification n = new Notification.Builder(NotificationTestList.this)
814 .setPriority(Notification.PRIORITY_MAX)
836 Notification n = new Notification.Builder(NotificationTestList.this)
840 .setPriority(Notification.PRIORITY_MIN)
878 private Notification notificationWithNumbers(int num) {
879 Notification n = new Notification(this,
885 "Notification", "Number=" + num,
935 mNM.notify(n, new Notification(NotificationTestList.this,