Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java49 private static final int STATE_IDLE = 3; field in CameraDeviceState
124 doStateTransition(STATE_IDLE); in setIdle()
223 if(newState != STATE_ERROR && newState != STATE_IDLE) { in doStateTransition()
249 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { in doStateTransition()
266 case STATE_IDLE: in doStateTransition()
267 if (mCurrentState == STATE_IDLE) { in doStateTransition()
278 if (mCurrentState != STATE_IDLE && mCurrentHandler != null && in doStateTransition()
287 mCurrentState = STATE_IDLE; in doStateTransition()
290 if (mCurrentState != STATE_IDLE && mCurrentState != STATE_CAPTURING) { in doStateTransition()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java40 static final int STATE_IDLE = 0; field in MainInteractionSession
47 int mState = STATE_IDLE;
78 mStartButton.setEnabled(mState == STATE_IDLE); in updateState()
96 mState = STATE_IDLE; in onClick()
101 mState = STATE_IDLE; in onClick()
106 mState = STATE_IDLE; in onClick()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java93 private static final int STATE_IDLE = 0; field in EdgeEffect
103 private int mState = STATE_IDLE;
159 return mState == STATE_IDLE; in isFinished()
167 mState = STATE_IDLE; in finish()
339 mState = STATE_IDLE; in draw()
343 return mState != STATE_IDLE || oneLastFrame; in draw()
395 mState = STATE_IDLE; in update()
DVideoView.java81 private static final int STATE_IDLE = 0; field in VideoView
93 private int mCurrentState = STATE_IDLE;
94 private int mTargetState = STATE_IDLE;
229 mCurrentState = STATE_IDLE; in initVideoView()
230 mTargetState = STATE_IDLE; in initVideoView()
312 mCurrentState = STATE_IDLE; in stopPlayback()
313 mTargetState = STATE_IDLE; in stopPlayback()
649 mCurrentState = STATE_IDLE; in release()
651 mTargetState = STATE_IDLE; in release()
793 mCurrentState != STATE_IDLE && in isInPlaybackState()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp36 : mState(STATE_IDLE), in NuPlayerDriver()
85 if (mState != STATE_IDLE) { in setDataSource()
104 if (mState != STATE_IDLE) { in setDataSource()
123 if (mState != STATE_IDLE) { in setDataSource()
424 case STATE_IDLE: in reset()
570 mState = STATE_IDLE; in notifyResetComplete()
695 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE; in notifySetDataSourceCompleted()
706 CHECK(mState == STATE_RESET_IN_PROGRESS || mState == STATE_IDLE); in notifyPrepareCompleted()
DNuPlayerDriver.h81 STATE_IDLE, enumerator
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java49 public static final int STATE_IDLE = 0; field in ViewDragHelper
335 setDragState(STATE_IDLE);
521 setDragState(STATE_IDLE); in abort()
543 if (!continueSliding && mDragState == STATE_IDLE && mCapturedView != null) { in smoothSlideViewTo()
592 setDragState(STATE_IDLE); in forceSettleCapturedViewAt()
751 setDragState(STATE_IDLE); in continueSettling()
772 setDragState(STATE_IDLE); in dispatchViewReleased()
875 if (mDragState == STATE_IDLE) { in setDragState()
990 if (mDragState == STATE_IDLE) { in shouldInterceptTouchEvent()
1120 if (mDragState == STATE_IDLE) { in processTouchEvent()
DDrawerLayout.java89 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
96 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in DrawerLayout
620 state = STATE_IDLE; in updateDrawerState()
623 if (activeDrawer != null && activeState == STATE_IDLE) { in updateDrawerState()
DSlidingPaneLayout.java646 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
1309 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java72 private static final int STATE_IDLE = 0; field in FingerprintService
188 clientData.state = STATE_IDLE; // Nothing left to do in handleNotify()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp592 model->mState = Model::STATE_IDLE; in unloadSoundModel_l()
663 model->mState = Model::STATE_IDLE; in stopRecognition()
700 model->mState = Model::STATE_IDLE; in onCallbackEvent()
826 mHandle(handle), mState(STATE_IDLE), mCaptureSession(session), in Model()
DSoundTriggerHwService.h67 STATE_IDLE, enumerator
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java59 private static final int STATE_IDLE = 0; field in GlowPadView
170 switchToState(STATE_IDLE, mWaveCenterX, mWaveCenterY);
178 switchToState(STATE_IDLE, mWaveCenterX, mWaveCenterY);
367 case STATE_IDLE: in switchToState()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c151 return STATE_IDLE;
/frameworks/base/services/core/java/com/android/server/location/
DGpsLocationProvider.java298 private static final int STATE_IDLE = 2; field in GpsLocationProvider
2007 mInjectNtpTimePending = STATE_IDLE; in handleMessage()
2010 mDownloadXtraDataPending = STATE_IDLE; in handleMessage()