/frameworks/base/docs/html/samples/ |
notification.jd | 1 page.title=Notification 5 <div id="samples" class="notification">
|
/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...] |
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/ |
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...] |
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...] |
/external/libweave/src/notification/ |
notification_parser.cc | 5 #include "src/notification/notification_parser.h" 14 bool ParseCommandCreated(const base::DictionaryValue& notification, 18 if (!notification.GetDictionary("command", &command)) { 19 LOG(ERROR) << "COMMAND_CREATED notification is missing 'command' property"; 28 bool ParseDeviceDeleted(const base::DictionaryValue& notification, 31 if (!notification.GetString("deviceId", &cloud_id)) { 32 LOG(ERROR) << "DEVICE_DELETED notification is missing 'deviceId' property"; 42 bool ParseNotificationJson(const base::DictionaryValue& notification, 48 if (!notification.GetString("kind", &kind) || kind != "weave#notification") { [all...] |
notification_parser.h | 12 #include "src/notification/notification_delegate.h" 16 // Parses the notification JSON object received from GCD server and invokes 18 // Returns false if unexpected or malformed notification is received. 19 bool ParseNotificationJson(const base::DictionaryValue& notification,
|
/external/junit/src/org/junit/runner/notification/ |
package-info.java | 6 package org.junit.runner.notification
|
/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...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationBigPictureTemplateViewWrapper.java | 17 package com.android.systemui.statusbar.notification; 19 import android.app.Notification; 23 import android.service.notification.StatusBarNotification; 29 * Wraps a notification containing a big picture template 39 public void notifyContentUpdated(StatusBarNotification notification) { 40 super.notifyContentUpdated(notification); 41 updateImageTag(notification); 44 private void updateImageTag(StatusBarNotification notification) { 45 final Bundle extras = notification.getNotification().extras; 46 Icon overRiddenIcon = extras.getParcelable(Notification.EXTRA_LARGE_ICON_BIG) [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...] |
/frameworks/base/docs/html/training/wearables/notifications/ |
pages.jd | 1 page.title=Adding Pages to a Notification 12 <li>Add Pages to a Notification</li> 19 add one or more pages to the notification on the wearable. The additional pages 20 appear immediately to the right of the main notification card. 26 <p>To create a notification with multiple pages:</p> 28 <li>Create the main notification (the first page) with 30 in the way you'd like the notification to appear on a handset.</li> 33 <li>Apply the pages to the main notification with the 40 <p>For example, here's some code that adds a second page to a notification:</p> 43 // Create builder for the main notification [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
NotificationTest.java | 4 import android.app.Notification; 19 Notification notification = new Notification(); local 20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent); 21 assertThat(pendingIntent, is(notification.contentIntent));
|
/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();
|
/developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/developers/samples/android/notification/BasicNotifications/Application/src/main/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/development/samples/browseable/BasicNotifications/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/development/samples/browseable/Notifications/ |
_index.jd | 8 This sample application provides a showcase of available notification styles and 10 companion allows you to select between various notification styles and to see how these 11 notifications are displayed, both in a phone\'s notification shade and on the wearable.
|
/development/samples/browseable/ActiveNotifications/ |
_index.jd | 12 notifications. To get started, press the "add a notification" button. 13 If you add more than one notification a notification summary will be 14 added. When a notification is being canceled, the count gets updated
|
/development/samples/browseable/CustomNotifications/ |
_index.jd | 3 sample.group=Notification
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationIntrusivenessExtractor.java | 17 package com.android.server.notification; 19 import android.app.Notification; 21 import android.service.notification.NotificationListenerService; 26 * This {@link com.android.server.notification.NotificationSignalExtractor} notices noisy 33 /** Length of time (in milliseconds) that an intrusive or noisy notification will stay at 43 if (DBG) Slog.d(TAG, "skipping empty notification"); 48 final Notification notification = record.getNotification(); local 49 if ((notification.defaults & Notification.DEFAULT_VIBRATE) != 0 | [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyNotificationListenerService.java | 18 import android.app.Notification; 20 import android.service.notification.NotificationListenerService; 21 import android.service.notification.StatusBarNotification; 25 * NotificationListenerService implementation that executes the notification actions once they're 40 Log.v(TAG, "ignoring notification from a different package"); 43 final Notification notification = sbn.getNotification(); local 44 if (notification.actions == null) { 45 Log.w(TAG, "ignoring notification without an action"); 47 for (Notification.Action action : notification.actions) [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...] |