/external/chromium_org/content/public/browser/ |
desktop_notification_delegate.h | 11 // the result of a desktop notification. 16 // The notification was shown. 19 // The notification couldn't be shown due to an error. 22 // The notification was closed. 25 // The user clicked on the notification.
|
/external/chromium_org/content/public/common/ |
show_desktop_notification_params.h | 14 // Parameters used when showing an HTML5 notification. 19 // URL which is the origin that created this notification. 22 // Contents of the notification if is_html is false. 27 // Directionality of the notification. 30 // ReplaceID if this notification should replace an existing one; may be
|
/external/chromium_org/jingle/notifier/listener/ |
notification_defines_unittest.cc | 16 // Create a notification with binary data in the data field. 21 Notification notification; local 22 notification.data = kNonUtf8Data; 23 EXPECT_EQ("{ channel: \"\", data: \"\\u00FF\" }", notification.ToString());
|
push_notifications_send_update_task.h | 26 buzz::XmppTaskParentInterface* parent, const Notification& notification); 35 const Notification& notification, const buzz::Jid& to_jid_bare); 37 const Notification notification_;
|
non_blocking_push_client_unittest.cc | 93 Notification MakeTestNotification() { 94 Notification notification; local 95 notification.channel = "channel"; 96 notification.recipients.resize(10); 97 notification.recipients[0].to = "to"; 98 notification.recipients[9].user_specific_data = "user_specific_data"; 99 notification.data = "data"; 100 return notification; 105 const Notification notification = MakeTestNotification() local 141 const Notification notification = MakeTestNotification(); local [all...] |
fake_push_client.cc | 34 void FakePushClient::SendNotification(const Notification& notification) { 35 sent_notifications_.push_back(notification); 54 const Notification& notification) { 56 OnIncomingNotification(notification)); 71 const std::vector<Notification>& FakePushClient::sent_notifications() const {
|
notification_defines.h | 48 struct Notification { 49 Notification(); 50 ~Notification(); 52 // The channel the notification is coming in on. 54 // Recipients for this notification (may be empty). 56 // The notification data payload. 59 bool Equals(const Notification& other) const;
|
push_notifications_send_update_task_unittest.cc | 34 Notification notification; local 35 notification.channel = "test_channel"; 36 notification.data = "test_data"; 39 base::Base64Encode(notification.data, &base64_data); 43 notification, to_jid_bare_)); 53 to_jid_bare_.Str().c_str(), notification.channel.c_str(),
|
/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...] |
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
NotificationBuilderWithBuilderAccessor.java | 19 import android.app.Notification; 22 * Interface implemented by notification compat builders that support 23 * an accessor for {@link Notification.Builder}. {@link Notification.Builder} 27 public Notification.Builder getBuilder();
|
/external/chromium_org/chrome/browser/notifications/ |
notification_test_util.cc | 33 void StubNotificationUIManager::Add(const Notification& notification, 35 // Make a deep copy of the notification that we can inspect. 36 notification_ = notification; 40 if (notification.origin_url() == welcome_origin_) 44 bool StubNotificationUIManager::Update(const Notification& notification, 46 // Make a deep copy of the notification that we can inspect. 47 notification_ = notification; 52 const Notification* StubNotificationUIManager::FindById(const std::string& id [all...] |
notification_ui_manager.h | 15 class Notification; 28 // Adds a notification to be displayed. Virtual for unit test override. 29 virtual void Add(const Notification& notification, Profile* profile) = 0; 31 // Updates an existing notification. If |update_progress_only|, assume 33 virtual bool Update(const Notification& notification, Profile* profile) = 0; 35 // Returns the pointer to a notification if it match the supplied ID, either 37 virtual const Notification* FindById( 44 // Adds the notification_id for each outstanding notification to the se [all...] |
/frameworks/base/docs/html/training/notify-user/ |
build-notification.jd | 1 page.title=Building a Notification 15 <li><a href="#builder">Create a Notification Builder</a></li> 16 <li><a href="#action">Define the Notification's Action</a></li> 17 <li><a href="#click">Set the Notification's Click Behavior</a></li> 18 <li><a href="#notify">Issue the Notification</a></li> 43 <p>This lesson explains how to create and issue a notification.</p> 51 provide the best notification support for a wide range of platforms. </p> 53 <h2 id="builder">Create a Notification Builder</h2> 55 <p>When creating a notification, specify the UI content and actions with a 79 .setContentTitle("My notification" [all...] |
/external/chromium_org/ui/message_center/cocoa/ |
tray_view_controller_unittest.mm | 16 #include "ui/message_center/notification.h" 73 scoped_ptr<message_center::Notification> notification_data; 74 notification_data.reset(new message_center::Notification( 77 ASCIIToUTF16("First notification"), 89 NSView* notification = [[view subviews] objectAtIndex:0]; 90 NSRect notification_frame = [notification frame]; 110 scoped_ptr<message_center::Notification> notification; 111 notification.reset(new message_center::Notification( [all...] |
popup_controller_unittest.mm | 12 #include "ui/message_center/notification.h" 22 scoped_ptr<message_center::Notification> notification( 23 new message_center::Notification( 35 [[MCPopupController alloc] initWithNotification:notification.get() 43 EXPECT_EQ(notification.get(), [controller notification]);
|
/developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
MainActivity.java | 18 * A numeric value that identifies the notification that we'll be sending. 31 * Send a sample notification using the NotificationCompat API. 36 /** Create an intent that will be fired when the user clicks the notification. 38 * notification service can fire it on our behalf. 41 Uri.parse("http://developer.android.com/reference/android/app/Notification.html")); 47 * Use NotificationCompat.Builder to set up our notification. 51 /** Set the icon that will appear in the notification bar. This icon also appears 52 * in the lower right hand corner of the notification itself. 61 // Set the intent that will fire when the user taps the notification. 64 // Set the notification to auto-cancel. This means that the notification will disappea [all...] |
/developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
MainActivity.java | 18 * A numeric value that identifies the notification that we'll be sending. 31 * Send a sample notification using the NotificationCompat API. 36 /** Create an intent that will be fired when the user clicks the notification. 38 * notification service can fire it on our behalf. 41 Uri.parse("http://developer.android.com/reference/android/app/Notification.html")); 47 * Use NotificationCompat.Builder to set up our notification. 51 /** Set the icon that will appear in the notification bar. This icon also appears 52 * in the lower right hand corner of the notification itself. 61 // Set the intent that will fire when the user taps the notification. 64 // Set the notification to auto-cancel. This means that the notification will disappea [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalService.java | 19 import android.app.Notification; 48 // Unique Identification Number for the Notification. 49 // We use it on Notification start, and to cancel it. 50 private int NOTIFICATION = R.string.local_service_started; 67 // Display a notification about us starting. We put an icon in the status bar. 81 // Cancel the persistent notification. 82 mNM.cancel(NOTIFICATION); 98 * Show a notification while this service is running. 101 // In this sample, we'll use the same text for the ticker and the expanded notification 105 Notification notification = new Notification(R.drawable.stat_sample, text local [all...] |
/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/ |
MainActivity.java | 18 * A numeric value that identifies the notification that we'll be sending. 31 * Send a sample notification using the NotificationCompat API. 36 /** Create an intent that will be fired when the user clicks the notification. 38 * notification service can fire it on our behalf. 41 Uri.parse("http://developer.android.com/reference/android/app/Notification.html")); 47 * Use NotificationCompat.Builder to set up our notification. 51 /** Set the icon that will appear in the notification bar. This icon also appears 52 * in the lower right hand corner of the notification itself. 61 // Set the intent that will fire when the user taps the notification. 64 // Set the notification to auto-cancel. This means that the notification will disappea [all...] |
/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
HeadsUpNotificationFragmentTest.java | 3 import android.app.Notification; 40 Notification notification = mFragment.createNotification(true); local 41 assertNotNull(notification.fullScreenIntent); 45 Notification notification = mFragment.createNotification(false); local 46 assertNull(notification.fullScreenIntent);
|
/developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
HeadsUpNotificationFragmentTest.java | 3 import android.app.Notification; 40 Notification notification = mFragment.createNotification(true); local 41 assertNotNull(notification.fullScreenIntent); 45 Notification notification = mFragment.createNotification(false); local 46 assertNull(notification.fullScreenIntent);
|
/external/chromium_org/chrome/common/extensions/api/ |
notification_provider.idl | 6 // notifications that would otherwise go into the Chrome Notification Center, 67 // Inform the notifier that the user cleared a notification sent from that 69 // |notifierId|: The id of the notifier that sent the notification. 70 // |notificationId|: The id of the notification that was closed. 71 // |callback|: Called to indicate whether a matching notification existed. 77 // notification sent from that notifier. 78 // |notifierId|: The id of the notifier that sent the notification. 79 // |notificationId|: The id of the notification that was clicked on. 80 // |callback|: Called to indicate whether a matching notification existed. 85 // Inform the notifier that the user pressed a button in the notification [all...] |
/frameworks/support/v4/api20/android/support/v4/app/ |
NotificationCompatApi20.java | 19 import android.app.Notification; 33 private Notification.Builder b; 36 public Builder(Context context, Notification n, 44 b = new Notification.Builder(context) 53 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 54 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 55 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 64 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0) 79 mExtras.putStringArray(Notification.EXTRA_PEOPLE, 90 public Notification.Builder getBuilder() [all...] |
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
notification_manager.h | 25 class Notification; 32 // up to one notification. If more than one request is unresponsive, then 33 // all of them will be aborted when clicking on the notification button. 47 // Invoked when a button on the notification is clicked. 50 // Invoked when the notification failed to show up. 53 // Invoked when the notification got closed either by user or by system. 63 // Creates a notification object for the actual state of the manager. 64 scoped_ptr<message_center::Notification> CreateNotification(); 66 // Handles a notification result by calling all registered callbacks and
|
/frameworks/support/tests/java/android/support/v4/app/ |
NotificationCompatWearableExtenderTest.java | 19 import android.app.Notification; 50 assertExtendersEqual(new Notification.WearableExtender(), 57 Notification notif = new NotificationCompat.Builder(getContext()) 61 assertExtendersEqual(new Notification.WearableExtender(notif), compatExtender); 62 assertExtendersEqual(new Notification.WearableExtender(notif), 67 Notification.WearableExtender realExtender = 68 new Notification.WearableExtender(); 69 Notification notif = new Notification.Builder(getContext()) 74 assertExtendersEqual(new Notification.WearableExtender(notif) [all...] |