/external/chromium_org/chrome/browser/notifications/ |
notification.cc | 5 #include "chrome/browser/notifications/notification.h" 7 Notification::Notification(const GURL& origin_url, 15 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, 29 Notification::Notification( 41 : message_center::Notification(type, 57 Notification::Notification(const Notification& notification [all...] |
notification_ui_manager_android.h | 10 // Implementation of the Notification UI Manager for Android, which defers to 18 virtual void Add(const Notification& notification, Profile* profile) OVERRIDE; 19 virtual bool Update(const Notification& notification, 21 virtual const Notification* FindById(
|
/frameworks/base/docs/html/samples/ |
notification.jd | 1 page.title=Notification 5 <div id="samples" class="notification">
|
/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
VisibilityMetadataFragmentTest.java | 3 import android.app.Notification; 43 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local 46 assertEquals(Notification.VISIBILITY_PUBLIC, notification.visibility); 47 assertEquals(R.drawable.ic_public_notification, notification.icon); 51 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local 54 assertEquals(Notification.VISIBILITY_PRIVATE, notification.visibility) 59 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local [all...] |
/developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
VisibilityMetadataFragmentTest.java | 3 import android.app.Notification; 43 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local 46 assertEquals(Notification.VISIBILITY_PUBLIC, notification.visibility); 47 assertEquals(R.drawable.ic_public_notification, notification.icon); 51 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local 54 assertEquals(Notification.VISIBILITY_PRIVATE, notification.visibility) 59 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local [all...] |
/development/samples/browseable/MessagingService/ |
_index.jd | 2 sample.group=Notification 8 NotificationCompat. In addition to sending a notification, it also extends 9 the notification with a CarExtender to make it compatible with Android Auto. 10 Each unread conversation from a user is sent as a distinct notification.
|
/external/chromium_org/ash/system/chromeos/session/ |
tray_session_length_limit_unittest.cc | 14 #include "ui/message_center/notification.h" 44 message_center::Notification* GetNotification() { 76 TEST_F(TraySessionLengthLimitTest, Notification) { 82 message_center::Notification* notification = GetNotification(); local 83 EXPECT_TRUE(notification); 84 EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority()); 85 base::string16 first_content = notification->message(); 87 EXPECT_TRUE(notification->rich_notification_data(). 92 notification = GetNotification() 125 message_center::Notification* notification; local [all...] |
/external/junit/src/org/junit/runner/notification/ |
package-info.java | 6 package org.junit.runner.notification
|
/external/chromium_org/content/shell/renderer/test_runner/ |
notification_presenter.cc | 30 WebNotification* notification = static_cast<WebNotification*>(context); local 31 notification->dispatchDisplayEvent(); 33 delete notification; 47 const WebNotification& notification = iter->second; local 49 WebNotification event_target(notification); 57 const WebNotification& notification = active_notifications_.begin()->second; local 58 cancel(notification); 64 bool NotificationPresenter::show(const WebNotification& notification) { 65 if (!notification.replaceId().isEmpty()) { 66 std::string replaceId(notification.replaceId().utf8()) [all...] |
/external/chromium_org/ui/message_center/views/ |
notification_view.h | 27 // View that displays all current types of notification (web, basic, image, and 28 // list). Future notification types may be handled by other classes, in which 39 // notification type. A notification is top level if it needs to be rendered 44 const Notification& notification, 58 const Notification& notification) OVERRIDE; 73 const Notification& notification); [all...] |
/external/chromium_org/content/renderer/ |
active_notification_tracker.cc | 20 const WebNotification& notification, int& id) { 21 ReverseTable::iterator iter = reverse_notification_table_.find(notification); 29 int id, WebNotification* notification) { 34 *notification = *lookup; 44 WebNotification* notification = new WebNotification(proxy); local 45 int id = notification_table_.Add(notification); 52 // We want to free the notification after removing it from the table. 53 scoped_ptr<WebNotification> notification(notification_table_.Lookup(id)); 55 DCHECK(notification.get()); 56 if (notification) [all...] |
notification_provider.cc | 33 bool NotificationProvider::show(const WebNotification& notification) { 35 int notification_id = manager_.RegisterNotification(notification); 39 params.icon_url = notification.iconURL(); 40 params.title = notification.title(); 41 params.body = notification.body(); 42 params.direction = notification.direction(); 43 params.replace_id = notification.replaceId(); 48 void NotificationProvider::cancel(const WebNotification& notification) { 50 bool id_found = manager_.GetId(notification, id); 51 // Won't be found if the notification has already been closed by the user 92 WebNotification notification; local 101 WebNotification notification; local 110 WebNotification notification; local 121 WebNotification notification; local [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_dialog_types_unittest.cc | 23 base::string16 text(base::ASCIIToUTF16("Notification without anchor text")); 24 DialogNotification notification(DialogNotification::WALLET_ERROR, text); 25 EXPECT_TRUE(notification.link_range().is_empty()); 27 text = base::ASCIIToUTF16("Notification with |anchor text|"); 28 notification = DialogNotification(DialogNotification::WALLET_ERROR, text); 30 EXPECT_EQ(base::string16::npos, notification.display_text().find(bar)); 31 EXPECT_FALSE(notification.link_range().is_empty());
|
/frameworks/support/v4/gingerbread/android/support/v4/app/ |
NotificationCompatGingerbread.java | 19 import android.app.Notification; 24 public static Notification add(Notification notification, Context context, 27 notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent); 28 notification.fullScreenIntent = fullScreenIntent; 29 return notification;
|
/external/chromium_org/ui/message_center/cocoa/ |
popup_collection_unittest.mm | 18 #include "ui/message_center/notification.h" 52 scoped_ptr<message_center::Notification> notification; 53 notification.reset(new message_center::Notification( 57 ASCIIToUTF16("This is the first notification to" 64 center_->AddNotification(notification.Pass()); 66 notification.reset(new message_center::Notification( 70 ASCIIToUTF16("This is the second notification.") [all...] |
notification_controller_unittest.mm | 17 #include "ui/message_center/notification.h" 119 scoped_ptr<message_center::Notification> notification( 120 new message_center::Notification( 131 notification->set_icon(testIcon); 132 notification->set_small_image(testIcon); 135 [[MCNotificationController alloc] initWithNotification:notification.get() 142 notification->title()); 144 notification->message()); 149 scoped_ptr<message_center::Notification> notification [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/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_notification_controller_unittest.mm | 23 ASCIIToUTF16("A notification title"))); 27 const autofill::DialogNotification& notification) { 30 initWithNotification:¬ification 67 ASCIIToUTF16("A notification title"))); 75 autofill::DialogNotification notification( 77 ASCIIToUTF16("A notification title")); 78 ASSERT_TRUE(notification.HasCheckbox()); 79 InitControllerWithNotification(notification); 87 autofill::DialogNotification notification( 89 ASCIIToUTF16("A notification title")) [all...] |
/frameworks/base/docs/html/training/wearables/notifications/ |
pages.jd | 1 page.title=Adding Pages to a Notification 12 <li>Add Pages to a Notification</li> 19 add one or more pages to the notification on the wearable. The additional pages 20 appear immediately to the right of the main notification card. 26 <p>To create a notification with multiple pages:</p> 28 <li>Create the main notification (the first page) with 30 in the way you'd like the notification to appear on a handset.</li> 33 <li>Apply the pages to the main notification with the 40 <p>For example, here's some code that adds a second page to a notification:</p> 43 // Create builder for the main 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));
|
/developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/developers/samples/android/notification/BasicNotifications/Application/src/main/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/development/samples/browseable/BasicNotifications/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/development/samples/browseable/Notifications/ |
_index.jd | 7 This sample application provides a showcase of available notification styles and 9 companion allows you to select between various notification styles and to see how these 10 notifications are displayed, both in a phone\'s notification shade and on the wearable.
|
/development/samples/browseable/CustomNotifications/ |
_index.jd | 2 sample.group=Notification
|