HomeSort by relevance Sort by last modified time
    Searched refs:Notification (Results 51 - 75 of 98) sorted by null

1 23 4

  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 21 import android.app.Notification;
119 * The notification that is shown when a network-initiated notification
124 private Notification mNiNotification;
148 // Show the notification
151 // when the user opens the notification message
177 // Sets the NI notification.
192 // Construct Notification
194 mNiNotification = new Notification();
195 mNiNotification.icon = com.android.internal.R.drawable.stat_sys_gps_on; /* Change notification icon here *
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadNotification.java 19 import android.app.Notification;
33 * This class handles the updating of the Notification Manager for the
36 * of this component to show the download in the notification manager.
61 * the same application. This is so that only one notification line
76 * Add a second download to this notification item.
96 * Notification Service
105 * Update the notification ui.
150 // Build the notification object
151 Notification n = new Notification();
    [all...]
RealSystemFacade.java 3 import android.app.Notification;
94 public void postNotification(long id, Notification notification) {
96 * TODO: The system notification manager takes ints, not longs, as IDs, but the download
100 mNotificationManager.notify((int) id, notification);
  /external/webkit/WebCore/bindings/js/
JSEventTarget.cpp 78 #include "Notification.h"
143 if (Notification* notification = target->toNotification())
144 return toJS(exec, notification);
193 CONVERT_TO_EVENT_TARGET(Notification)
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 19 import android.app.Notification;
33 public StatusBarNotification notification; field in class:NotificationData.Entry
60 public int add(IBinder key, StatusBarNotification notification, View row, View content,
64 entry.notification = notification;
69 final int index = chooseIndex(notification.notification.when);
90 if (entry.notification.notification.when > when) {
119 if ((entry.notification.notification.flags & Notification.FLAG_NO_CLEAR) == 0)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
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...]
RemoteService.java 20 import android.app.Notification;
73 // Display a notification about us starting.
84 // Cancel the persistent notification.
175 * Show a notification while this service is running.
178 // In this sample, we'll use the same text for the ticker and the expanded notification
182 Notification notification = new Notification(R.drawable.stat_sample, text, local
185 // The PendingIntent to launch our activity if the user selects this notification
189 // Set the info for the views that show in the notification panel
    [all...]
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
TestActivity.java 20 import android.app.Notification;
PowerTest.java 20 import android.app.Notification;
29 import android.app.Notification;
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 19 import android.app.Notification;
81 * a system notification that will guide the user to the WebSettings UI. There,
100 // The system status bar notification id.
102 // The time of the last out of space notification
104 // Delay between two notification in ms
106 // Delay in ms used when resetting the notification time
240 // We only fire the notification if there are some other websites
244 // the notification would not help at all since there is nothing
322 // We only fire the notification if there are some other websites
326 // the notification would not help at all since there is nothin
409 Notification notification = new Notification(icon, title, when); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 37 import android.app.Notification;
160 // Ensure not conflict with Opp notification ID
641 Notification notification = null; local
646 notification = new Notification(android.R.drawable.stat_sys_data_bluetooth,
648 notification.setLatestEventInfo(this, getString(R.string.pbap_notif_title),
652 notification.flags |= Notification.FLAG_AUTO_CANCEL;
653 notification.flags |= Notification.FLAG_ONLY_ALERT_ONCE
    [all...]
  /packages/apps/Email/src/com/android/email/
SecurityPolicy.java 25 import android.app.Notification;
333 // Put up a notification
347 Notification notification = new Notification(R.drawable.stat_notify_email_generic, local
349 notification.setLatestEventInfo(mContext, contentTitle, contentText, pending);
351 // Use the account's notification rules for sound & vibrate (but always notify)
356 notification.sound = ringTone;
359 notification.defaults |= Notification.DEFAULT_VIBRATE
    [all...]
  /frameworks/base/services/java/com/android/server/
DeviceStorageMonitorService.java 20 import android.app.Notification;
47 * default 10%) a low memory notification is displayed to alert the
48 * user. If the user clicks on the low memory notification the
107 * notification if the device runs low on disk space
228 Slog.i(TAG, "Running low on memory. Sending notification");
234 "notification already sent. do nothing");
238 Slog.i(TAG, "Memory available. Cancelling notification");
328 * This method sends a notification to NotificationManager to display
333 if(localLOGV) Slog.i(TAG, "Sending low memory notification");
348 Notification notification = new Notification() local
    [all...]
UiModeManagerService.java 23 import android.app.Notification;
589 Notification n = new Notification();
591 n.defaults = Notification.DEFAULT_LIGHTS;
592 n.flags = Notification.FLAG_ONGOING_EVENT;
    [all...]
ThrottleService.java 20 import android.app.Notification;
111 private Notification mThrottlingNotification;
167 // notification..
376 // reregister for notification of policy change
556 Notification.FLAG_ONGOING_EVENT);
614 mThrottlingNotification = new Notification();
618 mThrottlingNotification.defaults &= ~Notification.DEFAULT_SOUND;
    [all...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 19 import android.app.Notification;
63 Notification note = new Notification(this, R.drawable.rss_icon, "RSS Service",
  /packages/apps/Email/src/com/android/email/service/
MailService.java 31 import android.app.Notification;
140 * appropriate database - this simply triggers the notification mechanism.
647 * The notification is organized around the account that has the new mail (e.g. selecting
648 * the alert preferences) but the notification will include a summary if other
679 // set up to post a notification
699 // prepare appropriate pending intent, set up notification, and send
703 Notification notification = new Notification( local
707 notification.setLatestEventInfo(this,
    [all...]
  /frameworks/base/core/java/android/app/
Service.java 196 * <li><p>A started service can use the {@link #startForeground(int, Notification)}
562 * {@link #startForeground(int, Notification)} instead. This method
579 * notification to be shown to the user while in this state.
594 * @param id The identifier for this notification as per
595 * {@link NotificationManager#notify(int, Notification)
596 * NotificationManager.notify(int, Notification)}.
597 * @param notification The Notification to be displayed.
601 public final void startForeground(int id, Notification notification) {
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
AlertService.java 20 import android.app.Notification;
96 // On reboot, update the notification bar with the contents of the
210 // Record the time posting to notification manager.
222 // Pick an Event title for the notification panel by the latest
278 Log.d(TAG, "###### creating new alarm notification, numReminders: " + numReminders
291 Notification notification = AlertReceiver.makeNewAlertNotification(context, eventName, local
293 notification.defaults |= Notification.DEFAULT_LIGHTS;
295 // Quietly update notification bar. Nothing new. Maybe something just got deleted
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
MessagingNotification.java 38 import android.app.Notification;
69 * This class is used to update the notification indicator. It will check whether
70 * there are unread messages. If yes, it would show the notification indicator,
124 Log.d(TAG, "[MessagingNotification] clear notification: mark all msgs seen");
138 // set up the intent filter for notification deleted action
143 // initialize the notification deleted action
149 * reports. Shows the most recent notification if there is one.
166 * reports. Shows the most recent notification if there is one.
467 Notification notification = new Notification(iconRes, ticker, timeMillis) local
611 Notification notification = new Notification(); local
    [all...]
  /external/webkit/WebCore/dom/
EventTarget.h 53 class Notification;
119 virtual Notification* toNotification();
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 25 import android.app.Notification;
335 // create the notification to send
337 Notification notification = new Notification(); local
338 notification.icon = android.R.drawable.stat_notify_call_mute;
339 notification.contentIntent = PendingIntent.getActivity(getActivity(), 0, new Intent(),
341 notification.tickerText = message;
342 notification.setLatestEventInfo(getActivity(), "", "", notification.contentIntent)
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkAppService.java 19 import android.app.Notification;
118 // Notification id used to display Idle Mode text in NotificationManager.
702 Notification notification = new Notification(); local
707 notification.flags |= Notification.FLAG_NO_CLEAR;
708 notification.icon = com.android.internal.R.drawable.stat_notify_sim_toolkit;
709 // Set text and icon for the status bar and notification body.
711 notification.tickerText = msg.text
    [all...]
  /frameworks/base/services/java/com/android/server/am/
ServiceRecord.java 23 import android.app.Notification;
81 int foregroundId; // Notification ID of last foreground req.
82 Notification foregroundNoti; // Notification record of foreground state.
328 // Do asynchronous communication with notification manager to
332 final Notification localForegroundNoti = foregroundNoti;
346 "Error showing notification for service", e);
347 // If it gave us a garbage notification, it doesn't
352 "Bad notification for startForeground: " + e);
361 // Do asynchronous communication with notification manager t
    [all...]
  /external/webkit/WebCore/bindings/v8/
V8DOMWrapper.h 141 static PassRefPtr<EventListener> getEventListener(Notification* notification, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup);

Completed in 1678 milliseconds

1 23 4