Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java49 private static final int STATE_IDLE = 3; field in CameraDeviceState
125 doStateTransition(STATE_IDLE); in setIdle()
246 if(newState != STATE_ERROR && newState != STATE_IDLE) { in doStateTransition()
272 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { in doStateTransition()
289 case STATE_IDLE: in doStateTransition()
290 if (mCurrentState == STATE_IDLE) { in doStateTransition()
301 if (mCurrentState != STATE_IDLE && mCurrentHandler != null && in doStateTransition()
310 mCurrentState = STATE_IDLE; in doStateTransition()
313 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.java80 private static final int STATE_IDLE = 0; field in VideoView
92 private int mCurrentState = STATE_IDLE;
93 private int mTargetState = STATE_IDLE;
221 mCurrentState = STATE_IDLE; in initVideoView()
222 mTargetState = STATE_IDLE; in initVideoView()
304 mCurrentState = STATE_IDLE; in stopPlayback()
305 mTargetState = STATE_IDLE; in stopPlayback()
645 mCurrentState = STATE_IDLE; in release()
647 mTargetState = STATE_IDLE; in release()
791 mCurrentState != STATE_IDLE && in isInPlaybackState()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DDrawerLayoutActions.java38 private int mCurrState = DrawerLayout.STATE_IDLE;
59 return mCurrState == DrawerLayout.STATE_IDLE; in isIdleNow()
65 if (mCurrState == DrawerLayout.STATE_IDLE) { in onDrawerClosed()
74 if (mCurrState == DrawerLayout.STATE_IDLE) { in onDrawerOpened()
88 if (state == DrawerLayout.STATE_IDLE) { in onDrawerStateChanged()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp37 : 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()
142 if (mState != STATE_IDLE) { in setDataSource()
456 case STATE_IDLE: in reset()
608 mState = STATE_IDLE; in notifyResetComplete()
772 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE; in notifySetDataSourceCompleted()
783 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;
94 mState = STATE_IDLE; in onShow()
223 if (mState == STATE_IDLE) { in updateState()
236 mStartButton.setEnabled(mState == STATE_IDLE); in updateState()
325 if (mState != STATE_IDLE) { in onComputeInsets()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java50 public static final int STATE_IDLE = 0; field in ViewDragHelper
336 setDragState(STATE_IDLE);
522 setDragState(STATE_IDLE); in abort()
544 if (!continueSliding && mDragState == STATE_IDLE && mCapturedView != null) { in smoothSlideViewTo()
593 setDragState(STATE_IDLE); in forceSettleCapturedViewAt()
752 setDragState(STATE_IDLE); in continueSettling()
773 setDragState(STATE_IDLE); in dispatchViewReleased()
880 if (mDragState == STATE_IDLE) { in setDragState()
995 if (mDragState == STATE_IDLE) { in shouldInterceptTouchEvent()
1131 if (mDragState == STATE_IDLE) { in processTouchEvent()
DDrawerLayout.java100 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
107 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in DrawerLayout
807 state = STATE_IDLE; in updateDrawerState()
810 if (activeDrawer != null && activeState == STATE_IDLE) { in updateDrawerState()
1621 updateDrawerState(lp.gravity, STATE_IDLE, drawerView); in openDrawer()
1688 updateDrawerState(lp.gravity, STATE_IDLE, drawerView); in closeDrawer()
DSlidingPaneLayout.java652 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
1323 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java41 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in SwipeDismissBehavior
400 return mViewDragHelper != null ? mViewDragHelper.getViewDragState() : STATE_IDLE; in getDragState()
DSnackbar.java467 case SwipeDismissBehavior.STATE_IDLE: in showView()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java273 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnOpeningViaAPI()
342 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnClosingViaAPI()
419 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnOpeningViaSwipes()
467 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnClosingViaSwipes()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp596 model->mState = Model::STATE_IDLE; in unloadSoundModel_l()
667 model->mState = Model::STATE_IDLE; in stopRecognition()
704 model->mState = Model::STATE_IDLE; in onCallbackEvent()
860 mHandle(handle), mState(STATE_IDLE), mCaptureSession(session), in Model()
DSoundTriggerHwService.h67 STATE_IDLE, enumerator
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c151 return STATE_IDLE;
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java156 private static final int STATE_IDLE = 5; field in DeviceIdleController
166 case STATE_IDLE: return "IDLE"; in stateToString()
2020 mState = STATE_IDLE; in stepIdleStateLocked()
2029 case STATE_IDLE: in stepIdleStateLocked()
2557 while (curState != STATE_IDLE) { in onShellCommand()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java306 private static final int STATE_IDLE = 2; field in GnssLocationProvider
2089 mInjectNtpTimePending = STATE_IDLE;
2092 mDownloadXtraDataPending = STATE_IDLE;
/frameworks/support/design/api/
D22.2.0.txt238 field public static final int STATE_IDLE = 0; // 0x0
D22.2.1.txt246 field public static final int STATE_IDLE = 0; // 0x0
D23.0.0.txt272 field public static final int STATE_IDLE = 0; // 0x0
D23.1.1.txt305 field public static final int STATE_IDLE = 0; // 0x0
D23.1.0.txt302 field public static final int STATE_IDLE = 0; // 0x0
Dcurrent.txt375 field public static final int STATE_IDLE = 0; // 0x0
/frameworks/support/v4/api/
D22.1.0.txt2778 field public static final int STATE_IDLE = 0; // 0x0
3093 field public static final int STATE_IDLE = 0; // 0x0

12