/frameworks/base/core/java/android/app/ |
Notification.aidl | 19 parcelable Notification; 20 parcelable Notification.Topic;
|
/frameworks/support/compat/api23/android/support/v4/app/ |
NotificationCompatApi23.java | 19 import android.app.Notification; 23 public static final String CATEGORY_REMINDER = Notification.CATEGORY_REMINDER;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
NotificationCompatImpl24.java | 19 import android.app.Notification; 25 Notification.Builder builder = b.getBuilder(); 26 builder.setStyle(new Notification.DecoratedCustomViewStyle()); 30 Notification.Builder builder = b.getBuilder(); 31 builder.setStyle(new Notification.DecoratedMediaCustomViewStyle());
|
NotificationCompatImplJellybean.java | 19 import android.app.Notification; 26 Notification.BigTextStyle bigTextStyle = new Notification.BigTextStyle(b.getBuilder());
|
NotificationCompatImpl21.java | 19 import android.app.Notification; 28 Notification.MediaStyle style = new Notification.MediaStyle(b.getBuilder());
|
/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...] |
/frameworks/support/compat/honeycomb/android/support/v4/app/ |
NotificationBuilderWithBuilderAccessor.java | 19 import android.app.Notification; 25 * Interface implemented by notification compat builders that support 26 * an accessor for {@link Notification.Builder}. {@link Notification.Builder} 33 public Notification.Builder getBuilder(); 34 public Notification build();
|
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/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 19 import android.app.Notification; 93 Notification n = new Notification.Builder(NotificationTestList.this) 97 .setDefaults(Notification.DEFAULT_LIGHTS|Notification.DEFAULT_VIBRATE) 102 .setPriority(Notification.PRIORITY_MAX) 115 Notification n = new Notification.Builder(NotificationTestList.this) 119 .setPriority(Notification.PRIORITY_MIN) 123 n = new Notification.Builder(NotificationTestList.this [all...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
PriorityPresets.java | 19 import android.app.Notification; 23 * Collection of notification priority presets. 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX) 38 * Simple notification priority preset that sets a priority using
|
/frameworks/support/compat/java/android/support/v4/app/ |
INotificationSideChannel.aidl | 19 import android.app.Notification; 29 * Send an ambient notification to the service. 31 void notify(String packageName, int id, String tag, in Notification notification); 34 * Cancel an already-notified notification.
|
/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);
|
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [all...] |
/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);
|
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [all...] |
/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);
|
NotificationPresets.java | 19 import android.app.Notification; 41 * Collection of notification builder presets. 53 private static Notification.Builder buildBasicNotification(Context context) { 54 return new Notification.Builder(context) 69 public Notification buildNotification(Context context) { 73 Notification page2 = buildBasicNotification(context) 74 .extend(new Notification.WearableExtender() 80 Notification page3 = buildBasicNotification(context) 83 .extend(new Notification.WearableExtender() 92 .extend(new Notification.WearableExtender( [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/compat/api24/android/support/v4/app/ |
NotificationCompatApi24.java | 19 import android.app.Notification; 33 public static final String CATEGORY_CALL = Notification.CATEGORY_CALL; 34 public static final String CATEGORY_MESSAGE = Notification.CATEGORY_MESSAGE; 35 public static final String CATEGORY_EMAIL = Notification.CATEGORY_EMAIL; 36 public static final String CATEGORY_EVENT = Notification.CATEGORY_EVENT; 37 public static final String CATEGORY_PROMO = Notification.CATEGORY_PROMO; 38 public static final String CATEGORY_ALARM = Notification.CATEGORY_ALARM; 39 public static final String CATEGORY_PROGRESS = Notification.CATEGORY_PROGRESS; 40 public static final String CATEGORY_SOCIAL = Notification.CATEGORY_SOCIAL; 41 public static final String CATEGORY_ERROR = Notification.CATEGORY_ERROR [all...] |
/frameworks/support/compat/ics/android/support/v4/app/ |
NotificationCompatIceCreamSandwich.java | 19 import android.app.Notification; 29 private Notification.Builder b; 31 public Builder(Context context, Notification n, CharSequence contentTitle, 35 b = new Notification.Builder(context) 43 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 44 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 45 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 53 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0) 60 public Notification.Builder getBuilder() { 65 public Notification build() [all...] |
/frameworks/support/compat/api20/android/support/v4/app/ |
NotificationCompatApi20.java | 19 import android.app.Notification; 33 private Notification.Builder b; 38 public Builder(Context context, Notification n, 46 b = new Notification.Builder(context) 55 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 56 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 57 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 66 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0) 81 mExtras.putStringArray(Notification.EXTRA_PEOPLE, 94 public Notification.Builder getBuilder() 101 Notification notification = b.build(); local [all...] |
/external/robolectric/v1/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...] |
/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...] |