Home
last modified time | relevance | path

Searched refs:mNotificationPanelView (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationPanelViewTest.java100 private NotificationPanelView mNotificationPanelView; field in NotificationPanelViewTest
119 mNotificationPanelView = new TestableNotificationPanelView(coordinator, expansionHandler); in setup()
120 mNotificationPanelView.setHeadsUpManager(mHeadsUpManager); in setup()
121 mNotificationPanelView.setBar(mPanelBar); in setup()
129 mNotificationPanelView.setDozing(true /* dozing */, true /* animate */, null /* touch */); in testSetDozing_notifiesNsslAndStateController()
137 mNotificationPanelView.setExpandedHeight(200); in testSetExpandedHeight()
138 assertThat((int) mNotificationPanelView.getExpandedHeight()).isEqualTo(200); in testSetExpandedHeight()
144 mNotificationPanelView.setExpandedFraction(1f); in testAffordanceLaunchingListener()
145 mNotificationPanelView.setLaunchAffordanceListener(listener); in testAffordanceLaunchingListener()
146 mNotificationPanelView.launchCamera(false /* animate */, in testAffordanceLaunchingListener()
[all …]
DStatusBarTest.java139 @Mock private NotificationPanelView mNotificationPanelView; field in StatusBarTest
235 when(mNotificationPanelView.getLayoutParams()).thenReturn(new LayoutParams(0, 0)); in setup()
257 mPowerManager, mNotificationPanelView, mBarService, mNotificationListener, in setup()
567 verify(mNotificationPanelView).setQsExpansionEnabled(false); in testDisableExpandStatusBar()
569 verify(mNotificationPanelView, never()).expand(anyBoolean()); in testDisableExpandStatusBar()
571 verify(mNotificationPanelView, never()).expand(anyBoolean()); in testDisableExpandStatusBar()
576 verify(mNotificationPanelView).setQsExpansionEnabled(true); in testDisableExpandStatusBar()
578 verify(mNotificationPanelView).expandWithoutQs(); in testDisableExpandStatusBar()
580 verify(mNotificationPanelView).expandWithQs(); in testDisableExpandStatusBar()
746 clearInvocations(mNotificationPanelView); in testOnStartedWakingUp_isNotDozing()
[all …]
DStatusBarKeyguardViewManagerTest.java65 private NotificationPanelView mNotificationPanelView; field in StatusBarKeyguardViewManagerTest
85 mNotificationPanelView, mBiometrucUnlockController, mDismissCallbackRegistry, in setUp()
142 when(mNotificationPanelView.isUnlockHintRunning()).thenReturn(true); in onPanelExpansionChanged_neverShowsDuringHintAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java130 private NotificationPanelView mNotificationPanelView; field in StatusBarKeyguardViewManager
219 mNotificationPanelView = notificationPanelView; in registerStatusBar()
231 if (mNotificationPanelView.isUnlockHintRunning()) { in onPanelExpansionChanged()
262 && !mNotificationPanelView.isQsExpanded(); in updateLockIcon()
505 mNotificationPanelView.onBouncerPreHideAnimation(); in startPreHideAnimation()
509 mNotificationPanelView.blockExpansionForCurrentTouch(); in startPreHideAnimation()