Home
last modified time | relevance | path

Searched refs:mStateController (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/callbacks/
DDreamStatusBarStateCallback.java31 private final SysuiStatusBarStateController mStateController; field in DreamStatusBarStateCallback
35 mStateController = statusBarStateController; in DreamStatusBarStateCallback()
44 mStateController.setIsDreaming(allConditionsMet); in onConditionsChanged()
DAssistantAttentionCallback.java33 private final DreamOverlayStateController mStateController; field in AssistantAttentionCallback
37 mStateController = stateController; in AssistantAttentionCallback()
46 mStateController.setHasAssistantAttention(allConditionsMet); in onConditionsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayService.java214 if (!mStateController.areExitAnimationsRunning()) {
215 mStateController.removeCallback(mExitAnimationFinishedCallback);
221 private final DreamOverlayStateController mStateController; field in DreamOverlayService
276 mStateController = stateController; in DreamOverlayService()
367 mStateController.setShouldShowComplications(shouldShowComplications()); in onStartDream()
378 mStateController.setOverlayActive(true); in onStartDream()
380 mStateController.setLowLightActive( in onStartDream()
383 mStateController.setHomeControlPanelActive( in onStartDream()
529 if (mStateController.areExitAnimationsRunning()) { in resetCurrentDreamOverlayLocked()
530 mStateController.addCallback(mExitAnimationFinishedCallback); in resetCurrentDreamOverlayLocked()
[all …]
DDreamOverlayContainerViewController.java81 private final DreamOverlayStateController mStateController; field in DreamOverlayContainerViewController
220 mStateController = stateController; in DreamOverlayContainerViewController()
255 mStateController.addCallback(mDreamOverlayStateCallback); in onInit()
290 if (!mStateController.isLowLightActive()) { in onViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationCollectionLiveDataTest.java56 private DreamOverlayStateController mStateController; field in ComplicationCollectionLiveDataTest
68 mStateController = new DreamOverlayStateController( in setUp()
74 mLiveData = new ComplicationCollectionLiveData(mStateController); in setUp()
94 mStateController.setAvailableComplicationTypes(0); in testLifecycle()
116 mStateController.addComplication(complication); in addComplication()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DStateControllerTest.java66 private StateController mStateController; field in StateControllerTest
124 mStateController = new TestStateController(mJobSchedulerService); in setUp()
148 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
152 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
156 assertTrue(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java39 private final StatusBarStateController mStateController; field in DynamicPrivacyController
50 mStateController = stateController; in DynamicPrivacyController()
103 int state = mStateController.getState(); in isInLockedDownShade()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java68 private final InsetsStateController mStateController; field in InsetsPolicy
99 mStateController = stateController; in InsetsPolicy()
130 mStateController.onBarControlTargetChanged( in updateBarControlTarget()
138 final InsetsState state = mStateController.getRawInsetsState(); in hasHiddenSources()
153 final InsetsState rawState = mStateController.getRawInsetsState(); in showTransient()
236 : mStateController.getRawInsetsState(); in getInsetsForWindowMetrics()
303 final SparseArray<InsetsSourceProvider> providers = mStateController.getSourceProviders(); in enforceInsetsPolicyForTarget()
437 mStateController.onRequestedVisibleTypesChanged(caller); in onRequestedVisibleTypesChanged()
454 final boolean isImeVisible = mStateController.getImeSourceProvider().isClientVisible(); in checkAbortTransient()
456 mStateController.getFakeControllingTypes(caller); in checkAbortTransient()
[all …]
DInsetsSourceProvider.java69 protected final @NonNull InsetsStateController mStateController; field in InsetsSourceProvider
123 mStateController = stateController; in InsetsSourceProvider()
139 mStateController.notifyControlTargetChanged(mPendingControlTarget, this); in InsetsSourceProvider()
201 mStateController.notifyControlTargetChanged(mPendingControlTarget, this); in setWindowContainer()
413 mStateController.notifyControlChanged(mControlTarget); in updateInsetsControlPosition()
798 mStateController.notifyControlRevoked(mControlTarget, InsetsSourceProvider.this); in onAnimationCancelled()
DImeInsetsSourceProvider.java104 mStateController.notifyControlChanged(mControlTarget); in onPostLayout()
499 if (mStateController.hasPendingControls(controlTarget)) { in isScheduledAndReadyToShowIme()
547 sb.append(mStateController.hasPendingControls(controlTarget)); in logIsScheduledAndReadyToShowIme()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandlerTest.java80 DreamOverlayStateController mStateController; field in HideComplicationTouchHandlerTest
106 mStateController); in testSessionEndOnMultipleSessions()
139 mStateController); in testSessionEndWhenBouncerShowing()
172 mStateController); in testSessionEndWithTouchInInset()
221 mStateController); in testSessionLifecycle()
281 mStateController); in testNoActionWhenDisabledByFlag()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayServiceTest.kt141 @Mock lateinit var mStateController: DreamOverlayStateController variable in com.android.systemui.dreams.DreamOverlayServiceTest
206 mStateController, in setup()
284 verify(mStateController).setOverlayActive(false) in testInvalidWindowAddStart()
285 verify(mStateController).setLowLightActive(false) in testInvalidWindowAddStart()
286 verify(mStateController).setEntryAnimationsFinished(false) in testInvalidWindowAddStart()
287 verify(mStateController, Mockito.never()).setOverlayActive(true) in testInvalidWindowAddStart()
354 verify(mStateController).setLowLightActive(true) in testLowLightSetByStartDream()
370 verify(mStateController).setHomeControlPanelActive(true) in testHomeControlPanelSetsByStartDream()
397 verify(mStateController).setOverlayActive(false) in testOnEndDream()
398 verify(mStateController).setLowLightActive(false) in testOnEndDream()
[all …]
DDreamOverlayContainerViewControllerTest.java128 DreamOverlayStateController mStateController; field in DreamOverlayContainerViewControllerTest
172 mStateController, in setup()
273 when(mStateController.isLowLightActive()).thenReturn(false); in testStartDreamEntryAnimationsOnAttachedNonLowLight()
283 when(mStateController.isLowLightActive()).thenReturn(true); in testNeverStartDreamEntryAnimationsOnAttachedForLowLight()
294 when(mStateController.isLowLightActive()).thenReturn(false); in testDownwardEntryAnimationsWhenExitingLowLight()
298 verify(mStateController).addCallback(callbackCaptor.capture()); in testDownwardEntryAnimationsWhenExitingLowLight()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java67 @Mock private StatusBarStateController mStateController; field in NotificationRemoteInputManagerTest
86 mStateController, in setUp()