/development/samples/ApiDemos/src/com/example/android/apis/app/ |
StatusBarNotifications.java | 22 import android.app.Notification; 50 // Get the notification manager serivce. 122 setDefault(Notification.DEFAULT_SOUND); 129 setDefault(Notification.DEFAULT_VIBRATE); 136 setDefault(Notification.DEFAULT_ALL); 150 // notification. Note the use of FLAG_UPDATE_CURRENT so that if there 162 // into an application representing the data in the notification; to 176 // "App/Notification" 178 intents[2].putExtra("com.example.android.apis.Path", "App/Notification"); 184 // notification. Note the use of FLAG_UPDATE_CURRENT so that if ther 201 Notification notification = new Notification(moodId, tickerText, local 251 final Notification notification = new Notification( local [all...] |
AlarmService_Service.java | 23 import android.app.Notification; 61 // Cancel the notification -- we use the same ID that we had used to start it 96 * Show a notification while this service is running. 99 // In this sample, we'll use the same text for the ticker and the expanded notification 103 Notification notification = new Notification(R.drawable.stat_sample, text, local 106 // The PendingIntent to launch our activity if the user selects this notification 110 // Set the info for the views that show in the notification panel. 111 notification.setLatestEventInfo(this, getText(R.string.alarm_service_label) [all...] |
NotifyingService.java | 23 import android.app.Notification; 44 // variable which controls the notification thread 61 // Cancel the persistent notification. 94 // In this sample, we'll use the same text for the ticker and the expanded notification 102 Notification notification = new Notification(moodId, null, System.currentTimeMillis()); local 104 // The PendingIntent to launch our activity if the user selects this notification 108 // Set the info for the views that show in the notification panel. 109 notification.setLatestEventInfo(this, getText(R.string.status_bar_notifications_mood_title) [all...] |
MessengerService.java | 19 import android.app.Notification; 53 /** For showing and hiding our notification. */ 123 // Display a notification about us starting. 129 // Cancel the persistent notification. 146 * Show a notification while this service is running. 149 // In this sample, we'll use the same text for the ticker and the expanded notification 153 Notification notification = new Notification(R.drawable.stat_sample, text, local 156 // The PendingIntent to launch our activity if the user selects this notification [all...] |
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebDesktopNotificationsDelegate.cpp | 45 static NotificationCOMWrapper* create(Notification* inner) { return new NotificationCOMWrapper(inner); } 63 NotificationCOMWrapper(Notification* inner) : m_refCount(1), m_inner(inner) {} 66 Notification* m_inner; 149 bool WebDesktopNotificationsDelegate::show(Notification* object) 156 void WebDesktopNotificationsDelegate::cancel(Notification* object) 162 void WebDesktopNotificationsDelegate::notificationObjectDestroyed(Notification* object)
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmService.java | 19 import android.app.Notification; 70 // An Intent that displays the client if the user clicks the notification. 73 // A Notification to send to the Notification Manager when the service is started. 74 Notification mNotification; 160 // Sends a notification to the screen. 175 * Displays a notification in the status bar that this service is running. This method 176 * also creates an Intent for the AlarmActivity client and attaches it to the notification 185 mNotification = new Notification( 208 // Sets a unique ID for the notification and sends it to NotificationManager to b [all...] |
/external/chromium/chrome/browser/chromeos/notifications/ |
notification_panel.h | 19 class Notification; 40 // new : a new notification is added. 123 // Unregister the panel's state change notification. 135 // Update the notification's control view state. 148 // A callback function that is called when the notification 155 // Mark the given notification as stale. 156 void MarkStale(const Notification& notification); 162 // The notification panel's widget. 165 // The notification panel's widget [all...] |
balloon_view.h | 31 class Notification; 40 // A balloon view is the UI component for a notification panel. 60 // True if the notification is stale. False if the notification is new. 63 // Makes the notification stale. 66 // True if the notification is sticky. 69 // True if the notification is being closed. 72 // True if the balloon is for the given |notification|. 73 bool IsFor(const Notification& notification) const [all...] |
desktop_notifications_unittest.h | 17 #include "chrome/browser/notifications/notification.h" 42 virtual void Add(const Notification& notification, 44 virtual Balloon* MakeBalloon(const Notification& notification, 87 // Constructs a notification parameter structure for use in tests.
|
/frameworks/base/core/java/android/app/ |
INotificationManager.aidl | 21 import android.service.notification.StatusBarNotification; 22 import android.app.Notification; 25 import android.service.notification.INotificationListener; 35 in Notification notification, inout int[] idReceived, int userId);
|
Notification.java | 44 * A class that represents how a persistent notification is to be presented to 47 * <p>The {@link Notification.Builder Notification.Builder} has been added to make it 57 public class Notification implements Parcelable 59 private static final String TAG = "Notification"; 67 * Use the default notification sound. This will ignore any given 77 * Use the default notification vibrate. This will ignore any given 87 * Use the default notification lights. This will ignore the 97 * A timestamp related to this notification, in milliseconds since the epoch. 109 * <li>Notification of a new chat message should be stamped when the message was received.</li [all...] |
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
FixVibrateSetting.java | 20 import android.app.Notification; 96 String notification = getSettingValue(AudioManager.VIBRATE_TYPE_NOTIFICATION); local 97 String text = getString(R.string.current_setting, ringer, notification); 112 Notification n = new Notification(R.drawable.stat_sys_warning, "Test notification", 116 n.setLatestEventInfo(this, "Test notification", "Test notification", pending); 119 n.flags |= Notification.FLAG_AUTO_CANCEL;
|
/external/chromium/chrome/browser/notifications/ |
desktop_notifications_unittest.h | 15 #include "chrome/browser/notifications/notification.h" 41 virtual void Add(const Notification& notification, 44 virtual Balloon* MakeBalloon(const Notification& notification, 98 // Constructs a notification parameter structure for use in tests.
|
balloon_collection_impl.h | 5 // Handles the visible notification (or balloons). 29 // A balloon collection represents a set of notification balloons being 32 // up to its parent, the notification UI manager. 43 virtual void Add(const Notification& notification, 147 virtual Balloon* MakeBalloon(const Notification& notification,
|
/external/webkit/Source/WebCore/notifications/ |
Notification.idl | 37 ] Notification {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmReceiver.java | 19 import android.app.Notification; 56 // The alarm has been killed, update the notification 151 // Trigger a notification that, when clicked, will show the alarm alert 159 // These two notifications will be used for the action buttons on the notification. 173 // Use the alarm's label or the default label main text of the notification. 176 Notification n = new Notification.Builder(context) 182 .setPriority(Notification.PRIORITY_MAX) 183 .setDefaults(Notification.DEFAULT_LIGHTS) 194 // NEW: Embed the full-screen UI here. The notification manager wil [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
ControllerService.java | 23 import android.app.Notification; 72 /** Identifier for the notification. */ 287 * Displays a notification showing that the service is running. 288 * When the user touches the notification, it opens the main activity 297 // Note: Notification is marked as deprecated -- in API 11+ there's a new Builder class 300 Notification n = new Notification(R.drawable.ic_launcher, text, System.currentTimeMillis()); 301 n.flags |= Notification.FLAG_ONGOING_EVENT | Notification.FLAG_NO_CLEAR;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 19 import android.app.Notification; 46 * The notification that is shown when a USB mass storage host 51 private Notification mUsbStorageNotification; 54 * The notification that is shown when the following media events occur: 63 private Notification mMediaStorageNotification; 136 * Storage is now shared. Modify the UMS notification 148 * Storage is now checking. Update media notification and disable 149 * UMS notification. 159 * and enable UMS notification if connected. 167 * want to display the 'safe to unmount' notification [all...] |
/packages/apps/Phone/src/com/android/phone/ |
NotificationMgr.java | 19 import android.app.Notification; 84 // notification types 115 // if no notification is active): 118 // used to track the notification of selected network unavailable 126 // Query used to look up caller-id info for the "call log" notification. 176 * - Disabling the status bar "notification windowshade" 179 * - Disabling notification alerts (audible or vibrating) 213 * (i.e. the ability to pull down the "notification windowshade"). 284 // Update (or cancel) the in-call notification 285 if (DBG) log("- updating in-call notification at startup...") 572 Notification notification = builder.getNotification(); local 1107 Notification notification = builder.getNotification(); local 1277 Notification notification = builder.getNotification(); local 1312 Notification notification; local 1393 Notification notification = new Notification(); local [all...] |
EmergencyCallbackModeService.java | 19 import android.app.Notification; 45 * Application service that inserts/removes Emergency Callback Mode notification and 46 * updates Emergency Callback Mode countdown clock in the notification 102 // Unregister ECM timer reset notification 105 // Cancel the notification and timer 134 * Start timer notification for Emergency Callback Mode 141 // Show the notification 144 // Start countdown timer for the notification updates 162 * Shows notification for Emergency Callback Mode 167 Notification notification = new Notification local [all...] |
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
SmsMessageReceiver.java | 19 import android.app.Notification; 56 Notification.Builder notification = new Notification.Builder(context) local 70 notificationManager.notify(notificationId, notification.getNotification()); 86 // intent of a previous message and notification.
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
LocalServiceTest.java | 19 import android.app.Notification;
|
/external/chromium/chrome/browser/sync/notifier/ |
p2p_notifier.h | 51 const notifier::Notification& notification); 62 // The actual notification listener.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationController.java | 21 import android.app.Notification; 103 Notification n = new Notification.Builder(mContext) 110 // Notification.Builder will helpfully fill these out for you no matter what you do 114 n.priority = Notification.PRIORITY_HIGH;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPairingRequest.java | 21 import android.app.Notification; 35 * confirmation entry dialog. Otherwise it puts a Notification in the status bar, which can 74 // Put up a notification that leads to the dialog 76 Notification.Builder builder = new Notification.Builder(context) 93 .setDefaults(Notification.DEFAULT_SOUND); 102 // Remove the notification
|