/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 49 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/ |
D | EdgeEffect.java | 92 private static final int STATE_IDLE = 0; field in EdgeEffect 102 private int mState = STATE_IDLE; 158 return mState == STATE_IDLE; in isFinished() 166 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()
|
D | VideoView.java | 87 private static final int STATE_IDLE = 0; field in VideoView 105 private int mCurrentState = STATE_IDLE; 106 private int mTargetState = STATE_IDLE; 165 mCurrentState = STATE_IDLE; in VideoView() 166 mTargetState = STATE_IDLE; in VideoView() 354 mCurrentState = STATE_IDLE; in stopPlayback() 355 mTargetState = STATE_IDLE; in stopPlayback() 699 mCurrentState = STATE_IDLE; in release() 701 mTargetState = STATE_IDLE; in release() 848 mCurrentState != STATE_IDLE && in isInPlaybackState()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | DrawerLayoutActions.java | 38 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/ |
D | NuPlayerDriver.cpp | 60 : mState(STATE_IDLE), in NuPlayerDriver() 123 if (mState != STATE_IDLE) { in setDataSource() 142 if (mState != STATE_IDLE) { in setDataSource() 161 if (mState != STATE_IDLE) { in setDataSource() 180 if (mState != STATE_IDLE) { in setDataSource() 228 if (mState == STATE_IDLE) { in getDefaultBufferingSettings() 240 if (mState == STATE_IDLE) { in setBufferingSettings() 619 case STATE_IDLE: in reset() 779 mState = STATE_IDLE; in notifyResetComplete() 975 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE; in notifySetDataSourceCompleted() [all …]
|
D | NuPlayerDriver.h | 99 STATE_IDLE, enumerator
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | Player.java | 40 protected static final int STATE_IDLE = 0; field in Player 149 case STATE_IDLE: in publishState() 156 if (state != STATE_IDLE) { in publishState()
|
D | LocalPlayer.java | 62 private int mState = STATE_IDLE; 142 } else if (mState == STATE_IDLE || mState == STATE_PREPARING_FOR_PLAY in seek() 186 } else if (mState == STATE_IDLE || mState == STATE_PREPARING_FOR_PAUSE) { in resume() 198 mState = STATE_IDLE; in stop() 221 if (mState == STATE_IDLE) { in onPrepared() 357 mState = STATE_IDLE; in reset() 362 if (mState != STATE_IDLE && mState != STATE_PREPARING_FOR_PLAY in updateVideoRect()
|
D | RemotePlayer.java | 258 publishState(STATE_IDLE); in stop()
|
D | SampleMediaRouterActivity.java | 577 int currentItemState = Player.STATE_IDLE; in updateUi()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | MainInteractionSession.java | 62 static final int STATE_IDLE = 0; field in MainInteractionSession 71 int mState = STATE_IDLE; 94 mState = STATE_IDLE; in onShow() 226 if (mState == STATE_IDLE) { in updateState() 239 mStartButton.setEnabled(mState == STATE_IDLE); in updateState() 328 if (mState != STATE_IDLE) { in onComputeInsets()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 49 public static final int STATE_IDLE = 0; field in ViewDragHelper 337 setDragState(STATE_IDLE); 523 setDragState(STATE_IDLE); in abort() 545 if (!continueSliding && mDragState == STATE_IDLE && mCapturedView != null) { in smoothSlideViewTo() 594 setDragState(STATE_IDLE); in forceSettleCapturedViewAt() 753 setDragState(STATE_IDLE); in continueSettling() 774 setDragState(STATE_IDLE); in dispatchViewReleased() 881 if (mDragState == STATE_IDLE) { in setDragState() 995 if (mDragState == STATE_IDLE) { in shouldInterceptTouchEvent() 1129 if (mDragState == STATE_IDLE) { in processTouchEvent()
|
D | DrawerLayout.java | 97 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING}) 104 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in DrawerLayout 810 state = STATE_IDLE; in updateDrawerState() 813 if (activeDrawer != null && activeState == STATE_IDLE) { in updateDrawerState() 1624 updateDrawerState(lp.gravity, STATE_IDLE, drawerView); in openDrawer() 1691 updateDrawerState(lp.gravity, STATE_IDLE, drawerView); in closeDrawer()
|
D | SlidingPaneLayout.java | 654 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure() 1325 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | SwipeDismissBehavior.java | 43 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in SwipeDismissBehavior 402 return mViewDragHelper != null ? mViewDragHelper.getViewDragState() : STATE_IDLE; in getDragState()
|
D | BaseTransientBottomBar.java | 431 case SwipeDismissBehavior.STATE_IDLE: in showView()
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
D | WearableDrawerView.java | 95 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE; field in WearableDrawerView 113 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
|
D | WearableDrawerLayout.java | 19 import static android.support.wear.widget.drawer.WearableDrawerView.STATE_IDLE; 987 case ViewDragHelper.STATE_IDLE: in onViewDragStateChanged() 1188 && drawer.getDrawerState() == STATE_IDLE) { in run()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | InProgressCallSession.java | 125 return (mLastKnownPhoneState == TelephonyCallSession.Event.PhoneState.STATE_IDLE); in isPhoneIdle()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | DrawerLayoutTest.java | 325 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnOpeningViaAPI() 394 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnClosingViaAPI() 473 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnOpeningViaSwipes() 521 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnClosingViaSwipes()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 647 model->mState = Model::STATE_IDLE; in unloadSoundModel_l() 722 model->mState = Model::STATE_IDLE; in stopRecognition() 758 model->mState = Model::STATE_IDLE; in onCallbackEvent() 910 mHandle(handle), mState(STATE_IDLE), mCaptureSession(session), in Model()
|
D | SoundTriggerHwService.h | 68 STATE_IDLE, enumerator
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 151 return STATE_IDLE;
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 159 private static final int STATE_IDLE = 5; field in DeviceIdleController 169 case STATE_IDLE: return "IDLE"; in stateToString() 2110 mState = STATE_IDLE; in stepIdleStateLocked() 2120 case STATE_IDLE: in stepIdleStateLocked() 2670 while (curState != STATE_IDLE) { in onShellCommand()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 303 private static final int STATE_IDLE = 2; field in GnssLocationProvider 2142 mInjectNtpTimePending = STATE_IDLE; 2145 mDownloadXtraDataPending = STATE_IDLE;
|