/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImplTest.java | 63 mQsController.setExpandImmediate(true); in testCloseQsSideEffects() 64 mQsController.setExpanded(true); in testCloseQsSideEffects() 65 mQsController.closeQs(); in testCloseQsSideEffects() 67 assertThat(mQsController.getExpanded()).isEqualTo(false); in testCloseQsSideEffects() 68 assertThat(mQsController.isExpandImmediate()).isEqualTo(false); in testCloseQsSideEffects() 75 mQsController.updateResources(); in testLargeScreenHeaderMadeActiveForLargeScreen() 79 mQsController.updateResources(); in testLargeScreenHeaderMadeActiveForLargeScreen() 85 mQsController.setShadeExpansion(/* shadeExpandedHeight= */ 1, /* expandedFraction=*/ 1); in testPanelStaysOpenWhenClosingQs() 87 float shadeExpandedHeight = mQsController.getShadeExpandedHeight(); in testPanelStaysOpenWhenClosingQs() 88 mQsController.animateCloseQs(false); in testPanelStaysOpenWhenClosingQs() [all …]
|
D | QuickSettingsControllerImplWithCoroutinesTest.kt | 39 assertThat(mQsController.isExpansionEnabled).isFalse() in isExpansionEnabled_dozing_false() 50 assertThat(mQsController.isExpansionEnabled).isTrue() in isExpansionEnabled_notDozing_true() 65 assertThat(mQsController.isExpansionEnabled).isFalse() in isExpansionEnabled_qsDisabled_false() 80 assertThat(mQsController.isExpansionEnabled).isFalse() in isExpansionEnabled_shadeDisabled_false() 92 assertThat(mQsController.isExpansionEnabled).isTrue() in isExpansionEnabled_qsAndShadeEnabled_true()
|
D | NotificationPanelViewControllerTest.java | 667 when(mQsController.getExpanded()).thenReturn(true); in testCanCollapsePanelOnTouch_trueWhenInSettings() 676 when(mQsController.getExpanded()).thenReturn(true); in testCanCollapsePanelOnTouch_falseInDualPaneShade() 754 when(mQsController.getExpanded()).thenReturn(true); in testRotatingToSplitShadeWithQsExpanded_transitionsToShadeLocked() 767 verify(mQsController).closeQs(); in testUnlockedSplitShadeTransitioningToKeyguard_closesQS() 776 verify(mQsController).closeQs(); in testLockedSplitShadeTransitioningToKeyguard_closesQS() 897 when(mQsController.getFullyExpanded()).thenReturn(true); in onQsSetExpansionHeightCalled_qsFullyExpandedOnKeyguard_showNSSL() 898 when(mQsController.getExpanded()).thenReturn(true); in onQsSetExpansionHeightCalled_qsFullyExpandedOnKeyguard_showNSSL() 917 when(mQsController.getFullyExpanded()).thenReturn(false); in onQsSetExpansionHeightCalled_qsFullyExpandedOnKeyguard_hideNSSL() 918 when(mQsController.getExpanded()).thenReturn(true); in onQsSetExpansionHeightCalled_qsFullyExpandedOnKeyguard_hideNSSL() 1050 verify(mQsController).setExpandImmediate(false); in testQsToBeImmediatelyExpandedWhenOpeningPanelInSplitShade() [all …]
|
D | QuickSettingsControllerImplBaseTest.java | 113 protected QuickSettingsControllerImpl mQsController; field in QuickSettingsControllerImplBaseTest 277 mQsController = new QuickSettingsControllerImpl( in setup() 314 mQsController.init(); in setup() 316 mFragmentListener = mQsController.getQsFragmentListener(); in setup()
|
D | NotificationPanelViewControllerBaseTest.java | 296 @Mock protected QuickSettingsControllerImpl mQsController; field in NotificationPanelViewControllerBaseTest 723 mQsController, in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelViewController.java | 365 private final QuickSettingsControllerImpl mQsController; field in NotificationPanelViewController 839 mQsController = quickSettingsController; in NotificationPanelViewController() 960 mQsController)); in NotificationPanelViewController() 1083 mQsController.init(); in onFinishInflate() 1270 mQsController.loadDimens(); in loadDimens() 1348 mQsController.updateResources(); in updateResources() 1369 mQsController.setOverScrollAmount(0); in onSplitShadeEnabledChanged() 1379 mQsController.setExpanded(mSplitShadeEnabled); in onSplitShadeEnabledChanged() 1381 if (isKeyguardShowing() && mQsController.getExpanded() && mSplitShadeEnabled) { in onSplitShadeEnabledChanged() 1391 mQsController.updateQsState(); in onSplitShadeEnabledChanged() [all …]
|
D | DebugDrawable.java | 43 private final QuickSettingsController mQsController; field in DebugDrawable 58 mQsController = quickSettingsController; in DebugDrawable() 76 drawDebugInfo(canvas, mQsController.calculatePanelHeightExpanded( in draw() 80 drawDebugInfo(canvas, mQsController.calculatePanelHeightExpanded( in draw() 86 (int) mQsController.calculateNotificationsTopPadding( in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenter.java | 105 private final QuickSettingsController mQsController; field in StatusBarNotificationPresenter 141 mQsController = quickSettingsController; in StatusBarNotificationPresenter() 200 && !mQsController.getExpanded() in maybeClosePanelForShadeEmptied()
|
D | CentralSurfacesCommandQueueCallbacks.java | 110 private final QuickSettingsController mQsController; field in CentralSurfacesCommandQueueCallbacks 153 mQsController = quickSettingsController; in CentralSurfacesCommandQueueCallbacks() 328 } else if (!mQsController.getExpanded() in handleSystemKey()
|
D | CentralSurfacesImpl.java | 441 private final QuickSettingsController mQsController; field in CentralSurfacesImpl 746 mQsController = quickSettingsController; in CentralSurfacesImpl() 1388 || (mQsController.getExpanded() && trackingTouch) in dispatchPanelExpansionForKeyguardDismiss() 1500 mBackActionInteractor.setup(mQsController, mShadeSurface); in setUpShade() 2681 mQsController.closeQs();
|