/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 | 131 @Mock private VisualStabilityManager mVisualStabilityManager; field in NotificationEntryManagerTest 221 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 | 74 protected final VisualStabilityManager mVisualStabilityManager; field in NotificationViewHierarchyManager 113 mVisualStabilityManager = visualStabilityManager; in NotificationViewHierarchyManager() 219 mVisualStabilityManager.notifyViewAddition(v); in updateNotificationViews() 250 if (mVisualStabilityManager.canReorderNotification(targetChild)) { in updateNotificationViews() 253 mVisualStabilityManager.addReorderingAllowedCallback(mEntryManager); in updateNotificationViews() 260 mVisualStabilityManager.onReorderingFinished(); in updateNotificationViews() 296 mVisualStabilityManager.notifyViewAddition(childView); in addNotificationChildrenAndSort() 303 orderChanged |= parent.applyChildOrder(orderedChildren, mVisualStabilityManager, in addNotificationChildrenAndSort()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationAlertingManager.java | 50 private final VisualStabilityManager mVisualStabilityManager; field in NotificationAlertingManager 68 mVisualStabilityManager = visualStabilityManager; in NotificationAlertingManager() 185 || !mVisualStabilityManager.isReorderingAllowed(); in stopAlerting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpManagerPhone.java | 64 private final VisualStabilityManager mVisualStabilityManager; field in HeadsUpManagerPhone 116 mVisualStabilityManager = visualStabilityManager; in HeadsUpManagerPhone() 349 return mVisualStabilityManager.isReorderingAllowed() && super.shouldExtendLifetime(entry); in shouldExtendLifetime() 443 if (!mVisualStabilityManager.isReorderingAllowed()) { in setEntry() 445 mVisualStabilityManager.addReorderingAllowedCallback( in setEntry()
|
D | StatusBarNotificationPresenter.java | 105 private final VisualStabilityManager mVisualStabilityManager = field in StatusBarNotificationPresenter 226 mVisualStabilityManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
|
D | StatusBar.java | 617 mVisualStabilityManager = Dependency.get(VisualStabilityManager.class); in start() 858 mVisualStabilityManager); in makeStatusBarView() 864 mHeadsUpManager.addListener(mVisualStabilityManager); in makeStatusBarView() 1589 mVisualStabilityManager.setPanelExpanded(isExpanded); in setPanelExpanded() 3605 mVisualStabilityManager.setScreenOn(false); 3632 mVisualStabilityManager.setScreenOn(true); 3955 mVisualStabilityManager.setPulsing(pulsing); in pulseWhileDozing() 4127 protected VisualStabilityManager mVisualStabilityManager;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManagerTest.java | 82 @Mock private VisualStabilityManager mVisualStabilityManager; field in NotificationViewHierarchyManagerTest 102 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp() 110 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 109 mVisualStabilityManager = visualStabilityManager; in NotificationGutsManager() 317 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 | 152 @Mock private VisualStabilityManager mVisualStabilityManager; field in StatusBarTest 193 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setup() 258 mNotificationLogger, mVisualStabilityManager, mViewHierarchyManager, in setup() 804 mVisualStabilityManager = visualStabilityManager; in TestableStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 267 @Inject Lazy<VisualStabilityManager> mVisualStabilityManager; field in Dependency 444 mProviders.put(VisualStabilityManager.class, mVisualStabilityManager::get); in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 494 private final VisualStabilityManager mVisualStabilityManager = field in NotificationStackScrollLayout 626 mVisualStabilityManager.setVisibilityLocationProvider(this::isInVisibleLocation); in onFinishInflate()
|