/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);
|
/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);
|
/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...] |
/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);
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
NotificationCompatHoneycomb.java | 19 import android.app.Notification; 26 static Notification add(Context context, Notification n, 30 Notification.Builder b = new Notification.Builder(context) 38 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 39 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 40 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 48 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0)
|
/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(),
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 19 import android.app.Notification; 99 Notification n = new Notification(); 121 Notification n = new Notification(R.drawable.icon1, null, 124 n.flags |= Notification.FLAG_ONGOING_EVENT; 134 Notification n = new Notification(R.drawable.icon1, null, 137 "This is a notification!!!", null); 146 Notification n = new Notification(R.drawable.icon1, "tick tick tick" [all...] |
/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...] |
/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;
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
NotificationsActivity.java | 22 import android.app.Notification; 38 Notification.Builder builder = new Notification.Builder(this) 39 .setTicker("Direct Notification") 41 .setContentTitle("Direct Notification") 47 .putExtra(ContentViewActivity.EXTRA_TEXT, "From Notification")) 54 Notification.Builder builder = new Notification.Builder(this) 55 .setTicker("Interstitial Notification") 57 .setContentTitle("Interstitial Notification") [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationShowcaseActivity.java | 9 import android.app.Notification; 53 private ArrayList<Notification> mNotifications = new ArrayList<Notification>(); 98 // mNotifications.add(new Notification.Builder(this) 103 // .setPriority(Notification.PRIORITY_HIGH) 107 // mNotifications.add(new Notification.Builder(this) 113 // .setPriority(Notification.PRIORITY_MAX) 117 Notification.BigTextStyle bigTextStyle = new Notification.BigTextStyle(); 119 Notification.Builder bigTextNotification = new Notification.Builder(this [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
NotificationCompat.java | 19 import android.app.Notification; 31 * Bit to be bitwise-ored into the {@link Notification#flags} field that should be set if 32 * this notification represents a high-priority event that may be shown to the user even 43 public Notification getNotification(Builder b); 47 public Notification getNotification(Builder b) { 48 Notification result = (Notification) b.mNotification; 56 public Notification getNotification(Builder b) { 72 * Builder class for {@link Notification} objects. Allows easier control over 73 * all the flags, as well as help constructing the typical notification layouts [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
SystemFacade.java | 4 import android.app.Notification; 53 * Post a system notification to the NotificationManager. 55 public void postNotification(long id, Notification notification); 58 * Cancel a system notification.
|
/cts/tests/tests/app/src/android/app/cts/ |
NotificationTest.java | 19 import android.app.Notification; 30 private Notification mNotification; 43 mNotification = new Notification(); 48 mNotification = new Notification(); 54 mNotification = new Notification(0, TICKER_TEXT, notificationTime); 62 mNotification = new Notification(); 67 mNotification = new Notification(); 96 // Test Notification(Parcel) 97 Notification result = new Notification(parcel) [all...] |