/frameworks/support/v4/honeycomb/android/support/v4/app/ |
NotificationCompatHoneycomb.java | 19 import android.app.Notification; 26 static Notification add(Context context, Notification n, 30 Notification.Builder b = new Notification.Builder(context) 38 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 39 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 40 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 48 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0)
|
/frameworks/support/v4/ics/android/support/v4/app/ |
NotificationCompatIceCreamSandwich.java | 19 import android.app.Notification; 26 static Notification add(Context context, Notification n, 31 Notification.Builder b = new Notification.Builder(context) 39 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 40 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 41 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 49 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0)
|
/frameworks/support/v4/java/android/support/v4/app/ |
NotificationCompat.java | 19 import android.app.Notification; 38 * Helper for accessing features in {@link android.app.Notification} 49 * Use the default notification sound. This will ignore any sound set using 53 * A notification that is noisy is more likely to be presented as a heads-up notification, 62 * Use the default notification vibrate. This will ignore any vibrate set using 67 * A notification that vibrates is more likely to be presented as a heads-up notification, 76 * Use the default notification lights. This will ignore the 91 * Bit set in the Notification flags field when LEDs should be turned o 1567 Notification notification = null; local [all...] |
/developers/build/prebuilts/gradle/LNotifications/.google/ |
packaging.yaml | 8 categories: [Notification] 15 - android:android.app.Notification 16 - android:android.app.Notification.Builder
|
/developers/samples/android/notification/CustomNotifications/ |
template-params.xml | 19 <group>Notification</group> 35 <categories>Notification, UI</categories> 42 <img>screenshots/main-notification.png</img> 43 <img>screenshots/notification.png</img> 46 <android>android.app.Notification</android> 55 The use of collapsed and expanded notification views are shown. 61 also demonstrates the expanded notification introduced in API level 16. 66 - Create Intent to launch Activity when notification is clicked. 68 - Use NotificationManager's notify to show notification. 70 In the sample, click on the "SHOW NOTIFICATION" button to creat [all...] |
/external/chromium_org/base/power_monitor/ |
power_observer.h | 15 // Notification of a change in power status of the computer, such 19 // Notification that the system is suspending. 22 // Notification that the system is resuming.
|
/external/chromium_org/chrome/common/extensions/api/ |
notifications.idl | 32 // Title of one item of a list notification. 52 // Which type of notification to display. 73 // Title of the notification (e.g. sender name for email). 77 // Main notification content. 81 // Alternate notification content with a lower-weight font. 88 // A timestamp associated with the notification, in milliseconds past the 92 // Text and icons for up to two notification action buttons. 95 // Secondary notification content. 111 // clicks on the body of a notification. 126 // Creates and displays a notification [all...] |
/external/chromium_org/content/public/browser/ |
notification_observer.h | 15 // This is the base class for notification observers. When a matching 16 // notification is posted to the notification service, Observe is called.
|
/developers/build/prebuilts/gradle/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/ |
FindPhoneActivity.java | 20 import android.app.Notification; 21 import android.app.Notification.Action; 35 private static Notification.Builder notification; field in class:FindPhoneActivity 41 // Create a notification with an action to toggle an alarm on the phone. 52 // Use a spannable string for the notification title to resize it. 55 notification = new Notification.Builder(this) 61 .extend(new Notification.WearableExtender() 66 .setPriority(Notification.PRIORITY_MAX) [all...] |
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
HeadsUpNotificationFragment.java | 20 import android.app.Notification; 46 * Button to show a notification. 95 Toast.makeText(getActivity(), "Show Notification clicked", Toast.LENGTH_SHORT).show(); 102 * Creates a new notification depending on the argument. 104 * @param makeHeadsUpNotification A boolean value to indicating whether a notification will be 105 * created as a heads-up notification or not. 107 * <li>true : Creates a heads-up notification.</li> 108 * <li>false : Creates a non-heads-up notification.</li> 111 * @return A Notification instance. 114 Notification createNotification(boolean makeHeadsUpNotification) [all...] |
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
HeadsUpNotificationFragment.java | 20 import android.app.Notification; 46 * Button to show a notification. 95 Toast.makeText(getActivity(), "Show Notification clicked", Toast.LENGTH_SHORT).show(); 102 * Creates a new notification depending on the argument. 104 * @param makeHeadsUpNotification A boolean value to indicating whether a notification will be 105 * created as a heads-up notification or not. 107 * <li>true : Creates a heads-up notification.</li> 108 * <li>false : Creates a non-heads-up notification.</li> 111 * @return A Notification instance. 114 Notification createNotification(boolean makeHeadsUpNotification) [all...] |
/developers/samples/android/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/ |
FindPhoneActivity.java | 20 import android.app.Notification; 21 import android.app.Notification.Action; 35 private static Notification.Builder notification; field in class:FindPhoneActivity 41 // Create a notification with an action to toggle an alarm on the phone. 52 // Use a spannable string for the notification title to resize it. 55 notification = new Notification.Builder(this) 61 .extend(new Notification.WearableExtender() 66 .setPriority(Notification.PRIORITY_MAX) [all...] |
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/ |
FindPhoneActivity.java | 20 import android.app.Notification; 21 import android.app.Notification.Action; 35 private static Notification.Builder notification; field in class:FindPhoneActivity 41 // Create a notification with an action to toggle an alarm on the phone. 52 // Use a spannable string for the notification title to resize it. 55 notification = new Notification.Builder(this) 61 .extend(new Notification.WearableExtender() 66 .setPriority(Notification.PRIORITY_MAX) [all...] |
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
HeadsUpNotificationFragment.java | 20 import android.app.Notification; 46 * Button to show a notification. 95 Toast.makeText(getActivity(), "Show Notification clicked", Toast.LENGTH_SHORT).show(); 102 * Creates a new notification depending on the argument. 104 * @param makeHeadsUpNotification A boolean value to indicating whether a notification will be 105 * created as a heads-up notification or not. 107 * <li>true : Creates a heads-up notification.</li> 108 * <li>false : Creates a non-heads-up notification.</li> 111 * @return A Notification instance. 114 Notification createNotification(boolean makeHeadsUpNotification) [all...] |
/frameworks/support/v4/api21/android/support/v4/app/ |
NotificationCompatApi21.java | 19 import android.app.Notification; 31 public static final String CATEGORY_CALL = Notification.CATEGORY_CALL; 32 public static final String CATEGORY_MESSAGE = Notification.CATEGORY_MESSAGE; 33 public static final String CATEGORY_EMAIL = Notification.CATEGORY_EMAIL; 34 public static final String CATEGORY_EVENT = Notification.CATEGORY_EVENT; 35 public static final String CATEGORY_PROMO = Notification.CATEGORY_PROMO; 36 public static final String CATEGORY_ALARM = Notification.CATEGORY_ALARM; 37 public static final String CATEGORY_PROGRESS = Notification.CATEGORY_PROGRESS; 38 public static final String CATEGORY_SOCIAL = Notification.CATEGORY_SOCIAL; 39 public static final String CATEGORY_ERROR = Notification.CATEGORY_ERROR [all...] |
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPreset.java | 19 import android.app.Notification; 23 * Base class for notification preset generators. 32 /** Start building a notification with this preset */ 33 public abstract Notification buildNotification(Context context);
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPreset.java | 19 import android.app.Notification; 23 * Base class for notification preset generators. 32 /** Start building a notification with this preset */ 33 public abstract Notification buildNotification(Context context);
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
NotificationPreset.java | 19 import android.app.Notification; 23 * Base class for notification preset generators. 32 /** Start building a notification with this preset */ 33 public abstract Notification buildNotification(Context context);
|
/external/chromium_org/chrome/browser/notifications/ |
extension_welcome_notification.h | 33 class Notification; 37 // hiding a welcome notification for built-in components that show 38 // notifications. The Welcome Notification presumes network connectivity since 40 // current consumers on the welcome notification also presume network 61 // Requested time from showing the welcome notification to expiration. 81 // Adds in the welcome notification if required for components built 83 void ShowWelcomeNotificationIfNecessary(const Notification& notification); 85 // Handles Preference Registration for the Welcome Notification. 98 // Unconditionally shows the welcome notification [all...] |
/external/chromium_org/ui/message_center/ |
notification_list.h | 32 class Notification; 38 bool operator()(Notification* n1, Notification* n2); 42 bool operator()(Notification* n1, Notification* n2); 49 // Notification Center. 50 typedef std::set<Notification*, ComparePriorityTimestampSerial> Notifications; 54 typedef std::set<Notification*, CompareTimestampSerial> PopupNotifications; 65 void AddNotification(scoped_ptr<Notification> notification); [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationManagerInternal.java | 17 package com.android.server.notification; 19 import android.app.Notification; 23 String tag, int id, Notification notification, int[] idReceived, int userId);
|
/frameworks/support/v4/eclair/android/support/v4/app/ |
NotificationManagerCompatEclair.java | 19 import android.app.Notification; 29 Notification notification) { 30 notificationManager.notify(tag, id, notification);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
NotificationCompatUtils.java | 19 import android.app.Notification; 28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class); 30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class); 32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class); 34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class); 36 CompatUtils.getMethod(Notification.Builder.class, "build"); 38 CompatUtils.getField(Notification.class, "VISIBILITY_SECRET"); 43 CompatUtils.getField(Notification.class, "CATEGORY_RECOMMENDATION"); 48 CompatUtils.getField(Notification.class, "PRIORITY_LOW"); 58 public static void setColor(final Notification.Builder builder, final int color) [all...] |
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServerService.java | 19 import android.app.Notification; 31 // A special ID assigned to this on-going notification. 38 * Start the SSL web server and set an on-going notification 49 * Stop the SSL web server and remove the on-going notification 67 * Create an on-going notification. It will stop the server when the user 68 * clicks on the notification. 71 Log.d(TAG, "Create an ongoing notification"); 78 Notification notification = new Notification.Builder(this) local [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/blackberry/ |
notification.html | 12 n = window.webkitNotifications.createNotification(window.location.href + '/favicon.ico', 'Notify me', 'This is the notification body'); 14 n.onshow = function() { log.innerText = "notification showing"; } 15 n.onclick = function() { log.innerText = "notification clicked"; } 16 n.onerror = function() { log.innerText = "notification error"; } 17 n.onclose = function() { log.innerText = "notification closed"; } 19 log.innerText = "Did you notice the notification ? There are 3 ways the notification will go away:\n 1. It automically goes away in 30 seconds;\n 2. you can click the close button on the notification to close it;\n 3. Click above link 'Click to cancel the notification.\n\n Please verify all work; Whenever the icon is clicked, cancelled, closed, etc. there will be corresponding log is this area, please notice if they show up."; 45 <a style="margin-left: 20px;" onclick="setNotification(); return false;" href="#">Click to set notification</a> <br [all...] |