Home
last modified time | relevance | path

Searched refs:mVisualStabilityManager (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DVisualStabilityManagerTest.java50 private VisualStabilityManager mVisualStabilityManager; field in VisualStabilityManagerTest
59 mVisualStabilityManager = new VisualStabilityManager( in setUp()
63 mVisualStabilityManager.setUpWithPresenter(mock(NotificationPresenter.class)); in setUp()
64 mVisualStabilityManager.setVisibilityLocationProvider(mLocationProvider); in setUp()
73 mVisualStabilityManager.setPanelExpanded(true); in testPanelExpansion()
74 mVisualStabilityManager.setScreenOn(true); in testPanelExpansion()
75 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion()
76 mVisualStabilityManager.setPanelExpanded(false); in testPanelExpansion()
77 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion()
82 mVisualStabilityManager.setPanelExpanded(true); in testScreenOn()
[all …]
DNotificationEntryManagerTest.java133 @Mock private VisualStabilityManager mVisualStabilityManager; field in NotificationEntryManagerTest
223 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java121 private VisualStabilityManager mVisualStabilityManager; field in NotificationInfoTest
202 mVisualStabilityManager, in testBindNotification_SetsTextApplicationName()
227 mVisualStabilityManager, in testBindNotification_SetsPackageIcon()
248 mVisualStabilityManager, in testBindNotification_noDelegate()
279 mVisualStabilityManager, in testBindNotification_delegate()
303 mVisualStabilityManager, in testBindNotification_GroupNameHiddenIfNoGroup()
330 mVisualStabilityManager, in testBindNotification_SetsGroupNameIfNonNull()
352 mVisualStabilityManager, in testBindNotification_SetsTextChannelName()
373 mVisualStabilityManager, in testBindNotification_DefaultChannelDoesNotUseChannelName()
398 mVisualStabilityManager, in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist()
[all …]
DNotificationGutsManagerTest.java102 @Mock private VisualStabilityManager mVisualStabilityManager; field in NotificationGutsManagerTest
118 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
123 mGutsManager = new NotificationGutsManager(mContext, mVisualStabilityManager); in setUp()
324 eq(mVisualStabilityManager), in testInitializeNotificationInfoView_showBlockingHelper()
353 eq(mVisualStabilityManager), in testInitializeNotificationInfoView_dontShowBlockingHelper()
384 eq(mVisualStabilityManager), in testInitializeNotificationInfoView_highPriority()
414 eq(mVisualStabilityManager), in testInitializeNotificationInfoView_PassesAlongProvisionedState()
443 eq(mVisualStabilityManager), in testInitializeNotificationInfoView_withInitialAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java75 protected final VisualStabilityManager mVisualStabilityManager; field in NotificationViewHierarchyManager
117 mVisualStabilityManager = visualStabilityManager; in NotificationViewHierarchyManager()
223 mVisualStabilityManager.notifyViewAddition(v); in updateNotificationViews()
254 if (mVisualStabilityManager.canReorderNotification(targetChild)) { in updateNotificationViews()
257 mVisualStabilityManager.addReorderingAllowedCallback(mEntryManager); in updateNotificationViews()
264 mVisualStabilityManager.onReorderingFinished(); in updateNotificationViews()
300 mVisualStabilityManager.notifyViewAddition(childView); in addNotificationChildrenAndSort()
307 orderChanged |= parent.applyChildOrder(orderedChildren, mVisualStabilityManager, in addNotificationChildrenAndSort()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationAlertingManager.java46 private final VisualStabilityManager mVisualStabilityManager; field in NotificationAlertingManager
62 mVisualStabilityManager = visualStabilityManager; in NotificationAlertingManager()
166 || !mVisualStabilityManager.isReorderingAllowed(); in stopAlerting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhone.java73 private VisualStabilityManager mVisualStabilityManager; field in HeadsUpManagerPhone
140 mVisualStabilityManager = visualStabilityManager; in setUp()
411 return mVisualStabilityManager.isReorderingAllowed() && super.shouldExtendLifetime(entry); in shouldExtendLifetime()
520 if (!mVisualStabilityManager.isReorderingAllowed() in setEntry()
525 mVisualStabilityManager.addReorderingAllowedCallback( in setEntry()
DStatusBarNotificationPresenter.java105 private final VisualStabilityManager mVisualStabilityManager = field in StatusBarNotificationPresenter
224 mVisualStabilityManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
DStatusBar.java879 mHeadsUpManager.setUp(mStatusBarWindow, mGroupManager, this, mVisualStabilityManager); in makeStatusBarView()
885 mHeadsUpManager.addListener(mVisualStabilityManager); in makeStatusBarView()
1121 mVisualStabilityManager = Dependency.get(VisualStabilityManager.class); in getDependencies()
1664 mVisualStabilityManager.setPanelExpanded(isExpanded); in setPanelExpanded()
3736 mVisualStabilityManager.setScreenOn(false);
3768 mVisualStabilityManager.setScreenOn(true);
4112 mVisualStabilityManager.setPulsing(pulsing); in pulseWhileDozing()
4283 protected VisualStabilityManager mVisualStabilityManager;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java83 @Mock private VisualStabilityManager mVisualStabilityManager; field in NotificationViewHierarchyManagerTest
103 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
111 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java79 private final VisualStabilityManager mVisualStabilityManager; field in NotificationGutsManager
110 mVisualStabilityManager = visualStabilityManager; in NotificationGutsManager()
318 mVisualStabilityManager, in initializeNotificationInfo()
DNotificationInfo.java108 private VisualStabilityManager mVisualStabilityManager; field in NotificationInfo
289 mVisualStabilityManager = visualStabilityManager; in bindNotification()
552 mVisualStabilityManager.temporarilyAllowReordering();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java153 @Mock private VisualStabilityManager mVisualStabilityManager; field in StatusBarTest
195 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setup()
262 mNotificationLogger, mVisualStabilityManager, mViewHierarchyManager, in setup()
802 mVisualStabilityManager = visualStabilityManager; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java261 @Inject Lazy<VisualStabilityManager> mVisualStabilityManager; field in Dependency
449 mProviders.put(VisualStabilityManager.class, mVisualStabilityManager::get); in start()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java436 mVisualStabilityManager = Dependency.get(VisualStabilityManager.class); in getDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java491 private final VisualStabilityManager mVisualStabilityManager = field in NotificationStackScrollLayout
633 mVisualStabilityManager.setVisibilityLocationProvider(this::isInVisibleLocation); in onFinishInflate()