Searched refs:mNotificationPanelViewController (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelViewControllerTest.java | 97 mNotificationPanelViewController.onBackProgressed(0.0f); in testBackGesture_min_scrimAtMaxScale() 106 mNotificationPanelViewController.onBackProgressed(1.0f); in testBackGesture_max_scrimAtMinScale() 146 mNotificationPanelViewController.setMaxDisplayedNotifications(-1); in computeMaxKeyguardNotifications_lockscreenToShade_returnsExistingMax() 149 assertThat(mNotificationPanelViewController.computeMaxKeyguardNotifications()) in computeMaxKeyguardNotifications_lockscreenToShade_returnsExistingMax() 156 mNotificationPanelViewController.setMaxDisplayedNotifications(-1); in computeMaxKeyguardNotifications_noTransition_updatesMax() 159 assertThat(mNotificationPanelViewController.computeMaxKeyguardNotifications()) in computeMaxKeyguardNotifications_noTransition_updatesMax() 171 assertThat(mNotificationPanelViewController.getVerticalSpaceForLockscreenNotifications()) in getVerticalSpaceForLockscreenNotifications_useLockIconBottomPadding_returnsSpaceAvailable() 183 assertThat(mNotificationPanelViewController.getVerticalSpaceForLockscreenNotifications()) in getVerticalSpaceForLockscreenNotifications_useIndicationBottomPadding_returnsSpaceAvailable() 195 assertThat(mNotificationPanelViewController.getVerticalSpaceForLockscreenNotifications()) in getVerticalSpaceForLockscreenNotifications_useAmbientBottomPadding_returnsSpaceAvailable() 208 assertThat(mNotificationPanelViewController.getVerticalSpaceForLockscreenShelf()) in getVerticalSpaceForLockscreenShelf_useLockIconBottomPadding_returnsShelfHeight() [all …]
|
D | NotificationPanelViewControllerWithCoroutinesTest.kt | 119 mNotificationPanelViewController.onFinishInflate() in <lambda>() 139 mNotificationPanelViewController.reInflateViews() in <lambda>() 221 mNotificationPanelViewController.maybeAnimateBottomAreaAlpha() in <lambda>() 234 mNotificationPanelViewController.maybeAnimateBottomAreaAlpha() in <lambda>() 237 val transitionDistance = mNotificationPanelViewController.maxPanelTransitionDistance in <lambda>() 238 mNotificationPanelViewController.expandedHeight = transitionDistance.toFloat() in <lambda>() 259 assertThat(mNotificationPanelViewController.isExpanded).isTrue() in <lambda>() 274 assertThat(mNotificationPanelViewController.isExpanded).isTrue() in <lambda>()
|
D | NotificationPanelViewControllerBaseTest.java | 378 protected NotificationPanelViewController mNotificationPanelViewController; field in NotificationPanelViewControllerBaseTest 685 mNotificationPanelViewController = new NotificationPanelViewController( in setup() 768 mNotificationPanelViewController.initDependencies( in setup() 773 mNotificationPanelViewController.setTrackingStartedListener(() -> {}); in setup() 774 mNotificationPanelViewController.setOpenCloseListener( in setup() 784 mNotificationPanelViewController.mTestSetOfAnimatorsUsed = new HashSet<>(); in setup() 795 mNotificationPanelViewController.getStatusBarStateController() in setup() 796 .addCallback(mNotificationPanelViewController.getStatusBarStateListener()); in setup() 797 mNotificationPanelViewController.getShadeHeadsUpTracker() in setup() 805 .thenReturn(mNotificationPanelViewController); in setup() [all …]
|
D | QuickSettingsControllerImplTest.java | 429 .thenReturn(mNotificationPanelViewController.SHADE_BACK_ANIM_MIN_SCALE); in calculateBottomCornerRadius_scrimScaleMin() 437 float cutoffScale = 1 - mNotificationPanelViewController.SHADE_BACK_ANIM_MIN_SCALE / ratio; in calculateBottomCornerRadius_scrimScaleCutoff()
|
D | QuickSettingsControllerImplBaseTest.java | 124 @Mock protected NotificationPanelViewController mNotificationPanelViewController; field in QuickSettingsControllerImplBaseTest 179 when(mPanelViewControllerLazy.get()).thenReturn(mNotificationPanelViewController); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | DebugDrawable.java | 39 private final NotificationPanelViewController mNotificationPanelViewController; field in DebugDrawable 54 mNotificationPanelViewController = notificationPanelViewController; in DebugDrawable() 72 drawDebugInfo(canvas, mNotificationPanelViewController.getMaxPanelHeight(), in draw() 74 drawDebugInfo(canvas, (int) mNotificationPanelViewController.getExpandedHeight(), in draw() 77 mNotificationPanelViewController.getClockPositionResult() in draw() 81 mNotificationPanelViewController.getClockPositionResult() in draw() 87 mNotificationPanelViewController.isExpandingOrCollapsing(), in draw() 88 mNotificationPanelViewController.getKeyguardNotificationStaticPadding(), in draw() 89 mNotificationPanelViewController.getExpandedFraction()), in draw() 92 drawDebugInfo(canvas, mNotificationPanelViewController.getClockPositionResult().clockY, in draw() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 251 @Mock private NotificationPanelViewController mNotificationPanelViewController; field in CentralSurfacesImplTest 463 () -> mNotificationPanelViewController, in setup() 526 mNotificationPanelViewController, in createCentralSurfaces() 866 when(mNotificationPanelViewController.isPanelExpanded()).thenReturn(false); in testOccludingQSNotExpanded_flagOff_transitionToAuthScrimmed() 881 when(mNotificationPanelViewController.isPanelExpanded()).thenReturn(false); in testNotOccluding_QSNotExpanded_flagOn_doesNotTransitionScrimState() 897 when(mNotificationPanelViewController.isPanelExpanded()).thenReturn(true); in testNotOccluding_QSExpanded_flagOn_doesTransitionScrimStateToKeyguard() 913 when(mNotificationPanelViewController.isPanelExpanded()).thenReturn(true); in testOccludingQSExpanded_transitionToAuthScrimmedShade() 985 verify(mNotificationPanelViewController, times(2)).expand(eq(false)); in testOnStartedWakingUp_isNotDozing() 986 clearInvocations(mNotificationPanelViewController); in testOnStartedWakingUp_isNotDozing() 990 verify(mNotificationPanelViewController).expand(eq(false)); in testOnStartedWakingUp_isNotDozing() [all …]
|