/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, if this is the 87 * new mail notification, this would be the number of unread messages. This number is 118 * The view that shows when this notification is shown in the expanded status bar. 135 * To play the default notification sound, see {@link #defaults}. [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);
|
WebDesktopNotificationsDelegate.cpp | 45 static NotificationCOMWrapper* create(Notification* inner) { return new NotificationCOMWrapper(inner); } 63 NotificationCOMWrapper(Notification* inner) : m_refCount(1), m_inner(inner) {} 66 Notification* m_inner; 149 bool WebDesktopNotificationsDelegate::show(Notification* object) 156 void WebDesktopNotificationsDelegate::cancel(Notification* object) 162 void WebDesktopNotificationsDelegate::notificationObjectDestroyed(Notification* object)
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 26 import android.app.Notification; 70 Notification n = new Notification(); 84 Notification n = new Notification(R.drawable.icon1, "No view", 92 Notification n = new Notification(R.drawable.icon1, "No intent", 104 mNM.notify(1, new Notification(NotificationTestList.this, 110 mNM.notify(2, new Notification(NotificationTestList.this, 116 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...] |
/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...] |
/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...] |
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...] |
IncomingMessage.java | 22 import android.app.Notification; 75 * The notification is the icon and associated expanded entry in the 79 // look up the notification manager service 86 // The PendingIntent to launch our activity if the user selects this notification 93 // construct the Notification object. 94 Notification notif = new Notification(R.drawable.stat_sample, tickerText, 97 // Set the info for the views that show in the notification panel. 105 // the notification. It could be any integer you want, but we use 107 // the notification. It will always be a unique number within you [all...] |
NotifyingService.java | 23 import android.app.Notification; 45 // variable which controls the notification thread 62 // Cancel the persistent notification. 95 // In this sample, we'll use the same text for the ticker and the expanded notification 103 Notification notification = new Notification(moodId, null, System.currentTimeMillis()); local 105 // The PendingIntent to launch our activity if the user selects this notification 109 // Set the info for the views that show in the notification panel. 110 notification.setLatestEventInfo(this, getText(R.string.status_bar_notifications_mood_title) [all...] |