Home
last modified time | relevance | path

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

12

/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()
DNotificationInterruptionStateProviderTest.java84 NotificationPresenter mPresenter; field in NotificationInterruptionStateProviderTest
108 mPresenter, in setup()
128 when(mPresenter.isDeviceInVrMode()).thenReturn(false); in ensureStateForAlertAwakeCommon()
193 mPresenter, in testHunSettingsChange_enabled_butAlertsDisabled()
440 when(mPresenter.isDeviceInVrMode()).thenReturn(true); in testCanAlertAwakeCommon__false_vrMode()
528 when(mPresenter.isDeviceInVrMode()).thenReturn(true); in shouldBubbleUp_false_alertAwakeCommonFalse()
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()
DNotificationViewHierarchyManagerTest.java75 @Mock private NotificationPresenter mPresenter; field in NotificationViewHierarchyManagerTest
118 mViewHierarchyManager.setUpWithPresenter(mPresenter, mListContainer); in setUp()
DNotificationListenerTest.java56 @Mock private NotificationPresenter mPresenter; field in NotificationListenerTest
DSmartReplyControllerTest.java68 @Mock private NotificationPresenter mPresenter; field in SmartReplyControllerTest
DNotificationRemoteInputManagerTest.java53 @Mock private NotificationPresenter mPresenter; field in NotificationRemoteInputManagerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRowBinderImpl.java77 private NotificationPresenter mPresenter; field in NotificationRowBinderImpl
111 mPresenter = presenter; in setUpWithPresenter()
159 row.setOnExpandClickListener(mPresenter); in bindRow()
249 row.setOnActivatedListener(mPresenter); in updateNotification()
254 && !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.java70 private NotificationPresenter mPresenter; field in NotificationInterruptionStateProvider
144 mPresenter = notificationPresenter; in setUpWithPresenter()
369 if (mPresenter.isDeviceInVrMode()) { in canAlertAwakeCommon()
416 return mPresenter; in getPresenter()
DVisualStabilityManager.java53 private NotificationPresenter mPresenter; field in VisualStabilityManager
93 mPresenter = presenter; in setUpWithPresenter()
DNotificationEntryManager.java91 private NotificationPresenter mPresenter; field in NotificationEntryManager
156 mPresenter = presenter; in setUpWithPresenter()
467 if (mPresenter != null) { in updateNotifications()
468 mPresenter.updateNotificationViews(); in updateNotifications()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java50 private Presenter mPresenter; field in SourceActivity
69 mPresenter = new Presenter(); in onCreate()
182 mDisplaySourceService = new DisplaySourceService(this, mTransport, mPresenter); in startServices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java114 @Mock private NotificationPresenter mPresenter; field in NotificationEntryManagerTest
247 mEntryManager.setUpWithPresenter(mPresenter, mListContainer, mHeadsUpManager); in setUp()
255 mPresenter, mListContainer, mHeadsUpManager, mEntryManager, mBindCallback); in setUp()
291 verify(mPresenter).updateNotificationViews(); in testAddNotification()
316 verify(mPresenter).updateNotificationViews(); in testUpdateNotification()
342 InOrder order = inOrder(mEntryListener, notifData, mPresenter, mEntryListener); in testUpdateNotification_prePostEntryOrder()
345 order.verify(mPresenter).updateNotificationViews(); in testUpdateNotification_prePostEntryOrder()
362 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()
476 if (mPresenter.isDeviceInVrMode()) { in shouldSuppressFullScreenIntent()
488 if (mPresenter.isCollapsing()) { in removeNotification()
DStatusBar.java606 protected StatusBarNotificationPresenter mPresenter; field in StatusBar
1053 mPresenter = new StatusBarNotificationPresenter(mContext, mNotificationPanel, in setUpPresenter()
1068 mNotificationShelf.setOnActivatedListener(mPresenter); in setUpPresenter()
1078 mCommandQueue, mAssistManager, mNotificationPanel, mPresenter, mEntryManager, in setUpPresenter()
1755 if (!mPresenter.isCollapsing()) { in onLaunchAnimationCancelled()
1762 if (!mPresenter.isCollapsing()) { in onExpandAnimationFinished()
1772 if (mPresenter.isPresenterFullyCollapsed() && !mPresenter.isCollapsing() in onExpandAnimationTimedOut()
1787 return mPresenter.isDeviceInVrMode(); in isDeviceInVrMode()
1791 return mPresenter; in getPresenter()
2698 mPresenter.updateMediaMetaData(true, true);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java92 private NotificationPresenter mPresenter; field in NotificationViewHierarchyManager
131 mPresenter = presenter; in setUpWithPresenter()
370 maxNotifications = mPresenter.getMaxNotificationsWhileLocked(true /* recompute */); in updateRowStatesInternal()
443 mPresenter.onUpdateRowStates(); in updateRowStatesInternal()
DNotificationMediaManager.java132 protected NotificationPresenter mPresenter; field in NotificationMediaManager
228 mPresenter = presenter; in setUpWithPresenter()
379 if (mPresenter != null) { in dispatchUpdateMediaMetaData()
380 mPresenter.updateMediaMetaData(changed, allowEnterAnimation); in dispatchUpdateMediaMetaData()
DNotificationLockscreenUserManagerImpl.java124 mPresenter.onUserSwitched(mCurrentUserId);
167 protected NotificationPresenter mPresenter; field in NotificationLockscreenUserManagerImpl
193 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.java818 mPresenter = notificationPresenter; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java94 private NotificationPresenter mPresenter; field in NotificationGutsManager
118 mPresenter = presenter; in setUpWithPresenter()
200 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()

12