/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | VisualStabilityManagerTest.java | 50 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 …]
|
D | NotificationEntryManagerTest.java | 133 @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/ |
D | NotificationInfoTest.java | 121 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 …]
|
D | NotificationGutsManagerTest.java | 102 @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/ |
D | NotificationViewHierarchyManager.java | 75 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/ |
D | NotificationAlertingManager.java | 46 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/ |
D | HeadsUpManagerPhone.java | 73 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()
|
D | StatusBarNotificationPresenter.java | 105 private final VisualStabilityManager mVisualStabilityManager = field in StatusBarNotificationPresenter 224 mVisualStabilityManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
|
D | StatusBar.java | 879 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/ |
D | NotificationViewHierarchyManagerTest.java | 83 @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/ |
D | NotificationGutsManager.java | 79 private final VisualStabilityManager mVisualStabilityManager; field in NotificationGutsManager 110 mVisualStabilityManager = visualStabilityManager; in NotificationGutsManager() 318 mVisualStabilityManager, in initializeNotificationInfo()
|
D | NotificationInfo.java | 108 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/ |
D | StatusBarTest.java | 153 @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/ |
D | Dependency.java | 261 @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/ |
D | CarStatusBar.java | 436 mVisualStabilityManager = Dependency.get(VisualStabilityManager.class); in getDependencies()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 491 private final VisualStabilityManager mVisualStabilityManager = field in NotificationStackScrollLayout 633 mVisualStabilityManager.setVisibilityLocationProvider(this::isInVisibleLocation); in onFinishInflate()
|