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

1 2 3 4

  /frameworks/base/core/java/android/app/
Notification.aidl 19 parcelable Notification;
INotificationManager.aidl 21 import android.app.Notification;
28 void enqueueNotification(String pkg, int id, in Notification notification, inout int[] idReceived);
35 void enqueueNotificationWithTag(String pkg, String tag, int id, in Notification notification, inout int[] idReceived);
Notification.java 34 * A class that represents how a persistent notification is to be presented to
41 public class Notification implements Parcelable
49 * Use the default notification sound. This will ignore any given
57 * Use the default notification vibrate. This will ignore any given
66 * Use the default notification lights. This will ignore the
75 * The timestamp for the notification. The icons and expanded views
86 * The number of events that this notification represents. For example, in a new mail
87 * notification, this could be the number of unread messages. This number is superimposed over
112 * An intent to launch instead of posting the notification to the status bar.
117 * to turn it off and use a normal notification, as this can be extremel
    [all...]
  /external/webkit/WebCore/notifications/
NotificationPresenter.h 42 class Notification;
58 // Requests that a notification be shown.
59 virtual bool show(Notification*) = 0;
61 // Requests that a notification that has already been shown be canceled.
62 virtual void cancel(Notification*) = 0;
64 // Informs the presenter that a Notification object has been destroyed
66 // the notification, but must not attempt to call the event handlers.
67 virtual void notificationObjectDestroyed(Notification*) = 0;
Notification.h 56 class Notification : public RefCounted<Notification>, public ActiveDOMObject, public EventTarget {
58 static Notification* create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider) { return new Notification(url, context, ec, provider); }
59 static Notification* create(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider) { return new Notification(contents, context, ec, provider); }
61 virtual ~Notification();
74 using RefCounted<Notification>::ref;
75 using RefCounted<Notification>::deref;
79 virtual Notification* toNotification() { return this;
    [all...]
Notification.cpp 36 #include "Notification.h"
45 Notification::Notification(const String& url, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider)
65 Notification::Notification(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider)
86 Notification::~Notification()
91 void Notification::show()
98 void Notification::cancel()
104 EventTargetData* Notification::eventTargetData(
    [all...]
NotificationCenter.idl 37 [V8Custom] Notification createHTMLNotification(in DOMString url) raises(Exception);
38 [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(Exception);
NotificationCenter.h 34 #include "Notification.h"
52 Notification* createHTMLNotification(const String& URI, ExceptionCode& ec)
58 return Notification::create(KURL(ParsedURLString, URI), context(), ec, presenter());
61 Notification* createNotification(const String& iconURI, const String& title, const String& body, ExceptionCode& ec)
68 return Notification::create(contents, context(), ec, presenter());
  /external/webkit/WebKit/win/WebCoreSupport/
WebDesktopNotificationsDelegate.h 32 #include <WebCore/Notification.h>
49 virtual bool show(WebCore::Notification* object);
50 virtual void cancel(WebCore::Notification* object);
51 virtual void notificationObjectDestroyed(WebCore::Notification* object);
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
NotificationTestList.java 27 import android.app.Notification;
72 Notification n = new Notification();
86 Notification n = new Notification(R.drawable.icon1, "No view",
94 Notification n = new Notification(R.drawable.icon1, "No intent",
106 mNM.notify(1, new Notification(NotificationTestList.this,
112 mNM.notify(2, new Notification(NotificationTestList.this,
118 mNM.notify(3, new Notification(NotificationTestList.this
    [all...]
  /external/webkit/WebKit/chromium/src/
NotificationPresenterImpl.h 54 virtual bool show(WebCore::Notification* object);
55 virtual void cancel(WebCore::Notification* object);
56 virtual void notificationObjectDestroyed(WebCore::Notification* object);
NotificationPresenterImpl.cpp 37 #include "Notification.h"
80 bool NotificationPresenterImpl::show(Notification* notification)
82 return m_presenter->show(PassRefPtr<Notification>(notification));
85 void NotificationPresenterImpl::cancel(Notification* notification)
87 m_presenter->cancel(PassRefPtr<Notification>(notification));
90 void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification
    [all...]
WebNotification.cpp 36 #include "Notification.h"
47 class WebNotificationPrivate : public Notification {
117 WebNotification::WebNotification(const WTF::PassRefPtr<Notification>& notification)
118 : m_private(static_cast<WebNotificationPrivate*>(notification.releaseRef()))
122 WebNotification& WebNotification::operator=(const WTF::PassRefPtr<Notification>& notification)
124 assign(static_cast<WebNotificationPrivate*>(notification.releaseRef()));
128 WebNotification::operator WTF::PassRefPtr<Notification>() const
130 return WTF::PassRefPtr<Notification>(const_cast<WebNotificationPrivate*>(m_private))
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeSystemFacade.java 3 import android.app.Notification;
23 Map<Long,Notification> mActiveNotifications = new HashMap<Long,Notification>();
24 List<Notification> mCanceledNotifications = new ArrayList<Notification>();
62 public void postNotification(long id, Notification notification) {
63 if (notification == null) {
64 throw new AssertionFailedError("Posting null notification");
66 mActiveNotifications.put(id, notification);
71 Notification notification = mActiveNotifications.remove(id); local
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java 4 import android.app.Notification;
50 * Post a system notification to the NotificationManager.
52 public void postNotification(long id, Notification notification);
55 * Cancel a system notification.
  /cts/tests/tests/app/src/android/app/cts/
NotificationTest.java 19 import android.app.Notification;
33 @TestTargetClass(Notification.class)
36 private Notification mNotification;
49 mNotification = new Notification();
55 method = "Notification",
60 method = "Notification",
68 mNotification = new Notification();
74 mNotification = new Notification(0, TICKER_TEXT, notificationTime);
87 mNotification = new Notification();
99 method = "Notification",
    [all...]
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...]
  /external/webkit/WebKit/chromium/public/
WebNotification.h 37 namespace WebCore { class Notification; }
47 // Represents access to a desktop notification.
68 // Is the notification HTML vs. icon-title-text?
71 // If HTML, the URL which contains the contents of the notification.
74 // If not HTML, the parameters for the icon-title-text notification.
79 // Called to indicate the notification has been displayed.
82 // Called to indicate an error has occurred with this notification.
85 // Called to indicate the notification has been closed. If it was
91 WebNotification(const WTF::PassRefPtr<WebCore::Notification>&);
92 WebNotification& operator=(const WTF::PassRefPtr<WebCore::Notification>&)
    [all...]
  /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...]
  /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);
43 public Notification notification; field in class:StatusBarNotification
49 int uid, int initialPid, Notification notification) {
51 if (notification == null) throw new NullPointerException();
58 this.notification = notification;
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 19 import android.app.Notification;
68 // Put up a notification that leads to the dialog
78 Notification notification = new Notification(android.R.drawable.stat_sys_data_bluetooth, local
81 notification.setLatestEventInfo(context,
85 notification.flags = Notification.FLAG_AUTO_CANCEL | Notification.FLAG_ONLY_ALERT_ONCE;
86 notification.defaults = Notification.DEFAULT_SOUND
    [all...]
  /packages/apps/Email/src/com/android/exchange/
CalendarSyncEnabler.java 25 import android.app.Notification;
53 * Enable calendar sync for all the existing exchange accounts, and post a notification if any.
81 // Accumulate addresses for notification.
91 * Show the "Exchange calendar added" notification.
94 * be shown on the notification.
102 Notification n = new Notification(R.drawable.stat_notify_calendar,
105 n.flags = Notification.FLAG_AUTO_CANCEL;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalService.java 19 import android.app.Notification;
63 // Display a notification about us starting. We put an icon in the status bar.
77 // Cancel the persistent notification.
94 * Show a notification while this service is running.
97 // In this sample, we'll use the same text for the ticker and the expanded notification
101 Notification notification = new Notification(R.drawable.stat_sample, text, 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
    [all...]
StatusBarNotifications.java 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 local
219 final Notification notification = new Notification( local
    [all...]

Completed in 581 milliseconds

1 2 3 4