Home
last modified time | relevance | path

Searched refs:mNotifStabilityManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinatorTest.java79 private NotifStabilityManager mNotifStabilityManager; field in VisualStabilityCoordinatorTest
102 mNotifStabilityManager = mNotifStabilityManagerCaptor.getValue(); in setUp()
103 mNotifStabilityManager.setInvalidationListener(mInvalidateListener); in setUp()
120 assertTrue(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenOff_groupAndSectionChangesAllowed()
123 assertTrue(mNotifStabilityManager.isSectionChangeAllowed(mEntry)); in testScreenOff_groupAndSectionChangesAllowed()
134 assertTrue(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPanelNotExpanded_groupAndSectionChangesAllowed()
137 assertTrue(mNotifStabilityManager.isSectionChangeAllowed(mEntry)); in testPanelNotExpanded_groupAndSectionChangesAllowed()
148 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPanelExpanded_groupAndSectionChangesNotAllowed()
151 assertFalse(mNotifStabilityManager.isSectionChangeAllowed(mEntry)); in testPanelExpanded_groupAndSectionChangesNotAllowed()
161 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPulsing_screenOff_groupAndSectionChangesNotAllowed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinator.java98 pipeline.setVisualStabilityManager(mNotifStabilityManager); in attach()
101 private final NotifStabilityManager mNotifStabilityManager = field in VisualStabilityCoordinator
133 mNotifStabilityManager.invalidateList(); in updateAllowedStates()
158 mNotifStabilityManager.isSectionChangeAllowed(entry); in temporarilyAllowSectionChanges()
173 mNotifStabilityManager.invalidateList(); in temporarilyAllowSectionChanges()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java97 @Nullable private NotifStabilityManager mNotifStabilityManager; field in ShadeListBuilder
217 if (mNotifStabilityManager != null) { in setNotifStabilityManager()
221 + mNotifStabilityManager.getName() + " and " in setNotifStabilityManager()
225 mNotifStabilityManager = notifStabilityManager; in setNotifStabilityManager()
226 mNotifStabilityManager.setInvalidationListener(this::onReorderingAllowedInvalidated); in setNotifStabilityManager()
517 if (mNotifStabilityManager == null) { in stabilizeGroupingNotifs()
558 && !mNotifStabilityManager.isGroupChangeAllowed(entry.getRepresentativeEntry())) { in maybeSuppressGroupChange()
621 && mNotifStabilityManager != null in pruneIncompleteGroups()
622 && !mNotifStabilityManager.isGroupChangeAllowed(group.getSummary())) { in pruneIncompleteGroups()
811 if (mNotifStabilityManager != null) { in onBeginRun()
[all …]