/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/callbacks/ |
D | DreamStatusBarStateCallback.java | 31 private final SysuiStatusBarStateController mStateController; field in DreamStatusBarStateCallback 35 mStateController = statusBarStateController; in DreamStatusBarStateCallback() 44 mStateController.setIsDreaming(allConditionsMet); in onConditionsChanged()
|
D | AssistantAttentionCallback.java | 33 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/ |
D | DreamOverlayService.java | 214 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 …]
|
D | DreamOverlayContainerViewController.java | 81 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/ |
D | ComplicationCollectionLiveDataTest.java | 56 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/ |
D | StateControllerTest.java | 66 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/ |
D | DynamicPrivacyController.java | 39 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/ |
D | InsetsPolicy.java | 68 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 …]
|
D | InsetsSourceProvider.java | 69 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()
|
D | ImeInsetsSourceProvider.java | 104 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/ |
D | HideComplicationTouchHandlerTest.java | 80 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/ |
D | DreamOverlayServiceTest.kt | 141 @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 …]
|
D | DreamOverlayContainerViewControllerTest.java | 128 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/ |
D | NotificationRemoteInputManagerTest.java | 67 @Mock private StatusBarStateController mStateController; field in NotificationRemoteInputManagerTest 86 mStateController, in setUp()
|