HomeSort by relevance Sort by last modified time
    Searched refs:Notification (Results 1 - 25 of 328) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
Notification.aidl 19 parcelable Notification;
  /frameworks/support/v4/honeycomb/android/support/v4/app/
NotificationBuilderWithBuilderAccessor.java 19 import android.app.Notification;
22 * Interface implemented by notification compat builders that support
23 * an accessor for {@link Notification.Builder}. {@link Notification.Builder}
29 public Notification.Builder getBuilder();
30 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)
  /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...]
  /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/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;
  /frameworks/support/v4/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/v4/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/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...]
NotificationCompatWearableExtenderTest.java 19 import android.app.Notification;
50 assertExtendersEqual(new Notification.WearableExtender(),
57 Notification notif = new NotificationCompat.Builder(getContext())
61 assertExtendersEqual(new Notification.WearableExtender(notif), compatExtender);
62 assertExtendersEqual(new Notification.WearableExtender(notif),
67 Notification.WearableExtender realExtender =
68 new Notification.WearableExtender();
69 Notification notif = new Notification.Builder(getContext())
74 assertExtendersEqual(new Notification.WearableExtender(notif)
    [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...]
  /frameworks/support/v4/api20/android/support/v4/app/
NotificationCompatApi20.java 19 import android.app.Notification;
33 private Notification.Builder b;
36 public Builder(Context context, Notification n,
44 b = new Notification.Builder(context)
53 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0)
54 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0)
55 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0)
64 (n.flags & Notification.FLAG_HIGH_PRIORITY) != 0)
79 mExtras.putStringArray(Notification.EXTRA_PEOPLE,
90 public Notification.Builder getBuilder()
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
NotificationCompatImpl21.java 19 import android.app.Notification;
31 Notification.MediaStyle style = new Notification.MediaStyle(b.getBuilder());
  /frameworks/support/v4/eclair/android/support/v4/app/
NotificationManagerCompatEclair.java 19 import android.app.Notification;
29 Notification notification) {
30 notificationManager.notify(tag, id, notification);
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
NotificationTestList.java 19 import android.app.Notification;
96 Notification n = new Notification.Builder(NotificationTestList.this)
121 Notification n = new Notification.Builder(NotificationTestList.this)
136 Notification n = new Notification.Builder(NotificationTestList.this)
150 Notification n = new Notification.Builder(NotificationTestList.this)
154 .setContentText("This is a notification!!!")
    [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...]

Completed in 293 milliseconds

1 2 3 4 5 6 7 8 91011>>