/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 63 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/ |
D | MenuDialogHelper.java | 37 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/ |
D | NonPhoneDependencyTest.java | 58 @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()
|
D | NotificationInterruptionStateProviderTest.java | 84 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()
|
D | NotificationLockscreenUserManagerTest.java | 66 @Mock private NotificationPresenter mPresenter; field in NotificationLockscreenUserManagerTest 95 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp() 149 verify(mPresenter, times(1)).onUserSwitched(mCurrentUserId + 1); in testActionUserSwitchedCallsOnUserSwitched()
|
D | NotificationViewHierarchyManagerTest.java | 75 @Mock private NotificationPresenter mPresenter; field in NotificationViewHierarchyManagerTest 118 mViewHierarchyManager.setUpWithPresenter(mPresenter, mListContainer); in setUp()
|
D | NotificationListenerTest.java | 56 @Mock private NotificationPresenter mPresenter; field in NotificationListenerTest
|
D | SmartReplyControllerTest.java | 68 @Mock private NotificationPresenter mPresenter; field in SmartReplyControllerTest
|
D | NotificationRemoteInputManagerTest.java | 53 @Mock private NotificationPresenter mPresenter; field in NotificationRemoteInputManagerTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationRowBinderImpl.java | 77 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/ |
D | AutofillPopupWindow.java | 387 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/ |
D | NotificationInterruptionStateProvider.java | 70 private NotificationPresenter mPresenter; field in NotificationInterruptionStateProvider 144 mPresenter = notificationPresenter; in setUpWithPresenter() 369 if (mPresenter.isDeviceInVrMode()) { in canAlertAwakeCommon() 416 return mPresenter; in getPresenter()
|
D | VisualStabilityManager.java | 53 private NotificationPresenter mPresenter; field in VisualStabilityManager 93 mPresenter = presenter; in setUpWithPresenter()
|
D | NotificationEntryManager.java | 91 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/ |
D | SourceActivity.java | 50 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/ |
D | NotificationEntryManagerTest.java | 114 @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/ |
D | StatusBarNotificationActivityStarter.java | 95 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()
|
D | StatusBar.java | 606 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/ |
D | NotificationViewHierarchyManager.java | 92 private NotificationPresenter mPresenter; field in NotificationViewHierarchyManager 131 mPresenter = presenter; in setUpWithPresenter() 370 maxNotifications = mPresenter.getMaxNotificationsWhileLocked(true /* recompute */); in updateRowStatesInternal() 443 mPresenter.onUpdateRowStates(); in updateRowStatesInternal()
|
D | NotificationMediaManager.java | 132 protected NotificationPresenter mPresenter; field in NotificationMediaManager 228 mPresenter = presenter; in setUpWithPresenter() 379 if (mPresenter != null) { in dispatchUpdateMediaMetaData() 380 mPresenter.updateMediaMetaData(changed, allowEnterAnimation); in dispatchUpdateMediaMetaData()
|
D | NotificationLockscreenUserManagerImpl.java | 124 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/ |
D | StatusBarRemoteInputCallbackTest.java | 50 @Mock private NotificationPresenter mPresenter; field in StatusBarRemoteInputCallbackTest
|
D | StatusBarTest.java | 818 mPresenter = notificationPresenter; in TestableStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 94 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/ |
D | NotificationGutsManagerTest.java | 103 @Mock private NotificationPresenter mPresenter; field in NotificationGutsManagerTest 124 mGutsManager.setUpWithPresenter(mPresenter, mStackScroller, in setUp()
|