Home
last modified time | relevance | path

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

12

/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/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()
340 mState = STATE_IDLE; in draw()
344 return mState != STATE_IDLE || oneLastFrame; in draw()
396 mState = STATE_IDLE; in update()
DVideoView.java79 private static final int STATE_IDLE = 0; field in VideoView
91 private int mCurrentState = STATE_IDLE;
92 private int mTargetState = STATE_IDLE;
220 mCurrentState = STATE_IDLE; in initVideoView()
221 mTargetState = STATE_IDLE; in initVideoView()
303 mCurrentState = STATE_IDLE; in stopPlayback()
304 mTargetState = STATE_IDLE; in stopPlayback()
643 mCurrentState = STATE_IDLE; in release()
645 mTargetState = STATE_IDLE; in release()
789 mCurrentState != STATE_IDLE && in isInPlaybackState()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp37 : mState(STATE_IDLE), in NuPlayerDriver()
86 if (mState != STATE_IDLE) { in setDataSource()
105 if (mState != STATE_IDLE) { in setDataSource()
124 if (mState != STATE_IDLE) { in setDataSource()
143 if (mState != STATE_IDLE) { in setDataSource()
465 case STATE_IDLE: in reset()
618 mState = STATE_IDLE; in notifyResetComplete()
781 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE; in notifySetDataSourceCompleted()
792 CHECK(mState == STATE_RESET_IN_PROGRESS || mState == STATE_IDLE); in notifyPrepareCompleted()
DNuPlayerDriver.h87 STATE_IDLE, enumerator
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java62 static final int STATE_IDLE = 0; field in MainInteractionSession
71 int mState = STATE_IDLE;
92 mState = STATE_IDLE; in onShow()
209 if (mState == STATE_IDLE) { in updateState()
222 mStartButton.setEnabled(mState == STATE_IDLE); in updateState()
311 if (mState != STATE_IDLE) { in onComputeInsets()
/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()
1122 if (mDragState == STATE_IDLE) { in processTouchEvent()
DDrawerLayout.java93 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
100 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in DrawerLayout
692 state = STATE_IDLE; in updateDrawerState()
695 if (activeDrawer != null && activeState == STATE_IDLE) { in updateDrawerState()
DSlidingPaneLayout.java649 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
1312 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java39 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in SwipeDismissBehavior
369 return mViewDragHelper != null ? mViewDragHelper.getViewDragState() : STATE_IDLE; in getDragState()
DSnackbar.java447 case SwipeDismissBehavior.STATE_IDLE: in showView()
586 != SwipeDismissBehavior.STATE_IDLE; in isBeingDragged()
/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()
827 mHandle(handle), mState(STATE_IDLE), mCaptureSession(session), in Model()
DSoundTriggerHwService.h67 STATE_IDLE, enumerator
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java146 private static final int STATE_IDLE = 5; field in DeviceIdleController
156 case STATE_IDLE: return "IDLE"; in stateToString()
1205 mState == STATE_IDLE ? 1 : 0, activeReason); in scheduleReportActiveLocked()
1317 mState = STATE_IDLE; in stepIdleStateLocked()
1321 case STATE_IDLE: in stepIdleStateLocked()
1711 while (curState != STATE_IDLE) { in dump()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c151 return STATE_IDLE;
/frameworks/base/services/core/java/com/android/server/location/
DGpsLocationProvider.java304 private static final int STATE_IDLE = 2; field in GpsLocationProvider
1982 mInjectNtpTimePending = STATE_IDLE; in handleMessage()
1985 mDownloadXtraDataPending = STATE_IDLE; in handleMessage()
/frameworks/support/design/api/
D22.2.1.txt246 field public static final int STATE_IDLE = 0; // 0x0
D22.2.0.txt238 field public static final int STATE_IDLE = 0; // 0x0
Dcurrent.txt272 field public static final int STATE_IDLE = 0; // 0x0
D23.txt272 field public static final int STATE_IDLE = 0; // 0x0
/frameworks/support/v4/api/
D22.0.0.txt2545 field public static final int STATE_IDLE = 0; // 0x0
2827 field public static final int STATE_IDLE = 0; // 0x0
D22.1.0.txt2778 field public static final int STATE_IDLE = 0; // 0x0
3093 field public static final int STATE_IDLE = 0; // 0x0
D22.2.1.txt2854 field public static final int STATE_IDLE = 0; // 0x0
3169 field public static final int STATE_IDLE = 0; // 0x0
D22.2.0.txt2853 field public static final int STATE_IDLE = 0; // 0x0
3168 field public static final int STATE_IDLE = 0; // 0x0
D23.txt3137 field public static final int STATE_IDLE = 0; // 0x0
3458 field public static final int STATE_IDLE = 0; // 0x0

12