Home
last modified time | relevance | path

Searched refs:notification (Results 1 – 25 of 762) sorted by relevance

12345678910>>...31

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationLaunchAnimatorController.kt1 package com.android.systemui.statusbar.notification
6 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
7 import com.android.systemui.statusbar.notification.stack.NotificationListContainer
21 notification: ExpandableNotificationRow in getAnimatorController()
27 notification in getAnimatorController()
41 private val notification: ExpandableNotificationRow constant in com.android.systemui.statusbar.notification.NotificationLaunchAnimatorController
48 private val notificationEntry = notification.entry
52 get() = notification.rootView as ViewGroup
59 val height = max(0, notification.actualHeight - notification.clipBottomAmount) in createAnimatorState()
60 val location = notification.locationOnScreen in createAnimatorState()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java16 package com.android.server.notification;
27 import com.android.server.notification.NotificationHistoryProto.Notification;
80 HistoricalNotification notification = readNotification(proto, stringPool); in readNotification() local
81 if (filter.matchesPackageAndChannelFilter(notification) in readNotification()
83 notifications.addNotificationToWrite(notification); in readNotification()
94 final HistoricalNotification.Builder notification = new HistoricalNotification.Builder(); in readNotification() local
100 notification.setPackage(pkg); in readNotification()
105 notification.setPackage(pkg); in readNotification()
109 notification.setChannelName(channelName); in readNotification()
113 notification.setChannelName(stringPool.get(parser.readInt( in readNotification()
[all …]
DNotificationRecord.java16 package com.android.server.notification;
24 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
25 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT…
52 import android.service.notification.Adjustment;
53 import android.service.notification.NotificationListenerService;
54 import android.service.notification.NotificationRecordProto;
55 import android.service.notification.NotificationStats;
56 import android.service.notification.SnoozeCriterion;
57 import android.service.notification.StatusBarNotification;
276 final Notification notification = getSbn().getNotification(); in calculateLights() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationsModule.java17 package com.android.systemui.statusbar.notification.dagger;
40 import com.android.systemui.statusbar.notification.AssistantFeedbackController;
41 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController;
42 import com.android.systemui.statusbar.notification.NotificationEntryManager;
43 import com.android.systemui.statusbar.notification.NotificationEntryManagerLogger;
44 import com.android.systemui.statusbar.notification.collection.NotifCollection;
45 import com.android.systemui.statusbar.notification.collection.NotifInflaterImpl;
46 import com.android.systemui.statusbar.notification.collection.NotifPipeline;
47 import com.android.systemui.statusbar.notification.collection.coordinator.VisualStabilityCoordinato…
48 import com.android.systemui.statusbar.notification.collection.inflation.NotifInflater;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationLaunchAnimatorControllerTest.kt1 package com.android.systemui.statusbar.notification
8 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
9 import com.android.systemui.statusbar.notification.row.NotificationTestHelper
10 import com.android.systemui.statusbar.notification.stack.NotificationListContainer
34 private lateinit var notification: ExpandableNotificationRow variable in com.android.systemui.statusbar.notification.NotificationLaunchAnimatorControllerTest
38 get() = notification.entry.sbn.key
47 notification = notificationTestHelper.createRow() in setUp()
52 notification in setUp()
65 assertTrue(HeadsUpUtil.isClickedHeadsUpNotification(notification)) in testHunIsRemovedIfWeDontAnimateLaunch()
66 assertFalse(notification.entry.isExpandAnimationRunning) in testHunIsRemovedIfWeDontAnimateLaunch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManager.kt17 package com.android.systemui.statusbar.notification.collection in <lambda>()
22 import android.service.notification.NotificationListenerService.Ranking in <lambda>()
23 import android.service.notification.NotificationListenerService.RankingMap in <lambda>()
24 import android.service.notification.StatusBarNotification in <lambda>()
26 import com.android.systemui.statusbar.notification.NotificationEntryManager.KeyguardEnvironment in <lambda>()
27 import com.android.systemui.statusbar.notification.NotificationEntryManagerLogger in <lambda>()
28 import com.android.systemui.statusbar.notification.NotificationFilter in <lambda>()
29 import com.android.systemui.statusbar.notification.NotificationSectionsFeatureManager in <lambda>()
30 import com.android.systemui.statusbar.notification.collection.legacy.LegacyNotificationRanker in <lambda>()
31 import com.android.systemui.statusbar.notification.collection.legacy.NotificationGroupManagerLegacy in <lambda>()
[all …]
DNotifPipeline.java17 package com.android.systemui.statusbar.notification.collection;
22 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeFinalizeFilterLis…
23 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeRenderListListene…
24 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeSortListener;
25 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeTransformGroupsLi…
26 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifComparator;
27 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifFilter;
28 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifPromoter;
29 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifSectioner;
30 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifStabilityM…
[all …]
DNotifCollection.java17 package com.android.systemui.statusbar.notification.collection;
19 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
20 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL;
21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
22 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
23 import static android.service.notification.NotificationListenerService.REASON_CHANNEL_BANNED;
24 import static android.service.notification.NotificationListenerService.REASON_CLICK;
25 import static android.service.notification.NotificationListenerService.REASON_ERROR;
26 import static android.service.notification.NotificationListenerService.REASON_GROUP_OPTIMIZATION;
27 import static android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELE…
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinator.kt17 package com.android.systemui.statusbar.notification.collection.coordinator
20 import com.android.systemui.statusbar.notification.collection.ListEntry
21 import com.android.systemui.statusbar.notification.collection.NotifPipeline
22 import com.android.systemui.statusbar.notification.collection.NotificationEntry
23 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifPromoter
24 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifSectioner
25 import com.android.systemui.statusbar.notification.collection.render.NodeController
26 import com.android.systemui.statusbar.notification.dagger.PeopleHeader
27 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier
28 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY…
DAppOpsCoordinator.java17 package com.android.systemui.statusbar.notification.collection.coordinator;
22 import android.service.notification.StatusBarNotification;
28 import com.android.systemui.statusbar.notification.collection.ListEntry;
29 import com.android.systemui.statusbar.notification.collection.NotifPipeline;
30 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
31 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifFilter;
32 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifSectioner;
110 Notification notification = notificationEntry.getSbn().getNotification();
111 return notification.isForegroundService()
112 && notification.isColorized()
DRankingCoordinator.java17 package com.android.systemui.statusbar.notification.collection.coordinator;
23 import com.android.systemui.statusbar.notification.collection.ListEntry;
24 import com.android.systemui.statusbar.notification.collection.NotifPipeline;
25 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
26 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifFilter;
27 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifSectioner;
28 import com.android.systemui.statusbar.notification.collection.provider.HighPriorityProvider;
29 import com.android.systemui.statusbar.notification.collection.render.NodeController;
30 import com.android.systemui.statusbar.notification.dagger.AlertingHeader;
31 import com.android.systemui.statusbar.notification.dagger.SilentHeader;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridNotificationView.java17 package com.android.systemui.statusbar.notification.row;
31 import com.android.systemui.statusbar.notification.TransformState;
76 … public boolean transformTo(TransformState ownState, TransformableView notification, in onFinishInflate()
79 TransformState otherState = notification.getCurrentState( in onFinishInflate()
91 TransformableView notification, float transformationAmount) { in onFinishInflate()
93 TransformState otherState = notification.getCurrentState( in onFinishInflate()
127 public void transformTo(TransformableView notification, Runnable endRunnable) { in transformTo() argument
128 mTransformationHelper.transformTo(notification, endRunnable); in transformTo()
132 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo() argument
133 mTransformationHelper.transformTo(notification, transformationAmount); in transformTo()
[all …]
DHybridGroupManager.java17 package com.android.systemui.statusbar.notification.row;
23 import android.service.notification.StatusBarNotification;
92 View contentView, StatusBarNotification notification, in bindFromNotification() argument
94 return bindFromNotificationWithStyle(reusableView, contentView, notification, in bindFromNotification()
100 StatusBarNotification notification, in bindFromNotificationWithStyle() argument
105 CharSequence titleText = resolveTitle(notification.getNotification()); in bindFromNotificationWithStyle()
106 CharSequence contentText = resolveText(notification.getNotification()); in bindFromNotificationWithStyle()
112 public static CharSequence resolveText(Notification notification) { in resolveText() argument
113 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText()
115 contentText = notification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in resolveText()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/init/
DNotificationsControllerImpl.kt17 package com.android.systemui.statusbar.notification.init
19 import android.service.notification.StatusBarNotification
26 import com.android.systemui.statusbar.notification.AnimatedImageNotificationManager
27 import com.android.systemui.statusbar.notification.NotificationActivityStarter
28 import com.android.systemui.statusbar.notification.NotificationClicker
29 import com.android.systemui.statusbar.notification.NotificationEntryManager
30 import com.android.systemui.statusbar.notification.NotificationListController
31 import com.android.systemui.statusbar.notification.collection.NotifPipeline
32 import com.android.systemui.statusbar.notification.collection.NotificationRankingManager
33 import com.android.systemui.statusbar.notification.collection.TargetSdkResolver
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DOWNERS12 per-file *Notification* = file:/services/core/java/com/android/server/notification/OWNERS
13 per-file *Messaging* = file:/services/core/java/com/android/server/notification/OWNERS
14 per-file *Message* = file:/services/core/java/com/android/server/notification/OWNERS
15 per-file *Conversation* = file:/services/core/java/com/android/server/notification/OWNERS
16 per-file *People* = file:/services/core/java/com/android/server/notification/OWNERS
17 per-file *ImageResolver* = file:/services/core/java/com/android/server/notification/OWNERS
18 per-file CallLayout.java = file:/services/core/java/com/android/server/notification/OWNERS
19 per-file CachingIconView.java = file:/services/core/java/com/android/server/notification/OWNERS
20 per-file ImageFloatingTextView.java = file:/services/core/java/com/android/server/notification/OWNE…
21 per-file ObservableTextView.java = file:/services/core/java/com/android/server/notification/OWNERS
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DOnUserInteractionCallbackImpl.java17 package com.android.systemui.statusbar.notification.collection.inflation;
19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
23 import android.service.notification.NotificationListenerService;
24 import android.service.notification.NotificationStats;
28 import com.android.systemui.statusbar.notification.collection.NotifCollection;
29 import com.android.systemui.statusbar.notification.collection.NotifPipeline;
30 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
31 import com.android.systemui.statusbar.notification.collection.coordinator.VisualStabilityCoordinato…
32 import com.android.systemui.statusbar.notification.collection.notifcollection.DismissedByUserStats;
33 import com.android.systemui.statusbar.notification.collection.render.GroupMembershipManager;
[all …]
/frameworks/base/core/tests/coretests/src/android/debug/
DAdbNotificationsTest.java53 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_UsbTransportType() local
57 assertEquals(title, notification.extras.getCharSequence(Notification.EXTRA_TITLE, "")); in testCreateNotification_UsbTransportType()
58 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_UsbTransportType()
61 if (notification.contentIntent != null) { in testCreateNotification_UsbTransportType()
62 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_UsbTransportType()
73 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_WifiTransportType() local
77 assertEquals(title, notification.extras.getCharSequence(Notification.EXTRA_TITLE, "")); in testCreateNotification_WifiTransportType()
78 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_WifiTransportType()
81 if (notification.contentIntent != null) { in testCreateNotification_WifiTransportType()
82 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_WifiTransportType()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java17 package android.service.notification;
64 private final Notification notification; field in StatusBarNotification
76 String tag, int uid, int initialPid, Notification notification, UserHandle user, in StatusBarNotification() argument
79 if (notification == null) throw new NullPointerException(); in StatusBarNotification()
87 this.notification = notification; in StatusBarNotification()
100 int initialPid, int score, Notification notification, UserHandle user, in StatusBarNotification() argument
103 if (notification == null) throw new NullPointerException(); in StatusBarNotification()
111 this.notification = notification; in StatusBarNotification()
129 this.notification = new Notification(in); in StatusBarNotification()
162 ? "c:" + notification.getChannelId() in groupKey()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLogger.java17 package com.android.systemui.statusbar.notification.logging;
19 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
20 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
21 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
22 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
23 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
24 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE…
27 import android.service.notification.StatusBarNotification;
31 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
32 import com.android.systemui.statusbar.notification.logging.nano.Notifications;
[all …]
/frameworks/base/core/java/android/app/
DNotificationHistory.java312 final HistoricalNotification notification = mNotificationsToWrite.get(i); in poolStringsFromNotifications() local
313 mStringsToWrite.add(notification.getPackage()); in poolStringsFromNotifications()
314 mStringsToWrite.add(notification.getChannelName()); in poolStringsFromNotifications()
315 mStringsToWrite.add(notification.getChannelId()); in poolStringsFromNotifications()
316 if (!TextUtils.isEmpty(notification.getConversationId())) { in poolStringsFromNotifications()
317 mStringsToWrite.add(notification.getConversationId()); in poolStringsFromNotifications()
325 public void addNotificationToWrite(@NonNull HistoricalNotification notification) { in addNotificationToWrite() argument
326 if (notification == null) { in addNotificationToWrite()
329 mNotificationsToWrite.add(notification); in addNotificationToWrite()
336 public void addNewNotificationToWrite(@NonNull HistoricalNotification notification) { in addNewNotificationToWrite() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DOnUserInteractionCallbackImplLegacy.java17 package com.android.systemui.statusbar.notification.collection.legacy;
19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
22 import android.service.notification.NotificationListenerService;
23 import android.service.notification.NotificationStats;
27 import com.android.systemui.statusbar.notification.NotificationEntryManager;
28 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
29 import com.android.systemui.statusbar.notification.collection.notifcollection.DismissedByUserStats;
30 import com.android.systemui.statusbar.notification.collection.render.GroupMembershipManager;
31 import com.android.systemui.statusbar.notification.logging.NotificationLogger;
32 import com.android.systemui.statusbar.notification.row.OnUserInteractionCallback;
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java28 import android.service.notification.StatusBarNotification;
33 import com.android.systemui.statusbar.notification.collection.NotificationEntry;
110 public static boolean isMissedCall(Notification notification) { in isMissedCall() argument
111 return notification != null && Objects.equals(notification.category, CATEGORY_MISSED_CALL); in isMissedCall()
148 Notification notification = sbn.getNotification(); in shouldMatchNotificationByUri() local
149 if (notification == null) { in shouldMatchNotificationByUri()
153 boolean isMissedCall = isMissedCall(notification); in shouldMatchNotificationByUri()
197 Notification notification) { in getMessagingStyleMessages() argument
198 if (notification == null) { in getMessagingStyleMessages()
201 if (notification.isStyle(Notification.MessagingStyle.class) in getMessagingStyleMessages()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DForegroundServiceSectionController.kt17 package com.android.systemui.statusbar.notification.stack in <lambda>()
20 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL in <lambda>()
21 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL in <lambda>()
22 import android.service.notification.NotificationListenerService.REASON_CANCEL in <lambda>()
23 import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL in <lambda>()
24 import android.service.notification.NotificationListenerService.REASON_CLICK in <lambda>()
25 import android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELED in <lambda>()
31 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController in <lambda>()
32 import com.android.systemui.statusbar.notification.NotificationEntryListener in <lambda>()
33 import com.android.systemui.statusbar.notification.NotificationEntryManager in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationEntryManagerInflationTest.java17 package com.android.systemui.statusbar.notification.row;
21 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON…
35 import android.service.notification.NotificationListenerService;
36 import android.service.notification.NotificationListenerService.Ranking;
37 import android.service.notification.StatusBarNotification;
61 import com.android.systemui.statusbar.notification.ConversationNotificationProcessor;
62 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController;
63 import com.android.systemui.statusbar.notification.NotificationClicker;
64 import com.android.systemui.statusbar.notification.NotificationEntryListener;
65 import com.android.systemui.statusbar.notification.NotificationEntryManager;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java17 package com.android.systemui.statusbar.notification.collection;
23 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_…
24 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_…
39 import com.android.systemui.statusbar.notification.collection.provider.HighPriorityProvider;
40 import com.android.systemui.statusbar.notification.collection.render.GroupMembershipManager;
41 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier;
85 final Notification notification = new Notification.Builder(mContext, "test") in peopleNotification() local
88 .setNotification(notification) in peopleNotification()
102 final Notification notification = new Notification.Builder(mContext, "test") in messagingStyle() local
106 .setNotification(notification) in messagingStyle()
[all …]

12345678910>>...31