/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); 36 void enqueueNotificationWithTagPriority(String pkg, String tag, int id, int priority, in Notification notification, inout int[] idReceived);
|
/external/chromium/chrome/browser/notifications/ |
notification.cc | 5 #include "chrome/browser/notifications/notification.h" 7 Notification::Notification(const GURL& origin_url, 19 Notification::Notification(const Notification& notification) 20 : origin_url_(notification.origin_url()), 21 content_url_(notification.content_url()), 22 display_source_(notification.display_source()) [all...] |
notification.h | 17 // Representation of an notification to be shown to the user. All 20 class Notification { 22 Notification(const GURL& origin_url, 27 Notification(const Notification& notification); 28 ~Notification(); 29 Notification& operator=(const Notification& notification); [all...] |
balloon_collection_base.h | 5 // Handles the visible notification (or balloons). 18 class Notification; 36 // Finds any balloon matching the given notification id, and 41 // Finds all balloons matching the given notification source, 51 // Returns the balloon matching the given notification, or 53 Balloon* FindBalloon(const Notification& notification);
|
balloon.cc | 9 #include "chrome/browser/notifications/notification.h" 14 Balloon::Balloon(const Notification& notification, Profile* profile, 17 notification_(new Notification(notification)), 46 void Balloon::Update(const Notification& notification) { 48 notification_.reset(new Notification(notification));
|
/external/webkit/Source/WebCore/notifications/ |
NotificationPresenter.h | 42 class Notification; 57 // Requests that a notification be shown. 58 virtual bool show(Notification*) = 0; 60 // Requests that a notification that has already been shown be canceled. 61 virtual void cancel(Notification*) = 0; 63 // Informs the presenter that a Notification object has been destroyed 65 // the notification, but must not attempt to call the event handlers. 66 virtual void notificationObjectDestroyed(Notification*) = 0;
|
Notification.cpp | 36 #include "Notification.h" 49 Notification::Notification(const KURL& url, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) 69 Notification::Notification(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) 88 Notification::~Notification() 96 PassRefPtr<Notification> Notification::create(const KURL& url, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) 98 return adoptRef(new Notification(url, context, ec, provider)) [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);
|
Notification.h | 61 class Notification : public RefCounted<Notification>, public ActiveDOMObject, public ThreadableLoaderClient, public EventTarget { 64 static PassRefPtr<Notification> create(const KURL& url, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider); 65 static PassRefPtr<Notification> create(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider); 67 virtual ~Notification(); 89 using RefCounted<Notification>::ref; 90 using RefCounted<Notification>::deref; 94 virtual Notification* toNotification() { return this; } 115 Notification(const KURL&, ScriptExecutionContext*, ExceptionCode&, PassRefPtr<NotificationCenter>); 116 Notification(const NotificationContents&, ScriptExecutionContext*, ExceptionCode&, PassRefPtr<NotificationCente (…) [all...] |
NotificationCenter.h | 34 #include "Notification.h" 51 PassRefPtr<Notification> createHTMLNotification(const String& URI, ExceptionCode& ec) 61 return Notification::create(scriptExecutionContext()->completeURL(URI), scriptExecutionContext(), ec, this); 64 PassRefPtr<Notification> createNotification(const String& iconURI, const String& title, const String& body, ExceptionCode& ec) 71 return Notification::create(contents, scriptExecutionContext(), ec, this);
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
NotificationPresenterClientQt.h | 35 #include "Notification.h" 82 typedef QHash <Notification*, NotificationWrapper*> NotificationsQueue; 90 virtual bool show(Notification*); 91 virtual void cancel(Notification*); 92 virtual void notificationObjectDestroyed(Notification*); 107 Notification* notificationForWrapper(const NotificationWrapper*) const; 112 void sendEvent(Notification*, const AtomicString& eventName); 113 void displayNotification(Notification*, const QByteArray&); 114 void removeReplacedNotificationFromQueue(Notification*); 115 void detachNotification(Notification*); [all...] |
/external/webkit/Source/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);
|
/external/chromium/chrome/browser/chromeos/notifications/ |
system_notification_factory.h | 10 #include "chrome/browser/notifications/notification.h" 21 // Creates a system notification. 22 static Notification Create( 27 // Creates a system notification with a footer link. 28 static Notification Create(
|
balloon_collection_impl.h | 28 // A balloon collection represents a set of notification balloons being 29 // shown in the chromeos notification panel. Unlike other platforms, 30 // chromeos shows the all notifications in the notification panel, and 48 // Resize notification from webkit. 62 virtual void Add(const Notification& notification, 81 // there is no notification that matches NotificationDelegate::id(), 84 bool AddWebUIMessageCallback(const Notification& notification, 88 // Adds new system notification [all...] |
system_notification_factory.cc | 17 Notification SystemNotificationFactory::Create( 23 return Notification(GURL(), GURL(content_url), string16(), string16(), 28 Notification SystemNotificationFactory::Create( 32 // Create an icon notification with or without a footer link 54 return Notification(GURL(), GURL(content_url), string16(), string16(),
|
/external/webkit/Source/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...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 19 import android.app.Notification; 91 Notification n = new Notification(); 113 Notification n = new Notification(R.drawable.icon1, null, 116 n.flags |= Notification.FLAG_ONGOING_EVENT; 126 Notification n = new Notification(R.drawable.icon1, null, 129 "This is a notification!!!", null); 138 Notification n = new Notification(R.drawable.icon1, "tick tick tick" [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
NotificationControllerTest.java | 19 import android.app.Notification; 66 final Notification.Builder nb = new Notification.Builder(c); 68 Notification n; 82 assertTrue((n.defaults & Notification.DEFAULT_VIBRATE) != 0); 83 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set 84 assertTrue((n.defaults & Notification.DEFAULT_LIGHTS) != 0); // always set 95 assertFalse((n.defaults & Notification.DEFAULT_VIBRATE) != 0); // no vibe 96 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set 97 assertTrue((n.defaults & Notification.DEFAULT_LIGHTS) != 0); // always se [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SchedulerService.java | 19 import android.app.Notification; 29 Notification status = new Notification(R.drawable.stat_happy, null, 31 status.flags |= Notification.FLAG_ONGOING_EVENT;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
SystemFacade.java | 4 import android.app.Notification; 51 * Post a system notification to the NotificationManager. 53 public void postNotification(long id, Notification notification); 56 * 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...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebNotification.h | 38 namespace WebCore { class Notification; } 48 // Represents access to a desktop notification. 69 // Is the notification HTML vs. icon-title-text? 72 // If HTML, the URL which contains the contents of the notification. 82 // Called if the presenter goes out of scope before the notification does. 85 // Called to indicate the notification has been displayed. 88 // Called to indicate an error has occurred with this notification. 91 // Called to indicate the notification has been closed. If it was 96 // Called to indicate the notification was clicked on. 100 WebNotification(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...] |