HomeSort by relevance Sort by last modified time
    Searched defs:notification (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /packages/apps/Mms/src/com/android/mms/transaction/
SimFullReceiver.java 23 import android.app.Notification;
33 * Receive Intent.SIM_FULL_ACTION. Handle notification that SIM is full.
52 Notification notification = new Notification(); local
53 notification.icon = R.drawable.stat_sys_no_sim;
54 notification.tickerText = context.getString(R.string.sim_full_title);
55 notification.defaults = Notification.DEFAULT_ALL;
57 notification.setLatestEventInfo
    [all...]
SmsRejectedReceiver.java 21 import android.app.Notification;
33 * Receive Intent.SMS_REJECTED. Handle notification that received SMS messages are being
64 Notification notification = new Notification(); local
67 notification.icon = R.drawable.stat_sys_no_sim;
77 notification.tickerText = context.getString(titleId);
78 notification.defaults = Notification.DEFAULT_ALL;
80 notification.setLatestEventInfo
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8NotificationCenterCustom.cpp 37 #include "Notification.h"
56 RefPtr<Notification> notification = notificationCenter->createHTMLNotification(url, ec); local
61 notification->ref();
62 return toV8(notification.get());
71 RefPtr<Notification> notification = notificationCenter->createNotification(toWebCoreString(args[0]), toWebCoreString(args[1]), toWebCoreString(args[2]), ec); local
76 notification->ref();
77 return toV8(notification.get());
  /cts/tests/tests/app/src/android/app/cts/
NotificationManagerTest.java 19 import android.app.Notification;
57 args = {int.class, android.app.Notification.class}
65 @ToBeFixed(bug = "1716929", explanation = "NotificationManager#notify(int, Notification) "
76 args = {int.class, android.app.Notification.class}
96 args = {int.class, android.app.Notification.class}
114 final Notification notification = new Notification( local
124 notification.setLatestEventInfo(mContext, "notify#" + id, "This is #" + id
125 + "notification ", pendingIntent)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmService_Service.java 23 import android.app.Notification;
61 // Cancel the notification -- we use the same ID that we had used to start it
96 * Show a notification while this service is running.
99 // In this sample, we'll use the same text for the ticker and the expanded notification
103 Notification notification = new Notification(R.drawable.stat_sample, text, local
106 // The PendingIntent to launch our activity if the user selects this notification
110 // Set the info for the views that show in the notification panel.
111 notification.setLatestEventInfo(this, getText(R.string.alarm_service_label)
    [all...]
LocalService.java 19 import android.app.Notification;
48 // Unique Identification Number for the Notification.
49 // We use it on Notification start, and to cancel it.
50 private int NOTIFICATION = R.string.local_service_started;
67 // Display a notification about us starting. We put an icon in the status bar.
81 // Cancel the persistent notification.
82 mNM.cancel(NOTIFICATION);
98 * Show a notification while this service is running.
101 // In this sample, we'll use the same text for the ticker and the expanded notification
105 Notification notification = new Notification(R.drawable.stat_sample, text local
    [all...]
MessengerService.java 19 import android.app.Notification;
53 /** For showing and hiding our notification. */
123 // Display a notification about us starting.
129 // Cancel the persistent notification.
146 * Show a notification while this service is running.
149 // In this sample, we'll use the same text for the ticker and the expanded notification
153 Notification notification = new Notification(R.drawable.stat_sample, text, local
156 // The PendingIntent to launch our activity if the user selects this notification
    [all...]
NotifyingService.java 23 import android.app.Notification;
44 // variable which controls the notification thread
61 // Cancel the persistent notification.
94 // In this sample, we'll use the same text for the ticker and the expanded notification
102 Notification notification = new Notification(moodId, null, System.currentTimeMillis()); local
104 // The PendingIntent to launch our activity if the user selects this notification
108 // Set the info for the views that show in the notification panel.
109 notification.setLatestEventInfo(this, getText(R.string.status_bar_notifications_mood_title)
    [all...]
StatusBarNotifications.java 22 import android.app.Notification;
50 // Get the notification manager serivce.
122 setDefault(Notification.DEFAULT_SOUND);
129 setDefault(Notification.DEFAULT_VIBRATE);
136 setDefault(Notification.DEFAULT_ALL);
150 // notification. Note the use of FLAG_UPDATE_CURRENT so that if there
162 // into an application representing the data in the notification; to
176 // "App/Notification"
178 intents[2].putExtra("com.example.android.apis.Path", "App/Notification");
184 // notification. Note the use of FLAG_UPDATE_CURRENT so that if ther
201 Notification notification = new Notification(moodId, tickerText, local
251 final Notification notification = new Notification( local
    [all...]
ForegroundService.java 20 import android.app.Notification;
55 int.class, Notification.class};
83 void startForegroundCompat(int id, Notification notification) {
87 mStartForegroundArgs[1] = notification;
95 mNM.notify(id, notification);
141 // Make sure our notification is gone.
166 // In this sample, we'll use the same text for the ticker and the expanded notification
170 Notification notification = new Notification(R.drawable.stat_sample, text local
    [all...]
RemoteService.java 20 import android.app.Notification;
73 // Display a notification about us starting.
84 // Cancel the persistent notification.
180 * Show a notification while this service is running.
183 // In this sample, we'll use the same text for the ticker and the expanded notification
187 Notification notification = new Notification(R.drawable.stat_sample, text, local
190 // The PendingIntent to launch our activity if the user selects this notification
194 // Set the info for the views that show in the notification panel
    [all...]
ServiceStartArguments.java 20 import android.app.Notification;
110 // notification.
174 * Show a notification while this service is running.
178 Notification notification = new Notification(R.drawable.stat_sample, text, local
181 // The PendingIntent to launch our activity if the user selects this notification
185 // Set the info for the views that show in the notification panel.
186 notification.setLatestEventInfo(this, getText(R.string.service_start_arguments_label),
190 notification.flags |= Notification.FLAG_ONGOING_EVENT
    [all...]
  /frameworks/base/core/java/com/android/internal/statusbar/
StatusBarNotification.java 19 import android.app.Notification;
26 boolean clearable = !n.ongoingEvent && ((notification.flags & Notification.FLAG_NO_CLEAR) == 0);
48 public Notification notification; field in class:StatusBarNotification
55 int uid, int initialPid, Notification notification) {
57 if (notification == null) throw new NullPointerException();
64 this.notification = notification;
    [all...]
  /frameworks/base/core/tests/notificationtests/src/android/app/
NotificationStressTest.java 31 * Test which spams notification manager with a large number of notifications, for both stress and
72 // Cancel one of every five notifications to vary load on notification manager
80 // Create "typical" notification with random icon
81 Notification notification = new Notification(ICONS[mRandom.nextInt(ICONS.length)], text, local
88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
89 mNotificationManager.notify(id, notification);
  /external/webkit/Tools/DumpRenderTree/chromium/
NotificationPresenter.cpp 47 static WebString identifierForNotification(const WebNotification& notification)
49 if (notification.isHTML())
50 return notification.url().spec().utf16();
51 return notification.title();
56 WebNotification* notification = static_cast<WebNotification*>(context); local
57 notification->dispatchDisplayEvent();
58 delete notification;
74 const WebNotification& notification = m_activeNotifications.find(id)->second; local
75 WebNotification eventTarget(notification);
81 bool NotificationPresenter::show(const WebNotification& notification)
    [all...]
  /external/chromium/chrome/browser/sync/notifier/
p2p_notifier.cc 93 VLOG(1) << "Sending XMPP notification...";
94 notifier::Notification notification; local
95 notification.channel = kSyncNotificationChannel;
96 notification.data = kSyncNotificationData;
97 talk_mediator_->SendNotification(notification);
109 const notifier::Notification& notification) {
111 VLOG(1) << "Sync received P2P notification.";
112 if (notification.channel != kSyncNotificationChannel)
    [all...]
  /external/chromium/chrome/browser/notifications/
balloon.h 5 // Handles the visible notification (or balloons).
20 class Notification;
32 // Notify that the content of notification has chagned.
48 // Represents a Notification on the screen.
51 Balloon(const Notification& notification,
56 const Notification& notification() const { return *notification_.get(); } function in class:Balloon
98 // Notify that the content of notification has changed.
99 virtual void Update(const Notification& notification)
    [all...]
notification_options_menu_model.cc 15 #include "chrome/browser/notifications/notification.h"
115 const Notification& notification = balloon->notification(); local
116 const GURL& origin = notification.origin_url();
122 // We get back no extension here when we show the notification after
132 notification.display_source());
161 const Notification& notification = balloon_->notification(); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 19 import android.app.Notification;
35 public StatusBarNotification notification; field in class:NotificationData.Entry
44 this.notification = n;
51 final StatusBarNotification na = a.notification;
52 final StatusBarNotification nb = b.notification;
56 : (int)(na.notification.when - nb.notification.when);
89 public int add(IBinder key, StatusBarNotification notification, View row, View content,
93 entry.notification = notification;
    [all...]
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
SmsMessageReceiver.java 19 import android.app.Notification;
56 Notification.Builder notification = new Notification.Builder(context) local
70 notificationManager.notify(notificationId, notification.getNotification());
86 // intent of a previous message and notification.
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 21 import android.app.Notification;
83 * a system notification that will guide the user to the WebSettings UI. There,
102 // The system status bar notification id.
104 // The time of the last out of space notification
106 // Delay between two notification in ms
108 // Delay in ms used when resetting the notification time
242 // We only fire the notification if there are some other websites
246 // the notification would not help at all since there is nothing
324 // We only fire the notification if there are some other websites
328 // the notification would not help at all since there is nothin
409 Notification notification = new Notification(icon, title, when); local
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertService.java 19 import android.app.Notification;
43 /** Identifier for notification ID extra. */
99 // add notification to the bar
184 Notification notification = new Notification(R.drawable.stat_color_warning, local
193 notification.setLatestEventInfo(this, channelName, messageBody, pi);
197 // Emergency: open notification immediately
198 notification.fullScreenIntent = pi;
199 // use default notification lights (CellBroadcastAlertAudio plays sound/vibration
    [all...]
  /packages/apps/Phone/src/com/android/phone/
EmergencyCallbackModeService.java 19 import android.app.Notification;
44 * Application service that inserts/removes Emergency Callback Mode notification and
45 * updates Emergency Callback Mode countdown clock in the notification
101 // Unregister ECM timer reset notification
104 // Cancel the notification and timer
133 * Start timer notification for Emergency Callback Mode
140 // Show the notification
143 // Start countdown timer for the notification updates
161 * Shows notification for Emergency Callback Mode
166 Notification notification = new Notification local
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 19 import android.app.Notification;
73 // activity dialog or notification.
87 // Put up a notification that leads to the dialog
97 Notification notification = new Notification( local
102 notification.setLatestEventInfo(context,
106 notification.flags = Notification.FLAG_AUTO_CANCEL |
107 Notification.FLAG_ONLY_ALERT_ONCE
    [all...]
  /external/chromium/chrome/browser/chromeos/extensions/
file_browser_event_router.cc 224 chromeos::SystemNotification* notification = local
231 linked_ptr<chromeos::SystemNotification>(notification)));
232 notification->Show(message, false, false);

Completed in 2566 milliseconds

1 2 3 4