Home
last modified time | relevance | path

Searched refs:StatusBarState (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java81 import com.android.systemui.statusbar.StatusBarState;
673 if (mBarState != StatusBarState.KEYGUARD) { in positionClockAndNotifications()
1009 final int gesture = mBarState == StatusBarState.KEYGUARD in logQsSwipeDown()
1078 && mBarState != StatusBarState.SHADE in onTouchEvent()
1102 && mBarState != StatusBarState.KEYGUARD && !mQsExpanded in handleQsTouch()
1196 return mBarState != StatusBarState.SHADE; in hasConflictingGestures()
1345 boolean keyguardShowing = statusBarState == StatusBarState.KEYGUARD; in onStateChanged()
1355 if (oldState == StatusBarState.KEYGUARD in onStateChanged()
1356 && (goingToFullShade || statusBarState == StatusBarState.SHADE_LOCKED)) { in onStateChanged()
1358 long delay = mBarState == StatusBarState.SHADE_LOCKED in onStateChanged()
[all …]
DStatusBar.java193 import com.android.systemui.statusbar.StatusBarState;
556 if (mState == StatusBarState.KEYGUARD) {
1374 mReportRejectedTouch.setVisibility(mState == StatusBarState.KEYGUARD && !mDozing in updateReportRejectedTouchVisibility()
1503 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isFalsingThresholdNeeded()
1590 if (isExpanded && mStatusBarStateController.getState() != StatusBarState.KEYGUARD) { in setPanelExpanded()
1708 return mState == StatusBarState.SHADE; in areLaunchAnimationsEnabled()
1880 if (!force && mState != StatusBarState.SHADE) { in animateCollapsePanels()
1968 if (mState == StatusBarState.SHADE) { in animateCollapseQuickSettings()
2074 if (!showing && mState == StatusBarState.SHADE) { in setWindowState()
2736 (mState == StatusBarState.SHADE in handleVisibleToUserChangedImpl()
[all …]
DShadeController.java20 import com.android.systemui.statusbar.StatusBarState;
DStatusBarNotificationPresenter.java59 import com.android.systemui.statusbar.StatusBarState;
330 if (mStatusBarStateController.getState() == StatusBarState.SHADE) { in onNotificationRemoved()
332 } else if (mStatusBarStateController.getState() == StatusBarState.SHADE_LOCKED in onNotificationRemoved()
463 if (mStatusBarStateController.getState() == StatusBarState.KEYGUARD && nowExpanded) { in onExpandClicked()
DStatusBarRemoteInputCallback.java46 import com.android.systemui.statusbar.StatusBarState;
96 if (state == StatusBarState.SHADE && mStatusBarStateController.leaveOpenOnKeyguardHide()) { in onStateChanged()
DStatusBarWindowController.java48 import com.android.systemui.statusbar.StatusBarState;
280 && state.statusBarState == StatusBarState.KEYGUARD in applyUserActivityTimeout()
290 && state.statusBarState == StatusBarState.KEYGUARD in applyInputFeatures()
DHeadsUpManagerPhone.java41 import com.android.systemui.statusbar.StatusBarState;
389 return mStatusBarState != StatusBarState.KEYGUARD && !mIsExpanded in shouldHeadsUpBecomePinned()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java54 import com.android.systemui.statusbar.StatusBarState;
106 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_Metrics_Status_Bar_Status()
109 assertEquals(StatusBarState.SHADE, mLogCaptor.getValue() in testClick_Metrics_Status_Bar_Status()
121 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testSecondaryClick_Metrics_Status_Bar_Status()
124 assertEquals(StatusBarState.KEYGUARD, mLogCaptor.getValue() in testSecondaryClick_Metrics_Status_Bar_Status()
136 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE_LOCKED); in testLongClick_Metrics_Status_Bar_Status()
139 assertEquals(StatusBarState.SHADE_LOCKED, mLogCaptor.getValue() in testLongClick_Metrics_Status_Bar_Status()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManagerTest.java43 import com.android.systemui.statusbar.StatusBarState;
83 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in setUp()
209 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderNotShownOnLockscreen()
222 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderShownWhenEnterLockscreen()
227 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testHeaderShownWhenEnterLockscreen()
237 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE_LOCKED); in testHeaderHiddenWhenEnterLockscreen()
242 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderHiddenWhenEnterLockscreen()
DNotificationStackScrollLayoutTest.java64 import com.android.systemui.statusbar.StatusBarState;
196 when(mBarState.getState()).thenReturn(StatusBarState.SHADE); in testNotDimmedOnKeyguard()
294 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_noNotifications()
303 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_remoteInput()
320 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneClearableNotification()
336 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneNonClearableNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java45 import com.android.systemui.statusbar.StatusBarState;
88 private int mState = StatusBarState.SHADE;
113 .append("from=").append(StatusBarState.toShortString(mState))
114 .append(" to=").append(StatusBarState.toShortString(newState))
170 .append(" mState=").append(StatusBarState.toShortString(mState)) in shouldSessionBeActive()
175 return isEnabled() && mScreenOn && (mState == StatusBarState.KEYGUARD) && !mShowingAod; in shouldSessionBeActive()
270 String state = StatusBarState.toShortString(mState); in isFalseTouch()
291 .append('/').append(StatusBarState.toShortString(mState)) in isFalseTouch()
549 pw.print("mState="); pw.println(StatusBarState.toShortString(mState)); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java46 import com.android.systemui.statusbar.StatusBarState;
110 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
177 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
275 mStateListener.onStateChanged(StatusBarState.SHADE); in onStateChanged_GoneInShade()
290 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onStateChanged_VisibleInKeyguard()
304 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_visible()
320 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_gone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java50 private static final int MAX_STATE = StatusBarState.FULLSCREEN_USER_SWITCHER;
51 private static final int MIN_STATE = StatusBarState.SHADE;
220 return mState == StatusBarState.SHADE && mLeaveOpenOnKeyguardHide; in goingToFullShade()
235 return mLastState == StatusBarState.SHADE_LOCKED; in fromShadeLocked()
299 return StatusBarState.toShortString(state); in describe()
DStatusBarState.java22 public class StatusBarState { class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java99 import com.android.systemui.statusbar.StatusBarState;
507 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenForHeadsUp()
526 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenAndClear()
545 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPanelOpenAndNoClear()
560 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testDisableExpandStatusBar()
591 mStatusBar.mState = StatusBarState.KEYGUARD; in testUpdateKeyguardState_DoesNotCrash()
594 mStatusBar.onStateChanged(StatusBarState.SHADE); in testUpdateKeyguardState_DoesNotCrash()
624 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController()
704 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testSetState_changesIsFullScreenUserSwitcherState()
707 mStatusBar.setBarStateForTest(StatusBarState.FULLSCREEN_USER_SWITCHER); in testSetState_changesIsFullScreenUserSwitcherState()
[all …]
DStatusBarWindowViewTest.java35 import com.android.systemui.statusbar.StatusBarState;
67 .thenReturn(StatusBarState.SHADE); in testDragDownHelperCalledWhenDraggingDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java36 import com.android.systemui.statusbar.StatusBarState;
163 return statusBarState == StatusBarState.KEYGUARD in isShadeFullscreen()
164 || statusBarState == StatusBarState.SHADE_LOCKED; in isShadeFullscreen()
DAssistHandleReminderExpBehavior.java41 import com.android.systemui.statusbar.StatusBarState;
294 return statusBarState == StatusBarState.KEYGUARD in onLockscreen()
295 || statusBarState == StatusBarState.SHADE_LOCKED; in onLockscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java34 import com.android.systemui.statusbar.StatusBarState;
200 if (mController.getState() == StatusBarState.SHADE) { in onStatePostChange()
302 && mController.getState() == StatusBarState.KEYGUARD; in needPreserveEglContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java51 import com.android.systemui.statusbar.StatusBarState;
181 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onMetadataChanged_updatesSlice()
195 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onDozingChanged_updatesSliceIfMedia()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.java31 import com.android.systemui.statusbar.StatusBarState;
153 && mStatusBarStateController.getState() != StatusBarState.KEYGUARD; in adjustGentleHeaderVisibilityAndPosition()
DAmbientState.java29 import com.android.systemui.statusbar.StatusBarState;
364 return mStatusBarState == StatusBarState.KEYGUARD; in isOnKeyguard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java55 import com.android.systemui.statusbar.StatusBarState;
234 boolean keepWhenShade = mStatusBarState == StatusBarState.SHADE && mMediaIsVisible; in needsMediaLocked()
462 if (mMediaIsVisible && !nextVisible && mStatusBarState != StatusBarState.SHADE) { in onMetadataOrStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java36 import com.android.systemui.statusbar.StatusBarState;
394 final boolean inDisplayState = mStatusBarState == StatusBarState.KEYGUARD in updateBigClockVisibility()
395 || mStatusBarState == StatusBarState.SHADE_LOCKED; in updateBigClockVisibility()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java72 import com.android.systemui.statusbar.StatusBarState;
946 if (mDrivingStateHelper.isCurrentlyDriving() && mState != StatusBarState.SHADE) { in startSwitchToGuestTimerIfDrivingOnKeyguard()
979 if (newState != StatusBarState.FULLSCREEN_USER_SWITCHER) { in onStateChanged()
988 if (mFullscreenUserSwitcher != null && mState == StatusBarState.FULLSCREEN_USER_SWITCHER) { in showUserSwitcher()
1012 if (mState == StatusBarState.FULLSCREEN_USER_SWITCHER in dismissKeyguardWhenUserSwitcherNotDisplayed()

12