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

1 2 3 4 5 6 7 8 9

  /frameworks/base/core/java/android/app/
Notification.aidl 19 parcelable Notification;
  /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)
  /frameworks/support/v4/ics/android/support/v4/app/
NotificationCompatIceCreamSandwich.java 19 import android.app.Notification;
26 static Notification add(Context context, Notification n,
31 Notification.Builder b = new Notification.Builder(context)
39 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0)
40 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0)
41 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0)
49 (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;
97 Notification n = new Notification();
119 Notification n = new Notification(R.drawable.icon1, null,
122 n.flags |= Notification.FLAG_ONGOING_EVENT;
132 Notification n = new Notification(R.drawable.icon1, null,
135 "This is a notification!!!", null);
144 Notification n = new Notification(R.drawable.icon1, "tick tick tick"
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNotificationManager.java 3 import android.app.Notification;
17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>();
21 public void notify(int id, Notification notification)
23 notify(null, id, notification);
27 public void notify(String tag, int id, Notification notification) {
31 notifications.put(id, notification);
61 public Notification getNotification(int id)
    [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...]
  /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/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/support/v4/jellybean/android/support/v4/app/
NotificationCompatJellybean.java 19 import android.app.Notification;
27 private Notification.Builder b;
28 public NotificationCompatJellybean(Context context, Notification n,
34 b = new Notification.Builder(context)
42 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0)
43 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0)
44 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0)
53 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0)
67 Notification.BigTextStyle style = new Notification.BigTextStyle(b
    [all...]
  /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...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
NotificationTest.java 4 import android.app.Notification;
19 Notification notification = new Notification(); local
20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent);
21 assertThat(pendingIntent, is(notification.contentIntent));
  /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...]

Completed in 806 milliseconds

1 2 3 4 5 6 7 8 9