Home
last modified time | relevance | path

Searched refs:SHADE (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarState.java27 public static final int SHADE = 0; field in StatusBarState
48 case SHADE: in toShortString()
DStatusBarStateEvent.java57 case StatusBarState.SHADE: in fromState()
DStatusBarStateControllerImpl.java63 private static final int MIN_STATE = StatusBarState.SHADE;
161 if (mState == StatusBarState.SHADE && state == StatusBarState.SHADE_LOCKED) { in setState()
347 return mState == StatusBarState.SHADE && mLeaveOpenOnKeyguardHide; in goingToFullShade()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java141 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_log()
144 verify(mQsLogger).logTileClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testClick_log()
149 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_Metrics_Status_Bar_Status()
152 assertEquals(StatusBarState.SHADE, mLogCaptor.getValue() in testClick_Metrics_Status_Bar_Status()
180 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testSecondaryClick_log()
183 verify(mQsLogger).logTileSecondaryClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testSecondaryClick_log()
207 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testLongClick_log()
210 verify(mQsLogger).logTileLongClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testLongClick_log()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaHierarchyManagerTest.kt114 `when`(statusBarStateController.state).thenReturn(StatusBarState.SHADE) in setup()
174 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testGoingToFullShade()
207 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testTransformationOnLockScreenIsFading()
223 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testTransformationOnLockScreenToQQSisFading()
DKeyguardMediaControllerTest.kt98 testStateVisibility(StatusBarState.SHADE, GONE) in testVisibleOnKeyguardOrFullScreenUserSwitcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java178 when(mBarState.getState()).thenReturn(StatusBarState.SHADE); in testNotDimmedOnKeyguard()
292 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_noNotifications()
301 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_remoteInput()
320 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneClearableNotification()
335 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneNonClearableNotification()
DNotificationStackScrollerControllerTest.java20 import static com.android.systemui.statusbar.StatusBarState.SHADE;
387 statusBarStateListener.onStateChanged(SHADE); in setupShowEmptyShadeViewState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarStateEventTest.kt40 StatusBarState.SHADE, in <lambda>()
DStatusBarStateControllerImplTest.kt48 controller.state = StatusBarState.SHADE in testChangeState_logged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerTest.java211 sendStatusBarStateChanged(StatusBarState.SHADE); in testShouldPauseAuthOnShade()
224 mStatusBarStateListener.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD); in testShouldPauseAuthAnimatingScreenOffFromShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java107 if (state != StatusBarState.SHADE && state != StatusBarState.SHADE_LOCKED) { in isInLockedDownShade()
DNotificationWakeUpCoordinator.kt270 newState == StatusBarState.SHADE) { in onStateChanged()
316 if (statusBarStateController.state == StatusBarState.SHADE || in overrideDozeAmountIfBypass()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchControllerTest.java148 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in setup()
208 verify(mView).setClockPlugin(mClockPlugin, StatusBarState.SHADE); in testPluginPassesStatusBarState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java19 import static com.android.systemui.statusbar.StatusBarState.SHADE;
208 boolean inShade = mStatusBarStateController.getState() == SHADE; in shouldHeadsUpWhenAwake()
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/
DCamera2PortabilityTest.java175 set.setWhiteBalance(WhiteBalance.SHADE); in camera2SettingsSetOptionsAndGetRequestSettings()
232 assertEquals(intstr.whiteBalanceFromInt(CONTROL_AWB_MODE_SHADE), WhiteBalance.SHADE); in camera2CapabilitiesFocusModeFromInt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags13 ## state: 0: SHADE, 1: KEYGUARD, 2: SHADE_LOCKED
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java704 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenForHeadsUp()
723 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenAndClear()
756 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testDisableExpandStatusBar()
796 mStatusBar.onStateChanged(StatusBarState.SHADE); in testUpdateKeyguardState_DoesNotCrash()
853 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testShowKeyguardImplementation_setsState()
DNotificationPanelViewTest.java22 import static com.android.systemui.statusbar.StatusBarState.SHADE;
685 mStatusBarStateController.setState(SHADE); in testCanCollapsePanelOnTouch_trueWhenScrolledToBottom()
693 mStatusBarStateController.setState(SHADE); in testCanCollapsePanelOnTouch_trueWhenInSettings()
701 mStatusBarStateController.setState(SHADE); in testCanCollapsePanelOnTouch_falseInDualPaneShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHierarchyManager.kt661 statusbarState == StatusBarState.SHADE) { in shouldAnimateTransition()
696 if (statusbarState == StatusBarState.SHADE && in getAnimationParams()
1011 statusBarStateController.state == StatusBarState.SHADE && in isHomeScreenShadeVisibleToUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java27 import static com.android.systemui.statusbar.StatusBarState.SHADE;
293 when(mStatusBarStateController.getState()).thenReturn(SHADE); in testShouldNotHeadsUp_bubble()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationController.kt200 if (statusBarStateControllerImpl.state != StatusBarState.SHADE) { in shouldPlayUnlockedScreenOffAnimation()
DShadeControllerImpl.java111 if (!force && mStatusBarStateController.getState() != StatusBarState.SHADE) { in animateCollapsePanels()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java228 boolean keepWhenShade = mStatusBarState == StatusBarState.SHADE && mMediaIsVisible; in needsMediaLocked()
458 if (mMediaIsVisible && !nextVisible && mStatusBarState != StatusBarState.SHADE) { in onPrimaryMetadataOrStateChanged()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java256 return WhiteBalance.SHADE; in whiteBalanceFromInt()

12