Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java84 import com.android.systemui.statusbar.StatusBarState;
185 boolean keyguardOrShadeLocked = mBarState == StatusBarState.KEYGUARD
186 || mBarState == StatusBarState.SHADE_LOCKED;
805 if (mBarState != StatusBarState.KEYGUARD) { in positionClockAndNotifications()
1168 final int gesture = mBarState == StatusBarState.KEYGUARD in logQsSwipeDown()
1258 && mBarState != StatusBarState.SHADE in onTouchEvent()
1282 && mBarState != StatusBarState.KEYGUARD && !mQsExpanded in handleQsTouch()
1423 return isFullyCollapsed() || mBarState != StatusBarState.SHADE; in shouldGestureWaitForTouchSlop()
1574 boolean keyguardShowing = statusBarState == StatusBarState.KEYGUARD; in onStateChanged()
1581 if (oldState == StatusBarState.KEYGUARD in onStateChanged()
[all …]
DKeyguardBypassController.kt25 import com.android.systemui.statusbar.StatusBarState
81 if (newState != StatusBarState.KEYGUARD) { in onStateChanged()
129 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canBypass()
144 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canPlaySubtleWindowAnimations()
DHeadsUpManagerPhone.java41 import com.android.systemui.statusbar.StatusBarState;
234 boolean wasKeyguard = mStatusBarState == StatusBarState.KEYGUARD; in onStateChanged()
235 boolean isKeyguard = newState == StatusBarState.KEYGUARD; in onStateChanged()
452 boolean pin = mStatusBarState == StatusBarState.SHADE && !mIsExpanded; in shouldHeadsUpBecomePinned()
454 pin |= mStatusBarState == StatusBarState.KEYGUARD; in shouldHeadsUpBecomePinned()
529 } else if (mIsAutoHeadsUp && mStatusBarState == StatusBarState.KEYGUARD) { in setEntry()
DStatusBar.java192 import com.android.systemui.statusbar.StatusBarState;
575 if (mState == StatusBarState.KEYGUARD) {
1449 mReportRejectedTouch.setVisibility(mState == StatusBarState.KEYGUARD && !mDozing in updateReportRejectedTouchVisibility()
1581 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isFalsingThresholdNeeded()
1616 && mState == StatusBarState.KEYGUARD; in onHeadsUpPinnedModeChanged()
1665 if (isExpanded && mStatusBarStateController.getState() != StatusBarState.KEYGUARD) { in setPanelExpanded()
1783 return mState == StatusBarState.SHADE; in areLaunchAnimationsEnabled()
1957 if (!force && mState != StatusBarState.SHADE) { in animateCollapsePanels()
2046 if (mState == StatusBarState.SHADE) { in animateCollapseQuickSettings()
2152 if (!showing && mState == StatusBarState.SHADE) { in setWindowState()
[all …]
DShadeController.java20 import com.android.systemui.statusbar.StatusBarState;
DStatusBarNotificationPresenter.java58 import com.android.systemui.statusbar.StatusBarState;
328 if (mStatusBarStateController.getState() == StatusBarState.SHADE) { in onNotificationRemoved()
330 } else if (mStatusBarStateController.getState() == StatusBarState.SHADE_LOCKED in onNotificationRemoved()
459 if (mStatusBarStateController.getState() == StatusBarState.KEYGUARD) { in onExpandClicked()
DHeadsUpAppearanceController.java36 import com.android.systemui.statusbar.StatusBarState;
300 if (mStatusBarStateController.getState() != StatusBarState.SHADE) { in setShown()
380 (mStatusBarStateController.getState() == StatusBarState.KEYGUARD in shouldBeVisible()
/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.java66 import com.android.systemui.statusbar.StatusBarState;
208 when(mBarState.getState()).thenReturn(StatusBarState.SHADE); in testNotDimmedOnKeyguard()
301 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_noNotifications()
310 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_remoteInput()
327 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneClearableNotification()
343 setBarStateForTest(StatusBarState.SHADE); in testUpdateFooter_oneNonClearableNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java52 private static final int MAX_STATE = StatusBarState.FULLSCREEN_USER_SWITCHER;
53 private static final int MIN_STATE = StatusBarState.SHADE;
141 if (mState == StatusBarState.SHADE && state == StatusBarState.SHADE_LOCKED) { in setState()
237 return mState == StatusBarState.SHADE && mLeaveOpenOnKeyguardHide; in goingToFullShade()
252 return mLastState == StatusBarState.SHADE_LOCKED; in fromShadeLocked()
340 return StatusBarState.toShortString(state); in describe()
DStatusBarState.java22 public class StatusBarState { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt24 import com.android.systemui.statusbar.StatusBarState
73 private var state: Int = StatusBarState.KEYGUARD
137 && statusBarStateController.state == StatusBarState.KEYGUARD
259 newState == StatusBarState.KEYGUARD && state == StatusBarState.SHADE_LOCKED in onStateChanged()
283 if (statusBarStateController.state == StatusBarState.SHADE in updateDozeAmountIfBypass()
284 || statusBarStateController.state == StatusBarState.SHADE_LOCKED) { in updateDozeAmountIfBypass()
DDynamicPrivacyController.java25 import com.android.systemui.statusbar.StatusBarState;
114 if (state != StatusBarState.SHADE && state != StatusBarState.SHADE_LOCKED) { in isInLockedDownShade()
DBypassHeadsUpNotifier.kt26 import com.android.systemui.statusbar.StatusBarState in <lambda>()
135 if (statusBarStateController.state != StatusBarState.KEYGUARD) { in <lambda>()
DNotificationInterruptionStateProvider.java19 import static com.android.systemui.statusbar.StatusBarState.SHADE;
41 import com.android.systemui.statusbar.StatusBarState;
429 || mStatusBarStateController.getState() == StatusBarState.KEYGUARD); in shouldLaunchFullScreenIntentWhenAdded()
/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/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.java47 import com.android.systemui.statusbar.StatusBarState;
111 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
178 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
276 mStateListener.onStateChanged(StatusBarState.SHADE); in onStateChanged_GoneInShade()
291 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onStateChanged_VisibleInKeyguard()
305 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_visible()
321 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_gone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java99 import com.android.systemui.statusbar.StatusBarState;
505 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenForHeadsUp()
524 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testPanelOpenAndClear()
543 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPanelOpenAndNoClear()
558 mStatusBar.setBarStateForTest(StatusBarState.SHADE); in testDisableExpandStatusBar()
589 mStatusBar.mState = StatusBarState.KEYGUARD; in testUpdateKeyguardState_DoesNotCrash()
592 mStatusBar.onStateChanged(StatusBarState.SHADE); in testUpdateKeyguardState_DoesNotCrash()
622 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController()
703 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testSetState_changesIsFullScreenUserSwitcherState()
706 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java51 import com.android.systemui.statusbar.StatusBarState;
201 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onMetadataChanged_updatesSlice()
215 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onDozingChanged_updatesSliceIfMedia()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java46 import com.android.systemui.statusbar.StatusBarState;
274 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isKeyguardShowing()
405 return mState == StatusBarState.KEYGUARD && mShowCollapsedOnKeyguard in headerWillBeAnimating()
530 setKeyguardShowing(newState == StatusBarState.KEYGUARD); in onStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java37 import com.android.systemui.statusbar.StatusBarState;
260 if (mWorker != null && mController.getState() == StatusBarState.SHADE) { in onStatePostChange()
392 && mController.getState() == StatusBarState.KEYGUARD; in needPreserveEglContext()
/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()

123