HomeSort by relevance Sort by last modified time
    Searched full:notification (Results 1 - 25 of 994) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/WebKitTools/DumpRenderTree/win/
DRTDesktopNotificationPresenter.cpp 72 /* [in] */ IWebDesktopNotification* notification)
77 if (!notification->isHTML(&html) && html) {
78 notification->contentsURL(&url);
79 printf("DESKTOP NOTIFICATION: contents at %S\n", url ? url : L"");
81 notification->iconURL(&url);
82 notification->title(&title);
83 notification->text(&text);
84 printf("DESKTOP NOTIFICATION: icon %S, title %S, text %S\n",
90 // In this stub implementation, the notification is displayed immediately;
92 notification->notifyDisplay()
    [all...]
  /external/webkit/WebKit/chromium/src/
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/docs/html/guide/topics/ui/notifiers/
notifications.jd 10 <li>{@link android.app.Notification}</li>
17 <li><a href="#CreateANotification">Creating a Notification</a>
19 <li><a href="#Update">Updating the notification</a></li>
31 <p>A status bar notification adds an icon to the system's status bar
34 {@link android.content.Intent} that is defined by the notification (usually to launch an
36 You can also configure the notification to alert the user with a sound, a vibration, and flashing
39 <p>A status bar notification should be used for any case in
42 The Service should instead create a status bar notification that will launch the Activity
45 <p>The screenshot below shows the status bar with a notification icon on the left side.</p>
48 <p>The next screenshot shows the notification's expanded message in the "Notifications" window
    [all...]
index.jd 8 <li><a href="#Toast">Toast Notification</a></li>
9 <li><a href="#StatusBarNotification">Status Bar Notification</a></li>
10 <li><a href="#Dialog">Dialog Notification</a></li>
28 the application should create a notification that allows the user to respond at
35 <p>Each of these notification tasks can be achieved using a different technique:</p>
37 <li>A <a href="#Toast">Toast Notification</a>, for brief messages that come
39 <li>A <a href="#StatusBar">Status Bar Notification</a>, for persistent reminders
41 <li>A <a href="#Dialog">Dialog Notification</a>, for Activity-related notifications.</li>
48 <h2 id="Toast">Toast Notification</h2>
52 <p>A toast notification is a message that pops up on the surface of the window
    [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...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
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...]
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...]
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...]
  /frameworks/base/services/java/com/android/server/status/
NotificationViewList.java 57 void remove(StatusBarNotification notification) {
58 NotificationData n = notification.data;
123 // gets the index of the notification's view in its expanded parent view
124 int getExpandedIndex(StatusBarNotification notification) {
125 ArrayList<StatusBarNotification> list = notification.data.ongoingEvent ? mOngoing : mLatest;
126 final IBinder key = notification.key;
138 Slog.e(StatusBarService.TAG, "Couldn't find notification in NotificationViewList.");
139 Slog.e(StatusBarService.TAG, "notification=" + notification);
140 dump(notification);
245 StatusBarNotification notification = mOngoing.get(i); local
253 StatusBarNotification notification = mLatest.get(i); local
    [all...]
StorageNotification.java 20 import android.app.Notification;
58 * The notification that is shown when a USB mass storage host
63 private Notification mUsbStorageNotification;
66 * The notification that is shown when the following media events occur:
75 private Notification mMediaStorageNotification;
121 * Storage is now shared. Modify the UMS notification
133 * Storage is now checking. Update media notification and disable
134 * UMS notification.
144 * and enable UMS notification if connected.
152 * want to display the 'safe to unmount' notification
    [all...]
  /external/opencore/pvmi/pvmf/include/
pvmf_return_codes.h 201 Notification that a port was created
205 Notification that a port was deleted
209 Notification that a port was connected
213 Notification that a port was disconnected
217 Notification that an overflow occurred (not fatal error)
221 Notification that an underflow occurred (not fatal error)
225 Notification that a processing failure occurred (not fatal error)
229 Notification that end of data stream has been reached
233 Notification that a data buffer has been created
237 Notification that buffering of data has starte
    [all...]
  /frameworks/base/core/java/android/app/
NotificationManager.java 42 * this notification from your app to the system, so that id should be unique
44 * currently active and a new set of notification parameters, it will be
47 * id you pass to the {@link #cancel} method to clear this notification.
53 * @see android.app.Notification
70 IBinder b = ServiceManager.getService("notification");
81 * Persistent notification on the status bar,
83 * @param id An identifier for this notification unique within your
85 * @param notification A {@link Notification} object describing how to
88 public void notify(int id, Notification notification
    [all...]
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);
  /frameworks/base/services/java/com/android/server/
NotificationManagerService.java 27 import android.app.Notification;
107 // for enabling and disabling notification pulse behavior
116 private Notification mAdbNotification;
168 final Notification notification; field in class:NotificationManagerService.NotificationRecord
171 NotificationRecord(String pkg, String tag, int id, Notification notification)
176 this.notification = notification;
181 pw.println(prefix + " icon=0x" + Integer.toHexString(notification.icon
    [all...]
  /external/webkit/WebKit/win/Interfaces/
IWebDesktopNotificationsDelegate.idl 38 @discussion A class that represents a notification being shown
39 on the user's desktop. It provides the contents of the notification
80 @abstract Show a notification.
81 @param notification The Notification to be shown.
83 HRESULT showDesktopNotification([in] IWebDesktopNotification* notification);
87 @abstract Cancel showing a notification (or take it down if it's shown).
88 @param notification The Notification to be canceled.
90 HRESULT cancelDesktopNotification([in] IWebDesktopNotification* notification);
    [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...]
  /packages/apps/Phone/src/com/android/phone/
EmergencyCallbackModeService.java 19 import android.app.Notification;
44 * Application service that inserts/removes Emergency Callback Mode notification and
45 * updates Emergency Callback Mode countdown clock in the notification
101 // Unregister ECM timer reset notification
104 // Cancel the notification and timer
133 * Start timer notification for Emergency Callback Mode
140 // Show the notification
143 // Start countdown timer for the notification updates
161 * Shows notification for Emergency Callback Mode
166 Notification notification = new Notification local
    [all...]
  /external/webkit/WebCore/notifications/
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...]
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.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...]
  /frameworks/base/docs/html/shareables/
icon_templates-v2.0.zip 
  /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...]

Completed in 2830 milliseconds

1 2 3 4 5 6 7 8 91011>>