Home
last modified time | relevance | path

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

12

/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;
151 assertThat(mSpiedTransitionState.getState()).isEqualTo(STATE_NONE); in testDefaultShouldNotInOneHanded()
156 mSpiedTransitionState.setState(STATE_NONE); in testStartOneHandedShouldTriggerScheduleOffset()
174 mSpiedTransitionState.setState(STATE_NONE); in testStopOneHanded()
276 mSpiedTransitionState.setState(STATE_NONE); in testKeyguardShowingLockOneHandedDisabled()
286 mSpiedTransitionState.setState(STATE_NONE); in testResetKeyguardShowingLockOneHandedDisabled()
298 mSpiedTransitionState.setState(STATE_NONE); in testRotation90CanNotStartOneHanded()
311 mSpiedTransitionState.setState(STATE_NONE); in testRotation180CanStartOneHanded()
325 mSpiedTransitionState.setState(STATE_NONE); in testRotation270CanNotStartOneHanded()
348 when(mSpiedTransitionState.getState()).thenReturn(STATE_NONE); in testStateNotActive_shortcutRequestInActivate_skipAction()
[all …]
DOneHandedTutorialHandlerTest.java20 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
94 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_removeViewAndAttachToWindow()
108 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_shouldNotAttachWindow()
DOneHandedBackgroundPanelOrganizerTest.java23 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
118 mSpiedBackgroundPanelOrganizer.onStateChanged(STATE_NONE); in testStateNone_onConfigurationChanged()
/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;
DOneHandedTutorialHandler.java26 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
125 case STATE_NONE: in onStateChanged()
DOneHandedController.java27 import static com.android.wm.shell.onehanded.OneHandedState.STATE_NONE;
181 mState.setState(STATE_NONE);
182 notifyShortcutStateChanged(STATE_NONE);
405 if (mState.isTransitioning() || mState.getState() == STATE_NONE) { in stopOneHanded()
/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()
236 mState = STATE_NONE; in clear()
255 if (actionCallbackPair.first.mState != STATE_NONE) { in finish()
DRoutingControlAction.java147 if (mState != timeoutState || mState == STATE_NONE) { in handleTimerEvent()
DNewDeviceAction.java194 if (mState == STATE_NONE || mState != state) { in handleTimerEvent()
DDeviceDiscoveryAction.java499 if (mState == STATE_NONE || mState != state) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeDockHandlerTest.java89 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_ignoresIfAlreadyNone()
98 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_requestsAodState()
109 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileDisabledAod_requestsDozeState()
134 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhilePulsing_wontRequestStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java45 private int mDockState = DockManager.STATE_NONE;
102 case DockManager.STATE_NONE: in onEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java27 int STATE_NONE = 0; field
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationUserSelectionOverrideTest.kt56 private const val STATE_NONE = DomainVerificationUserState.DOMAIN_STATE_NONE constant
159 assertThat(service.stateFor(PKG_ONE, DOMAIN_ONE)).isEqualTo(STATE_NONE) in anotherPackageTakeoverSuccess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt98 if (playbackState == null || PlaybackState.STATE_NONE.equals(playbackState)) { in onPlaybackStateChanged()
196 playbackState?.getState() == PlaybackState.STATE_NONE || in updateController()
/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/packages/SettingsLib/src/com/android/settingslib/volume/
DUtil.java105 case PlaybackState.STATE_NONE: in playbackStateStateToString()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java190 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
203 public static final int STATE_NONE = 0; field in PlaybackState
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1044 return PlaybackState.STATE_NONE; in getStateFromRccState()
1077 case PlaybackState.STATE_NONE: in getRccStateFromState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java107 PAUSED_MEDIA_STATES.add(PlaybackState.STATE_NONE);
580 && state != PlaybackState.STATE_NONE; in isPlaybackActive()
600 return PlaybackState.STATE_NONE; in getMediaControllerPlaybackState()
/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.java118 if (event == DockManager.STATE_NONE && !mBatteryController.isWirelessCharging()) {
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java121 mFakeDockManager.setDockEvent(DockManager.STATE_NONE); in undockEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingCollectorImplTest.java124 mDockManager.setDockEvent(DockManager.STATE_NONE); in testProximityWhenUndocked()

12