/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelView.java | 84 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 …]
|
D | KeyguardBypassController.kt | 25 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()
|
D | HeadsUpManagerPhone.java | 41 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()
|
D | StatusBar.java | 192 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 …]
|
D | ShadeController.java | 20 import com.android.systemui.statusbar.StatusBarState;
|
D | StatusBarNotificationPresenter.java | 58 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()
|
D | HeadsUpAppearanceController.java | 36 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/ |
D | NotificationSectionsManagerTest.java | 43 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()
|
D | NotificationStackScrollLayoutTest.java | 66 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/ |
D | StatusBarStateControllerImpl.java | 52 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()
|
D | StatusBarState.java | 22 public class StatusBarState { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationWakeUpCoordinator.kt | 24 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()
|
D | DynamicPrivacyController.java | 25 import com.android.systemui.statusbar.StatusBarState; 114 if (state != StatusBarState.SHADE && state != StatusBarState.SHADE_LOCKED) { in isInLockedDownShade()
|
D | BypassHeadsUpNotifier.kt | 26 import com.android.systemui.statusbar.StatusBarState in <lambda>() 135 if (statusBarStateController.state != StatusBarState.KEYGUARD) { in <lambda>()
|
D | NotificationInterruptionStateProvider.java | 19 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/ |
D | QSTileImplTest.java | 54 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/ |
D | FalsingManagerImpl.java | 45 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/ |
D | KeyguardClockSwitchTest.java | 47 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/ |
D | StatusBarTest.java | 99 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 …]
|
D | StatusBarWindowViewTest.java | 35 import com.android.systemui.statusbar.StatusBarState; 67 .thenReturn(StatusBarState.SHADE); in testDragDownHelperCalledWhenDraggingDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | PhoneStateMonitor.java | 36 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/ |
D | KeyguardSliceProviderTest.java | 51 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/ |
D | QSFragment.java | 46 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/ |
D | ImageWallpaper.java | 37 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/ |
D | NotificationSectionsManager.java | 31 import com.android.systemui.statusbar.StatusBarState; 153 && mStatusBarStateController.getState() != StatusBarState.KEYGUARD; in adjustGentleHeaderVisibilityAndPosition()
|