/external/chromium_org/third_party/WebKit/Source/web/ |
NotificationPresenterImpl.cpp | 35 #include "modules/notifications/Notification.h" 56 bool NotificationPresenterImpl::show(Notification* notification) 58 return m_presenter->show(notification); 61 void NotificationPresenterImpl::close(Notification* notification) 63 m_presenter->close(notification); 66 m_presenter->cancel(notification); 69 void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification) [all...] |
/external/chromium_org/ui/message_center/ |
notification_delegate.h | 20 // Delegate for a notification. This class has two roles: to implement callback 21 // methods for notification, and to provide an identity of the associated 22 // notification. 26 // To be called when the desktop notification is actually shown. 29 // To be called when the desktop notification cannot be shown due to an 33 // To be called when the desktop notification is closed. If closed by a 40 // To be called when a desktop notification is clicked. 43 // To be called when the user clicks a button in a notification. TODO(miket): 55 // A simple notification delegate which invokes the passed closure when clicked. 79 // A notification delegate which invokes a callback when a notification butto [all...] |
message_center.h | 20 // [Add|Remove|Update]Notification to create and update notifications in the 21 // list. It also sends those changes to its observers when a notification 25 // message_center::Notification::id() to uniquely identify a notification. It is 27 // notification should have different ids. For example, if the caller supports 29 // notification front end's notification id into a new id and set it into the 30 // notification instance before passing that in. Consequently the id passed to 60 // Queries of current notification list status. 67 // Find the notification with the corresponding id. Returns NULL if not found [all...] |
notification_list.cc | 14 #include "ui/message_center/notification.h" 23 const Notification& notification, 26 if (!blockers[i]->ShouldShowNotificationAsPopup(notification.notifier_id())) 34 bool ComparePriorityTimestampSerial::operator()(Notification* n1, 35 Notification* n2) { 43 bool CompareTimestampSerial::operator()(Notification* n1, Notification* n2) { 77 Notification* notification = *iter local [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
MessageEventNotificationListener.java | 25 * A listener that is fired anytime a message event notification is received. 34 * Called when a notification of message delivered is received. 36 * @param from the user that sent the notification. 42 * Called when a notification of message displayed is received. 44 * @param from the user that sent the notification. 50 * Called when a notification that the receiver of the message is composing a reply is 53 * @param from the user that sent the notification. 59 * Called when a notification that the receiver of the message is offline is received. 61 * @param from the user that sent the notification. 67 * Called when a notification that the receiver of the message cancelled the reply [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 20 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 | 19 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...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/development/samples/browseable/ElizaChat/ |
_index.jd | 8 messages with a quick voice response. New messages create a notification with a "Reply" action. 9 The notification is bridged from phone to wearable, and selecting the "Reply" action on the
|
/development/samples/browseable/Geofencing/ |
_index.jd | 8 Gardens near the Moscone center in San Francisco, a notification silently appears on his/her 9 wearable with an option to check in. This notification automatically disappears when he/she leaves
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/external/chromium_org/ash/display/ |
display_error_observer_chromeos.cc | 13 #include "ui/message_center/notification.h" 17 using message_center::Notification; 34 // Always remove the notification to make sure the notification appears 44 scoped_ptr<Notification> notification(new Notification( 56 message_center::MessageCenter::Get()->AddNotification(notification.Pass());
|
/frameworks/base/docs/html/training/wearables/notifications/ |
stacks.jd | 12 <li><a href="#AddGroup">Add Each Notification to a Group</a></li> 13 <li><a href="#AddSummary">Add a Summary Notification</a></li> 23 notifications into a single summary notification. For example, if your app creates notifications 24 for received messages, you should not show more than one notification 25 on a handheld device—when more than one is message is received, use a single notification 28 <p>However, a summary notification is less useful on an Android wearable because users 32 card, which users can expand to view the details from each notification separately. The new 34 possible while allowing you to still provide only one summary notification on the handheld device.</p> 36 <h2 id="AddGroup" style="clear:right">Add Each Notification to a Group</h2> 39 for each notification you want in the stack and specify [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
CallServiceNotifier.java | 21 import android.app.Notification; 41 * Class used to create, update and cancel the notification used to display and update call state 53 * Static notification IDs. 72 * Creates a CallService & initializes notification manager. 78 * Updates the notification in the notification pane. 81 log("adding the notification ------------"); 88 * Cancels the notification. 91 log("canceling notification"); 158 * Returns the system's notification manager needed to add/remove notifications [all...] |
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [all...] |
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [all...] |
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [all...] |
/external/chromium_org/jingle/notifier/listener/ |
fake_push_client.h | 31 virtual void SendNotification(const Notification& notification) OVERRIDE; 41 void SimulateIncomingNotification(const Notification& notification); 46 const std::vector<Notification>& sent_notifications() const; 54 std::vector<Notification> sent_notifications_;
|
push_client_observer.h | 25 // disabled, and when a notification is received. 39 // Called when a notification is received. The details of the 40 // notification are in |notification|. 41 virtual void OnIncomingNotification(const Notification& notification) = 0;
|
/external/chromium_org/chrome/browser/notifications/ |
message_center_notification_manager.h | 19 #include "chrome/browser/notifications/notification.h" 28 class Notification; 54 virtual void Add(const Notification& notification, 56 virtual bool Update(const Notification& notification, 58 virtual const Notification* FindById( 108 void StartDownloads(const Notification& notification); 109 void StartDownloadWithImage(const Notification& notification 169 const Notification& notification() const { return notification_; } function in class:MessageCenterNotificationManager::ProfileNotification [all...] |
message_center_notification_manager.cc | 19 #include "chrome/browser/notifications/notification.h" 75 // TODO(oshima|hashimoto): Support notification on athena. crbug.com/408755. 86 // On Windows, Linux and Mac, the notification manager owns the tray icon and 112 void MessageCenterNotificationManager::Add(const Notification& notification, 114 if (Update(notification, profile)) 118 ShowWelcomeNotificationIfNecessary(notification); 120 // WARNING: You MUST update the message center via the notification within a 124 new ProfileNotification(profile, notification, message_center_)); 140 new message_center::Notification(profile_notification->notification()))) [all...] |
/frameworks/base/docs/html/training/notify-user/ |
expanded.jd | 15 <li><a href="#activity">Set Up the Notification to Launch a New Activity</a></li> 40 <p>Notifications in the notification drawer appear in two main visual styles, 41 normal view and big view. The big view of a notification only appears when the 42 notification is expanded. This happens when the notification is at the top of 43 the drawer, or the user clicks the notification. </p> 57 <strong>Figure 1.</strong> Normal view notification. 65 <strong>Figure 2.</strong> Big view notification. 73 <li>The ability to snooze or dismiss the notification.</li> 78 when the user clicks the notification. Keep this in mind as you design your notifications—first [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...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 20 import android.app.Notification; 70 // Show a notification about the status 82 // We just want to show notification for the first vCard. 90 final Notification notification = constructProgressNotification(mContext, local 92 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); 111 final Notification notification = constructProgressNotification( local 114 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); 132 final Notification notification local 151 final Notification notification = local 164 final Notification notification = local 181 final Notification notification = constructCancelNotification(mContext, description); local [all...] |