/external/chromium/chrome/browser/notifications/ |
desktop_notification_service.h | 26 class Notification; 67 // Cancels a notification. If it has already been shown, it will be 85 // Creates a data:xxxx URL which contains the full HTML for a notification 93 // Creates a data:xxxx URL which contains the full HTML for a notification 134 // Takes a notification object and shows it in the UI. 135 void ShowNotification(const Notification& notification); 138 // or on the frame of the notification toast. Different from the origin 152 // Non-owned pointer to the notification manager which manages the
|
notification_ui_manager.cc | 14 #include "chrome/browser/notifications/notification.h" 25 // A class which represents a notification waiting to be shown. 28 QueuedNotification(const Notification& notification, Profile* profile) 29 : notification_(notification), 33 const Notification& notification() const { return notification_; } function in class:QueuedNotification 36 void Replace(const Notification& new_notification) { 41 // The notification to be shown. 42 Notification notification_ [all...] |
balloon_collection_linux.cc | 16 Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification, 18 Balloon* balloon = new Balloon(notification, profile, this);
|
balloon_collection_win.cc | 11 Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification, 13 Balloon* balloon = new Balloon(notification, profile, this);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8NotificationCenterCustom.cpp | 37 #include "Notification.h" 56 RefPtr<Notification> notification = notificationCenter->createHTMLNotification(url, ec); local 61 notification->ref(); 62 return toV8(notification.get()); 71 RefPtr<Notification> notification = notificationCenter->createNotification(toWebCoreString(args[0]), toWebCoreString(args[1]), toWebCoreString(args[2]), ec); local 76 notification->ref(); 77 return toV8(notification.get());
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
NotificationStressTest.java | 31 * Test which spams notification manager with a large number of notifications, for both stress and 72 // Cancel one of every five notifications to vary load on notification manager 80 // Create "typical" notification with random icon 81 Notification notification = new Notification(ICONS[mRandom.nextInt(ICONS.length)], text, local 88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent); 89 mNotificationManager.notify(id, notification);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPermissionRequest.java | 19 import android.app.Notification; 73 // activity dialog or notification. 87 // Put up a notification that leads to the dialog 97 Notification notification = new Notification( local 102 notification.setLatestEventInfo(context, 106 notification.flags = Notification.FLAG_AUTO_CANCEL | 107 Notification.FLAG_ONLY_ALERT_ONCE [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/ |
NotificationListenerVerifierActivity.java | 28 import android.app.Notification; 287 Notification n1 = new Notification.Builder(mContext) 290 .setPriority(Notification.PRIORITY_LOW) 297 mFlag1 = Notification.FLAG_ONLY_ALERT_ONCE; 299 Notification n2 = new Notification.Builder(mContext) 302 .setPriority(Notification.PRIORITY_HIGH) 309 mFlag2 = Notification.FLAG_AUTO_CANCEL; 311 Notification n3 = new Notification.Builder(mContext [all...] |
/external/webkit/Source/WebCore/platform/graphics/avfoundation/ |
MediaPlayerPrivateAVFoundationObjC.mm | 104 -(void)didEnd:(NSNotification *)notification; 750 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::AssetMetadataLoaded); 758 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::AssetPlayabilityKnown); 766 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::PlayerTimeChanged, time); 774 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::SeekCompleted, static_cast<bool>(finished)); 782 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::ItemDidPlayToEndTime); 797 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::ItemStatusChanged); 799 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::ItemIsPlaybackLikelyToKeepUpChanged); 801 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::ItemIsPlaybackBufferEmptyChanged); 803 m_callback->scheduleMainThreadNotification(MediaPlayerPrivateAVFoundation::Notification::ItemIsPlaybackBufferFullChanged) [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 21 import android.app.Notification; 122 * The notification that is shown when a network-initiated notification 127 private Notification mNiNotification; 151 // Show the notification 154 // when the user opens the notification message 180 // Sets the NI notification. 195 // Construct Notification 197 mNiNotification = new Notification(); 198 mNiNotification.icon = com.android.internal.R.drawable.stat_sys_gps_on; /* Change notification icon here * [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationBuilderTest.java | 22 import android.app.Notification; 198 final Notification n = buildNotification(id); 224 private Notification buildNotification(int id) { 225 Notification.Builder b = new Notification.Builder(this); 393 b.setPriority(Notification.PRIORITY_MIN); 396 b.setPriority(Notification.PRIORITY_LOW); 399 b.setPriority(Notification.PRIORITY_DEFAULT); 402 b.setPriority(Notification.PRIORITY_HIGH); 405 b.setPriority(Notification.PRIORITY_MAX) [all...] |
StatusBarTest.java | 19 import android.app.Notification; 154 new Test("Priority notification") { 156 Notification not = new Notification(); 164 not.flags |= Notification.FLAG_HIGH_PRIORITY; 269 new Notification( 278 new Test("Cancel Notification in 3 sec.") {
|