/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManager.java | 68 void onStateChange(AlertEntry alertEntry, boolean isHeadsUp); in onStateChange() 142 AlertEntry alertEntry, in maybeShowHeadsUp() 172 public void maybeRemoveHeadsUp(AlertEntry alertEntry) { in maybeRemoveHeadsUp() 216 private void handleHeadsUpNotificationStateChanged(AlertEntry alertEntry, boolean isHeadsUp) { in handleHeadsUpNotificationStateChanged() 234 private boolean isUpdate(AlertEntry alertEntry) { in isUpdate() 247 private boolean canUpdate(AlertEntry alertEntry) { in canUpdate() 258 private HeadsUpEntry addNewHeadsUpEntry(AlertEntry alertEntry) { in addNewHeadsUpEntry() 296 private void showHeadsUp(AlertEntry alertEntry, in showHeadsUp() 422 private void playSound(AlertEntry alertEntry, in playSound() 437 private boolean shouldDismissOnSwipe(AlertEntry alertEntry) { in shouldDismissOnSwipe() [all …]
|
D | CarNotificationListener.java | 126 AlertEntry alertEntry = new AlertEntry(sbn); in onNotificationPosted() local 139 AlertEntry alertEntry = mActiveNotifications.get(sbn.getKey()); in onNotificationRemoved() local 212 private void notifyNotificationPosted(AlertEntry alertEntry) { in notifyNotificationPosted() 236 public void onStateChange(AlertEntry alertEntry, boolean isHeadsUp) { in onStateChange() 249 private void postNewNotification(AlertEntry alertEntry) { in postNewNotification() 250 mActiveNotifications.put(alertEntry.getKey(), alertEntry); in postNewNotification() local 254 private void removeNotification(AlertEntry alertEntry) { in removeNotification() 259 private void sendNotificationEventToHandler(AlertEntry alertEntry, int eventType) { in sendNotificationEventToHandler() 271 boolean shouldTrackUnseen(AlertEntry alertEntry) { in shouldTrackUnseen()
|
D | NotificationDataManager.java | 86 void addNewMessageNotification(AlertEntry alertEntry) { in addNewMessageNotification() 102 void untrackUnseenNotification(AlertEntry alertEntry) { in untrackUnseenNotification() 141 public boolean isMessageNotificationMuted(AlertEntry alertEntry) { in isMessageNotificationMuted() 153 public void toggleMute(AlertEntry alertEntry) { in toggleMute()
|
D | NotificationClickHandlerFactory.java | 68 void onNotificationClicked(int launchResult, AlertEntry alertEntry); in onNotificationClicked() 114 public View.OnClickListener getClickHandler(AlertEntry alertEntry) { in getClickHandler() 158 public View.OnClickListener getActionClickHandler(AlertEntry alertEntry, int index) { in getActionClickHandler()
|
D | NotificationUtils.java | 64 public static boolean isSystemPrivilegedOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemPrivilegedOrPlatformKey() 78 public static boolean isSystemOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemOrPlatformKey() 110 public static CarNotificationTypeItem getNotificationViewType(AlertEntry alertEntry) { in getNotificationViewType() 160 AlertEntry alertEntry, boolean checkForPrivilegedApp) { in isSystemPrivilegedOrPlatformKeyInner()
|
D | PreprocessingManager.java | 148 AlertEntry alertEntry, in updateNotifications() 194 boolean shouldFilter(AlertEntry alertEntry, RankingMap rankingMap) { in shouldFilter() 222 private boolean isLessImportantForegroundNotification(AlertEntry alertEntry, in isLessImportantForegroundNotification() 243 private boolean isMediaOrNavigationNotification(AlertEntry alertEntry) { in isMediaOrNavigationNotification() 270 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving() 322 AlertEntry alertEntry = list.get(i); in group() local
|
D | NotificationGroup.java | 50 public NotificationGroup(AlertEntry alertEntry) { in NotificationGroup() 54 public void addNotification(AlertEntry alertEntry) { in addNotification()
|
D | NotificationViewController.java | 123 boolean showLessImportantNotifications, int what, AlertEntry alertEntry) { in updateNotifications()
|
D | CarNotificationTypeItem.java | 162 public void bind(AlertEntry alertEntry, boolean isHeadsUp, in bind()
|
D | CarNotificationItemTouchListener.java | 449 private void clearNotification(AlertEntry alertEntry) { in clearNotification()
|
D | CarNotificationViewAdapter.java | 162 AlertEntry alertEntry = notificationGroup.getSingleNotification(); in onBindViewHolderImpl() local
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | NotificationUtilsTest.java | 204 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType() local 218 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox() local 228 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic() local
|
D | CarNotificationListenerTest.java | 245 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onStateChange_hunNoLongerHun_notifiesHandler() local 264 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local 265 mCarNotificationListener.getNotifications().put(alertEntry.getKey(), alertEntry); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CallNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | InboxNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | NavigationNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | BasicNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | MessageNotificationViewHolder.java | 82 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 94 public void bindRestricted(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bindRestricted() 104 private void bindBody(AlertEntry alertEntry, boolean isInGroup, boolean isRestricted, in bindBody()
|
D | ProgressNotificationViewHolder.java | 60 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 71 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | CarNotificationActionsView.java | 113 public void bind(NotificationClickHandlerFactory clickHandlerFactory, AlertEntry alertEntry) { in bind() 196 AlertEntry alertEntry) { in createPlayButton() 211 AlertEntry alertEntry) { in createMuteButton()
|
D | CarNotificationBaseViewHolder.java | 148 public void bind(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bind() 329 void updateDismissButton(AlertEntry alertEntry, boolean isHeadsUp) { in updateDismissButton() 402 View.OnClickListener getDismissHandler(AlertEntry alertEntry) { in getDismissHandler()
|
D | EmergencyNotificationViewHolder.java | 62 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
|
D | CarNotificationHeaderView.java | 111 public void bind(AlertEntry alertEntry, boolean isInGroup) { in bind()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | NotificationPanelViewController.java | 309 mNotificationClickHandlerFactory.registerClickListener((launchResult, alertEntry) -> { in onNotificationViewInflated() argument
|