Home
last modified time | relevance | path

Searched refs:mPresenter (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/widget/
DActionMenuView.java63 private ActionMenuPresenter mPresenter; field in ActionMenuView
119 mPresenter = presenter; in setPresenter()
120 mPresenter.setMenuView(this); in setPresenter()
127 if (mPresenter != null) { in onConfigurationChanged()
128 mPresenter.updateMenuView(false); in onConfigurationChanged()
130 if (mPresenter.isOverflowMenuShowing()) { in onConfigurationChanged()
131 mPresenter.hideOverflowMenu(); in onConfigurationChanged()
132 mPresenter.showOverflowMenu(); in onConfigurationChanged()
553 mPresenter.setOverflowIcon(icon); in setOverflowIcon()
564 return mPresenter.getOverflowIcon(); in getOverflowIcon()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java37 ListMenuPresenter mPresenter; field in MenuDialogHelper
58 mPresenter = new ListMenuPresenter(builder.getContext(), in show()
61 mPresenter.setCallback(this); in show()
62 mMenu.addMenuPresenter(mPresenter); in show()
63 builder.setAdapter(mPresenter.getAdapter(), this); in show()
148 mPresenter.onCloseMenu(mMenu, true); in onDismiss()
170 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0); in onClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNonPhoneDependencyTest.java58 @Mock private NotificationPresenter mPresenter; field in NonPhoneDependencyTest
91 entryManager.setUpWithPresenter(mPresenter, mListContainer, mHeadsUpManager); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
93 gutsManager.setUpWithPresenter(mPresenter, mListContainer, in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
96 mediaManager.setUpWithPresenter(mPresenter); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
99 lockscreenUserManager.setUpWithPresenter(mPresenter); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
100 viewHierarchyManager.setUpWithPresenter(mPresenter, mListContainer); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
DNotificationLockscreenUserManagerTest.java66 @Mock private NotificationPresenter mPresenter; field in NotificationLockscreenUserManagerTest
95 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp()
149 verify(mPresenter, times(1)).onUserSwitched(mCurrentUserId + 1); in testActionUserSwitchedCallsOnUserSwitched()
DNotificationListenerTest.java56 @Mock private NotificationPresenter mPresenter; field in NotificationListenerTest
DNotificationViewHierarchyManagerTest.java74 @Mock private NotificationPresenter mPresenter; field in NotificationViewHierarchyManagerTest
114 mViewHierarchyManager.setUpWithPresenter(mPresenter, mListContainer); in setUp()
DSmartReplyControllerTest.java67 @Mock private NotificationPresenter mPresenter; field in SmartReplyControllerTest
DNotificationRemoteInputManagerTest.java50 @Mock private NotificationPresenter mPresenter; field in NotificationRemoteInputManagerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRowBinderImpl.java74 private NotificationPresenter mPresenter; field in NotificationRowBinderImpl
104 mPresenter = presenter; in setUpWithPresenter()
149 row.setOnExpandClickListener(mPresenter); in bindRow()
239 row.setOnActivatedListener(mPresenter); in updateNotification()
244 && !mPresenter.isPresenterFullyCollapsed(); in updateNotification()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java387 final IAutofillWindowPresenter mPresenter; field in AutofillPopupWindow.WindowPresenter
390 mPresenter = presenter; in WindowPresenter()
404 mPresenter.show(p, transitionEpicenter, fitsSystemWindows, layoutDirection); in show()
418 mPresenter.hide(transitionEpicenter); in hide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java65 private NotificationPresenter mPresenter; field in NotificationInterruptionStateProvider
100 mPresenter = notificationPresenter; in setUpWithPresenter()
347 if (!mUseHeadsUp || mPresenter.isDeviceInVrMode()) { in canHeadsUpCommon()
389 return mPresenter; in getPresenter()
DVisualStabilityManager.java53 private NotificationPresenter mPresenter; field in VisualStabilityManager
93 mPresenter = presenter; in setUpWithPresenter()
DNotificationEntryManager.java87 private NotificationPresenter mPresenter; field in NotificationEntryManager
152 mPresenter = presenter; in setUpWithPresenter()
451 if (mPresenter != null) { in updateNotifications()
452 mPresenter.updateNotificationViews(); in updateNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java112 @Mock private NotificationPresenter mPresenter; field in NotificationEntryManagerTest
245 mEntryManager.setUpWithPresenter(mPresenter, mListContainer, mHeadsUpManager); in setUp()
252 mPresenter, mListContainer, mHeadsUpManager, mEntryManager, mBindCallback); in setUp()
288 verify(mPresenter).updateNotificationViews(); in testAddNotification()
313 verify(mPresenter).updateNotificationViews(); in testUpdateNotification()
339 InOrder order = inOrder(mEntryListener, notifData, mPresenter, mEntryListener); in testUpdateNotification_prePostEntryOrder()
342 order.verify(mPresenter).updateNotificationViews(); in testUpdateNotification_prePostEntryOrder()
359 verify(mPresenter).updateNotificationViews(); in testRemoveNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java95 private final NotificationPresenter mPresenter; field in StatusBarNotificationActivityStarter
138 mPresenter = presenter; in StatusBarNotificationActivityStarter()
236 if (mPresenter.isPresenterFullyCollapsed()) { in handleNotificationClickAfterKeyguardDismissed()
477 if (mPresenter.isDeviceInVrMode()) { in shouldSuppressFullScreenIntent()
489 if (mPresenter.isCollapsing()) { in removeNotification()
DStatusBar.java587 protected NotificationPresenter mPresenter; field in StatusBar
1051 mPresenter = new StatusBarNotificationPresenter(mContext, mNotificationPanel, in setUpPresenter()
1064 mNotificationShelf.setOnActivatedListener(mPresenter); in setUpPresenter()
1074 mCommandQueue, mAssistManager, mNotificationPanel, mPresenter, mEntryManager, in setUpPresenter()
1680 if (!mPresenter.isCollapsing()) { in onLaunchAnimationCancelled()
1687 if (!mPresenter.isCollapsing()) { in onExpandAnimationFinished()
1697 if (mPresenter.isPresenterFullyCollapsed() && !mPresenter.isCollapsing() in onExpandAnimationTimedOut()
1712 return mPresenter.isDeviceInVrMode(); in isDeviceInVrMode()
1716 return mPresenter; in getPresenter()
2596 mPresenter.updateMediaMetaData(true, true);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java90 private NotificationPresenter mPresenter; field in NotificationViewHierarchyManager
127 mPresenter = presenter; in setUpWithPresenter()
366 maxNotifications = mPresenter.getMaxNotificationsWhileLocked(true /* recompute */); in updateRowStatesInternal()
440 mPresenter.onUpdateRowStates(); in updateRowStatesInternal()
DNotificationMediaManager.java117 protected NotificationPresenter mPresenter; field in NotificationMediaManager
207 mPresenter = presenter; in setUpWithPresenter()
358 if (mPresenter != null) { in dispatchUpdateMediaMetaData()
359 mPresenter.updateMediaMetaData(changed, allowEnterAnimation); in dispatchUpdateMediaMetaData()
DNotificationLockscreenUserManagerImpl.java120 mPresenter.onUserSwitched(mCurrentUserId);
163 protected NotificationPresenter mPresenter; field in NotificationLockscreenUserManagerImpl
188 mPresenter = presenter; in setUpWithPresenter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java50 @Mock private NotificationPresenter mPresenter; field in StatusBarRemoteInputCallbackTest
DStatusBarTest.java820 mPresenter = notificationPresenter; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java94 private NotificationPresenter mPresenter; field in NotificationGutsManager
117 mPresenter = presenter; in setUpWithPresenter()
199 row, !mPresenter.isPresenterFullyCollapsed() /* needsAnimation */); in bindGuts()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java103 @Mock private NotificationPresenter mPresenter; field in NotificationGutsManagerTest
124 mGutsManager.setUpWithPresenter(mPresenter, mStackScroller, in setUp()