Home
last modified time | relevance | path

Searched refs:STATE_NONE (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedState.java33 public static final int STATE_NONE = 0; field in OneHandedState
42 STATE_NONE,
51 sCurrentState = STATE_NONE; in OneHandedState()
55 private static int sCurrentState = STATE_NONE;
DOneHandedController.java25 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
170 mState.setState(STATE_NONE);
171 notifyShortcutStateChanged(STATE_NONE);
397 if (mState.isTransitioning() || mState.getState() == STATE_NONE) { in stopOneHanded()
DOneHandedTutorialHandler.java26 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
138 case STATE_NONE: in onStateChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedControllerTest.java22 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
188 assertThat(mSpiedTransitionState.getState()).isEqualTo(STATE_NONE); in testDefaultShouldNotInOneHanded()
200 mSpiedTransitionState.setState(STATE_NONE); in testStartOneHandedShouldTriggerScheduleOffset()
218 mSpiedTransitionState.setState(STATE_NONE); in testStopOneHanded()
320 mSpiedTransitionState.setState(STATE_NONE); in testKeyguardShowingLockOneHandedDisabled()
330 mSpiedTransitionState.setState(STATE_NONE); in testResetKeyguardShowingLockOneHandedDisabled()
341 mSpiedTransitionState.setState(STATE_NONE); in testRotation90CanNotStartOneHanded()
353 mSpiedTransitionState.setState(STATE_NONE); in testRotation180CanStartOneHanded()
366 mSpiedTransitionState.setState(STATE_NONE); in testRotation270CanNotStartOneHanded()
441 when(mSpiedTransitionState.getState()).thenReturn(STATE_NONE); in testStateNotActive_shortcutRequestInActivate_skipAction()
[all …]
DOneHandedTutorialHandlerTest.java20 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
97 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_removeViewAndAttachToWindow()
111 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_shouldNotAttachWindow()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecFeatureAction.java54 protected static final int STATE_NONE = 0; field in HdmiCecFeatureAction
57 protected int mState = STATE_NONE;
182 return mState != STATE_NONE; in started()
247 mState = STATE_NONE; in clear()
266 if (actionCallbackPair.first.mState != STATE_NONE) { in finish()
DRoutingControlAction.java110 if (mState != timeoutState || mState == STATE_NONE) { in handleTimerEvent()
DDeviceDiscoveryAction.java145 if (mState == STATE_NONE) { in start()
511 if (mState == STATE_NONE || mState != state) {
DNewDeviceAction.java247 if (mState == STATE_NONE || mState != state) { in handleTimerEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeDockHandlerTest.java94 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_ignoresIfAlreadyNone()
103 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_requestsAodState()
114 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileDisabledAod_requestsDozeState()
139 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhilePulsing_wontRequestStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java46 private int mDockState = DockManager.STATE_NONE;
109 case DockManager.STATE_NONE: in onEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java27 int STATE_NONE = 0; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt121 if (playbackState == null || PlaybackState.STATE_NONE.equals(playbackState)) { in onPlaybackStateChanged()
242 playbackState?.state ?: PlaybackState.STATE_NONE in updateController()
247 playbackState?.getState() == PlaybackState.STATE_NONE || in updateController()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java193 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
207 public static final int STATE_NONE = 0; field in PlaybackState
563 case STATE_NONE: in getStringForStateInt()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationUserSelectionOverrideTest.kt57 private const val STATE_NONE = DomainVerificationUserState.DOMAIN_STATE_NONE constant
175 assertThat(service.stateFor(PKG_ONE, DOMAIN_ONE)).isEqualTo(STATE_NONE) in anotherPackageTakeoverSuccess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java72 PAUSED_MEDIA_STATES.add(PlaybackState.STATE_NONE);
465 && state != PlaybackState.STATE_NONE; in isPlaybackActive()
485 return PlaybackState.STATE_NONE; in getMediaControllerPlaybackState()
/frameworks/base/core/java/android/widget/
DFastScroller.java76 private static final int STATE_NONE = 0; field in FastScroller
243 setState(STATE_NONE);
485 setState(STATE_NONE); in stop()
835 if (mAlwaysShow && state == STATE_NONE) { in setState()
844 case STATE_NONE: in setState()
945 setState(STATE_NONE); in onScroll()
1450 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) && mState == STATE_NONE in onInterceptHoverEvent()
/frameworks/base/services/core/java/com/android/server/am/
DUserState.java39 public static final int STATE_NONE = -1; field in UserState
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DUtil.java105 case PlaybackState.STATE_NONE: in playbackStateStateToString()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DMediaControllerRepositoryImplTest.kt133 PlaybackState.Builder().setState(PlaybackState.STATE_NONE, 0, 0f).build()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1044 return PlaybackState.STATE_NONE; in getStateFromRccState()
1077 case PlaybackState.STATE_NONE: in getRccStateFromState()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java204 case PlaybackState.STATE_NONE:
DNotificationHelper.java177 case PlaybackState.STATE_NONE: in updateNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java154 if (event == DockManager.STATE_NONE && !mBatteryController.isWirelessCharging()) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java121 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_NONE); in setUp()

12