Home
last modified time | relevance | path

Searched refs:mClickHandlerFactory (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderViewHolder.java47 private final NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationHeaderViewHolder
62 mClickHandlerFactory = notificationClickHandlerFactory; in CarNotificationHeaderViewHolder()
112 if (mClickHandlerFactory != null && mCollapsePanelAfterManageButton) { in manageButtonOnClickListener()
113 mClickHandlerFactory.collapsePanel(); in manageButtonOnClickListener()
DCarNotificationFooterViewHolder.java43 private final NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationFooterViewHolder
59 mClickHandlerFactory = notificationClickHandlerFactory; in CarNotificationFooterViewHolder()
99 if (mClickHandlerFactory != null && mCollapsePanelAfterManageButton) { in manageButtonOnClickListener()
100 mClickHandlerFactory.collapsePanel(); in manageButtonOnClickListener()
DNavigationNotificationViewHolder.java33 private final NotificationClickHandlerFactory mClickHandlerFactory; field in NavigationNotificationViewHolder
41 mClickHandlerFactory = clickHandlerFactory; in NavigationNotificationViewHolder()
53 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DInboxNotificationViewHolder.java34 private NotificationClickHandlerFactory mClickHandlerFactory; field in InboxNotificationViewHolder
42 mClickHandlerFactory = clickHandlerFactory; in InboxNotificationViewHolder()
54 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DCallNotificationViewHolder.java33 private final NotificationClickHandlerFactory mClickHandlerFactory; field in CallNotificationViewHolder
41 mClickHandlerFactory = clickHandlerFactory; in CallNotificationViewHolder()
53 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DBasicNotificationViewHolder.java33 private final NotificationClickHandlerFactory mClickHandlerFactory; field in BasicNotificationViewHolder
41 mClickHandlerFactory = clickHandlerFactory; in BasicNotificationViewHolder()
53 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DEmergencyNotificationViewHolder.java44 private NotificationClickHandlerFactory mClickHandlerFactory; field in EmergencyNotificationViewHolder
57 mClickHandlerFactory = clickHandlerFactory; in EmergencyNotificationViewHolder()
77 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DProgressNotificationViewHolder.java45 private NotificationClickHandlerFactory mClickHandlerFactory; field in ProgressNotificationViewHolder
57 mClickHandlerFactory = clickHandlerFactory; in ProgressNotificationViewHolder()
69 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
DCarNotificationBaseViewHolder.java42 private final NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationBaseViewHolder
124 mClickHandlerFactory = clickHandlerFactory; in CarNotificationBaseViewHolder()
184 mInnerView.setOnClickListener(mClickHandlerFactory.getClickHandler(alertEntry)); in bind()
186 mCardView.setOnClickListener(mClickHandlerFactory.getClickHandler(alertEntry)); in bind()
465 return mClickHandlerFactory.getDismissHandler(alertEntry); in getDismissHandler()
DMessageNotificationViewHolder.java69 private final NotificationClickHandlerFactory mClickHandlerFactory; field in MessageNotificationViewHolder
95 mClickHandlerFactory = clickHandlerFactory; in MessageNotificationViewHolder()
109 mActionsView.bind(mClickHandlerFactory, alertEntry); in bind()
122 mActionsView.bind(mClickHandlerFactory, alertEntry); in bindRestricted()
/packages/apps/Car/Notification/src/com/android/car/notification/
DAlertEntry.java32 private NotificationClickHandlerFactory mClickHandlerFactory; field in AlertEntry
78 return mClickHandlerFactory; in getClickHandlerFactory()
82 mClickHandlerFactory = clickHandlerFactory; in setClickHandlerFactory()
DNotificationApplication.java38 private NotificationClickHandlerFactory mClickHandlerFactory; field in NotificationApplication
80 mClickHandlerFactory = new NotificationClickHandlerFactory( in onCreate()
98 return mClickHandlerFactory; in getClickHandlerFactory()
DCarNotificationView.java58 private NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationView
271 mClickHandlerFactory = clickHandlerFactory; in setClickHandlerFactory()
416 mClickHandlerFactory.clearNotifications(dismissibleNotifications); in finishClearAllNotifications()
422 mClickHandlerFactory.collapsePanel(); in finishClearAllNotifications()
477 if (mClickHandlerFactory != null && mCollapsePanelAfterManageButton) { in manageButtonOnClickListener()
478 mClickHandlerFactory.collapsePanel(); in manageButtonOnClickListener()
DCarHeadsUpNotificationManager.java140 private NotificationClickHandlerFactory mClickHandlerFactory; field in CarHeadsUpNotificationManager
151 mClickHandlerFactory = clickHandlerFactory; in CarHeadsUpNotificationManager()
164 mClickHandlerFactory.registerClickListener((launchResult, alertEntry) -> { in CarHeadsUpNotificationManager()
169 mClickHandlerFactory.setHunDismissCallback( in CarHeadsUpNotificationManager()
444 currentNotification.setClickHandlerFactory(mClickHandlerFactory); in showHeadsUp()
454 mClickHandlerFactory)); in showHeadsUp() local
825 mClickHandlerFactory = clickHandlerFactory; in setClickHandlerFactory()
DCarNotificationViewAdapter.java79 private NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationViewAdapter
134 mNotificationItemController, mClickHandlerFactory); in onCreateViewHolderImpl()
139 mNotificationItemController, mClickHandlerFactory); in onCreateViewHolderImpl()
156 viewHolder = carNotificationTypeItem.getViewHolder(view, mClickHandlerFactory); in onCreateViewHolderImpl()
663 mClickHandlerFactory = clickHandlerFactory; in setClickHandlerFactory()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewTest.java86 private NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationViewTest
101 mCarNotificationView.setClickHandlerFactory(mClickHandlerFactory); in setup()
117 verify(mClickHandlerFactory).clearNotifications(mDismissedNotificationsCaptor.capture()); in onClickClearAllButton_callsFactoryClearNotificationsWithDismissibleNotifications()
DCarNotificationTypeItemTest.java53 private NotificationClickHandlerFactory mClickHandlerFactory; field in CarNotificationTypeItemTest
234 mClickHandlerFactory); in assertProperties()
DCarHeadsUpNotificationManagerTest.java102 NotificationClickHandlerFactory mClickHandlerFactory; field in CarHeadsUpNotificationManagerTest
150 when(mClickHandlerFactory.getClickHandler(any())).thenReturn(v -> { in setup()
492 mManager = new CarHeadsUpNotificationManager(mContext, mClickHandlerFactory, in createCarHeadsUpNotificationManager()