/external/chromium_org/jingle/notifier/listener/ |
fake_push_client_observer.cc | 24 const Notification& notification) { 25 last_incoming_notification_ = notification; 33 const Notification&
|
fake_push_client_observer.h | 24 const Notification& notification) OVERRIDE; 27 const Notification& last_incoming_notification() const; 31 Notification last_incoming_notification_;
|
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
device_handler.js | 43 * Notification type. 44 * @param {string} prefix Prefix of notification ID. 50 DeviceHandler.Notification = function(prefix, title, message, opt_buttonLabel) { 52 * Prefix of notification ID. 86 * @type {DeviceHandler.Notification} 89 DeviceHandler.Notification.DEVICE_NAVIGATION = new DeviceHandler.Notification( 96 * @type {DeviceHandler.Notification} 99 DeviceHandler.Notification.DEVICE_FAIL = new DeviceHandler.Notification( [all...] |
/external/chromium_org/ui/message_center/ |
notification.cc | 5 #include "ui/message_center/notification.h" 51 Notification::Notification(NotificationType type, 73 Notification::Notification(const Notification& other) 87 Notification& Notification::operator=(const Notification& other) { 104 Notification::~Notification() { [all...] |
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 17 package android.service.notification; 19 import android.app.Notification; 25 * Class encapsulating a Notification. Sent by the NotificationManagerService to clients including 26 * the status bar and any {@link android.service.notification.NotificationListenerService}s. 38 private final Notification notification; field in class:StatusBarNotification 46 int initialPid, int score, Notification notification, UserHandle user) { 47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user, 52 int initialPid, int score, Notification notification, UserHandle user [all...] |
/external/chromium_org/chrome/browser/notifications/ |
notification.h | 16 #include "ui/message_center/notification.h" 24 // Representation of a notification to be shown to the user. 28 class Notification : public message_center::Notification { 30 // Initializes a notification with text content. On non-ash platforms, this 32 Notification(const GURL& origin_url, 41 Notification( 54 Notification(const Notification& notification); [all...] |
notification_test_util.h | 11 #include "chrome/browser/notifications/notification.h" 19 // the notification events are not important. 42 // notification events needs to be verified. 55 Logger::log("notification displayed\n"); 58 Logger::log("notification error\n"); 61 Logger::log("notification clicked\n"); 64 Logger::log("notification button clicked\n"); 68 Logger::log("notification closed by user\n"); 70 Logger::log("notification closed by script\n"); 90 // Adds a notification to be displayed. Virtual for unit test override 121 const Notification& notification() const { return notification_; } function in class:StubNotificationUIManager [all...] |
notification_delegate.h | 17 // Delegate for a notification. This class has two roles: to implement callback 18 // methods for notification, and to provide an identity of the associated 19 // notification. 22 // Returns unique id of the notification. 25 // Returns the WebContents that generated the notification, or NULL.
|
/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
OtherMetadataFragmentTest.java | 4 import android.app.Notification; 50 Notification notification = mFragment.createNotification(OtherMetadataFragment.Priority local 52 assertEquals(Notification.PRIORITY_HIGH, notification.priority); 53 assertEquals(Notification.CATEGORY_CALL, notification.category); 59 Notification notification = mFragment.createNotification(OtherMetadataFragment.Priority local 61 assertEquals(Notification.PRIORITY_DEFAULT, notification.priority) [all...] |
/developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
OtherMetadataFragmentTest.java | 4 import android.app.Notification; 50 Notification notification = mFragment.createNotification(OtherMetadataFragment.Priority local 52 assertEquals(Notification.PRIORITY_HIGH, notification.priority); 53 assertEquals(Notification.CATEGORY_CALL, notification.category); 59 Notification notification = mFragment.createNotification(OtherMetadataFragment.Priority local 61 assertEquals(Notification.PRIORITY_DEFAULT, notification.priority) [all...] |
/developers/build/prebuilts/gradle/CustomNotifications/Application/src/main/res/values/ |
strings.xml | 19 <string name="expanded">I\'m the expanded notification.\nCollapse me!</string> 20 <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string> 21 <string name="show_notification">Show Notification</string> 22 <string name="custom_notification">I\'m a custom notification.</string> 24 <string name="intro_text">This sample demonstrates how a notification is created using the 26 with a custom content view. The layout of the notification is defined as a 29 the <i>big content view</i>, which is used when the notification is expanded. 30 \n\n<b>Use the button below to create the notification. 32 the notification to see the different layouts.</b> 35 notification [all...] |
/developers/samples/android/notification/CustomNotifications/Application/src/main/res/values/ |
strings.xml | 19 <string name="expanded">I\'m the expanded notification.\nCollapse me!</string> 20 <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string> 21 <string name="show_notification">Show Notification</string> 22 <string name="custom_notification">I\'m a custom notification.</string> 24 <string name="intro_text">This sample demonstrates how a notification is created using the 26 with a custom content view. The layout of the notification is defined as a 29 the <i>big content view</i>, which is used when the notification is expanded. 30 \n\n<b>Use the button below to create the notification. 32 the notification to see the different layouts.</b> 35 notification [all...] |
/development/samples/browseable/CustomNotifications/res/values/ |
strings.xml | 19 <string name="expanded">I\'m the expanded notification.\nCollapse me!</string> 20 <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string> 21 <string name="show_notification">Show Notification</string> 22 <string name="custom_notification">I\'m a custom notification.</string> 24 <string name="intro_text">This sample demonstrates how a notification is created using the 26 with a custom content view. The layout of the notification is defined as a 29 the <i>big content view</i>, which is used when the notification is expanded. 30 \n\n<b>Use the button below to create the notification. 32 the notification to see the different layouts.</b> 35 notification [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/notifications/ |
Notification.cpp | 32 #include "modules/notifications/Notification.h" 45 Notification* Notification::create(ExecutionContext* context, const String& title, const NotificationOptions& options) 48 Notification* notification = adoptRefCountedGarbageCollectedWillBeNoop(new Notification(title, context, &client)); local 50 notification->setBody(options.body()); 51 notification->setTag(options.tag()); 52 notification->setLang(options.lang()); 53 notification->setDir(options.dir()) [all...] |
/external/chromium_org/ui/message_center/cocoa/ |
notification_controller.h | 17 class Notification; 22 // The base view controller class for notifications. A notification at minimum 24 // the content for both a popup bubble and a view in the notification tray. 29 const message_center::Notification* notification_; 31 // A copy of the notification ID. 40 // The small icon associated with the notification, on the bottom right. 43 // The large icon associated with the notification, on the left side. 61 // Container for optional items at the bottom of the notification. 65 // Creates a new controller for a given notification. 66 - (id)initWithNotification:(const message_center::Notification*)notificatio [all...] |
/frameworks/base/docs/html/training/notify-user/ |
managing.jd | 15 <li><a href="#Updating">Modify a Notification</a></li> 40 When you need to issue a notification multiple times for the same type of event, you 41 should avoid making a completely new notification. Instead, you should consider updating a 42 previous notification, either by changing some of its values or by adding to it, or both. 48 <h2 id="Updating">Modify a Notification</h2> 50 To set up a notification so it can be updated, issue it with a notification ID by 51 calling {@link android.app.NotificationManager#notify(int, Notification) 52 NotificationManager.notify(ID, notification)}. To update this notification once you've issue [all...] |
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 20 import android.app.Notification.Builder; 50 * unspecified. This pair identifies this notification from your app to the 53 * a new set of notification parameters, it will be updated. For example, 57 * this notification. 70 * @see android.app.Notification 96 IBinder b = ServiceManager.getService("notification"); 112 * Post a notification to be shown in the status bar. If a notification with 116 * @param id An identifier for this notification unique within your 118 * @param notification A {@link Notification} object describing what to show the user. Must no [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmNotifications.java | 19 import android.app.Notification; 63 LogUtils.v("Displaying low priority notification for alarm instance: " + instance.mId); 68 Notification.Builder notification = new Notification.Builder(context) local 74 .setPriority(Notification.PRIORITY_DEFAULT) 75 .setCategory(Notification.CATEGORY_ALARM) 76 .setVisibility(Notification.VISIBILITY_PUBLIC) 79 // Setup up hide notification 83 notification.setDeleteIntent(PendingIntent.getBroadcast(context, instance.hashCode() 109 Notification.Builder notification = new Notification.Builder(context) local 143 Notification.Builder notification = new Notification.Builder(context) local 180 Notification.Builder notification = new Notification.Builder(context) local 215 Notification.Builder notification = new Notification.Builder(context) local [all...] |
/development/samples/browseable/BasicNotifications/ |
_index.jd | 2 sample.group=Notification 7 This sample demonstrates how to display events in the system\'s notification bar. The
|
/external/junit/src/org/junit/runner/notification/ |
StoppedByUserException.java | 1 package org.junit.runner.notification; 7 * @see org.junit.runner.notification.RunNotifier
|
/external/chromium_org/ash/system/chromeos/supervised/ |
tray_supervised_user_unittest.cc | 12 #include "ui/message_center/notification.h" 26 message_center::Notification* GetPopup(); 32 message_center::Notification* TraySupervisedUserTest::GetPopup() { 72 message_center::Notification* notification = GetPopup(); local 73 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); local 75 notification->rich_notification_data().priority); 80 // the notification and should not cause crashes. 81 message_center::Notification* notification = GetPopup() local 82 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationIntrusivenessExtractor.java | 17 package com.android.server.notification; 19 import android.app.Notification; 24 * This {@link com.android.server.notification.NotificationSignalExtractor} noticies noisy 31 /** Length of time (in milliseconds) that an intrusive or noisy notification will stay at 41 if (DBG) Slog.d(TAG, "skipping empty notification"); 45 final Notification notification = record.getNotification(); local 46 if ((notification.defaults & Notification.DEFAULT_VIBRATE) != 0 || 47 notification.vibrate != null | [all...] |
/frameworks/support/tests/java/android/support/v4/app/ |
NotificationCompatActionWearableExtenderTest.java | 19 import android.app.Notification; 52 assertExtendersEqual(new Notification.Action.WearableExtender(), 58 Notification.Action.WearableExtender baseExtender = 59 new Notification.Action.WearableExtender() 73 // Test that the base WearableExtender from an empty Notification is equal to the compat. 75 Notification baseNotif = new Notification.Builder(getContext()) 77 Notification compatNotif = new NotificationCompat.Builder(getContext()) 87 Notification.Action.Builder baseAction = 88 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
notification_manager_interface.h | 16 // Result of a notification. 19 // Callback for handling result of a notification. 25 // Shows a notification about the request being unresponsive. The |callback| 26 // is called when the notification is closed. 31 // Hides a notification previously shown with |id|.
|
/external/chromium_org/chrome/browser/ui/cocoa/apps/ |
quit_with_apps_controller_mac_interactive_uitest.cc | 49 // Test that quitting while apps are open shows a notification instead. 53 const Notification* notification; local 59 notification = g_browser_process->notification_ui_manager()->FindById( 61 EXPECT_EQ(NULL, notification); 72 // On the first quit, show notification. 75 notification = g_browser_process->notification_ui_manager()->FindById( 77 ASSERT_TRUE(notification); 79 // If notification was dismissed by click, show again on next quit. 80 notification->delegate()->Click() [all...] |