Searched refs:mCurrentState (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp38 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
39 ALOGE("setCamera called in an invalid state(%d)", mCurrentState);
46 mCurrentState = MEDIA_RECORDER_ERROR;
59 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) {
60 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState);
71 mCurrentState = MEDIA_RECORDER_ERROR;
84 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
85 ALOGE("init called in an invalid state(%d)", mCurrentState);
92 mCurrentState = MEDIA_RECORDER_ERROR;
99 mCurrentState
[all...]
H A Dmediaplayer.cpp53 mCurrentState = MEDIA_PLAYER_IDLE;
114 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) ||
115 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) {
116 ALOGE("attachNewPlayer called in state %d", mCurrentState);
124 mCurrentState = MEDIA_PLAYER_INITIALIZED;
193 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) &&
194 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE);
199 ALOGE("invoke failed: wrong state %X", mCurrentState);
235 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) {
237 mCurrentState
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp96 mCurrentState.active.w = w;
97 mCurrentState.active.h = h;
98 mCurrentState.active.crop.makeInvalid();
99 mCurrentState.z = 0;
100 mCurrentState.alpha = 0xFF;
101 mCurrentState.layerStack = 0;
102 mCurrentState.flags = layerFlags;
103 mCurrentState.sequence = 0;
104 mCurrentState.transform.set(0, 0);
105 mCurrentState
[all...]
H A DLayer.h278 inline const State& getCurrentState() const { return mCurrentState; }
279 inline State& getCurrentState() { return mCurrentState; }
341 State mCurrentState; member in class:android::Layer
H A DSurfaceFlinger.cpp222 flinger->mCurrentState.displays.removeItem(this);
237 mCurrentState.displays.add(token, info);
245 ssize_t idx = mCurrentState.displays.indexOfKey(display);
251 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx));
257 mCurrentState.displays.removeItemsAt(idx);
268 mCurrentState.displays.add(mBuiltinDisplays[type], info);
621 mDrawingState = mCurrentState;
852 mCurrentState.displays.removeItem(mBuiltinDisplays[type]);
1196 // with mStateLock held to guarantee that mCurrentState won't change
1210 const LayerVector& currentLayers(mCurrentState
[all...]
H A DSurfaceFlinger.h411 State mCurrentState; member in class:android::SurfaceFlinger
/frameworks/rs/driver/
H A DrsdShader.cpp70 mCurrentState = NULL;
105 mCurrentState = state;
106 return mCurrentState->mShaderID;
110 mCurrentState = state;
114 return mCurrentState->mShaderID;
202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES;
205 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D;
209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP;
231 mCurrentState->mShaderID = glCreateShader(mType);
232 rsAssert(mCurrentState
[all...]
H A DrsdShader.h112 StateBasedKey *mCurrentState; member in class:RsdShader
/frameworks/base/core/java/android/widget/
H A DVideoView.java87 // mCurrentState is a VideoView object's current state.
92 private int mCurrentState = STATE_IDLE; field in class:VideoView
224 mCurrentState = STATE_IDLE;
290 mCurrentState = STATE_IDLE;
348 mCurrentState = STATE_PREPARING;
352 mCurrentState = STATE_ERROR;
358 mCurrentState = STATE_ERROR;
399 mCurrentState = STATE_PREPARED;
462 mCurrentState = STATE_PLAYBACK_COMPLETED;
487 mCurrentState
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java120 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer
262 switch (mCurrentState) {
298 mCurrentState = STATE_TOUCH_EXPLORING;
316 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState));
321 switch(mCurrentState) {
335 throw new IllegalStateException("Illegal state: " + mCurrentState);
490 mCurrentState = STATE_GESTURE_DETECTING;
573 mCurrentState = STATE_DRAGGING;
580 mCurrentState = STATE_DELEGATING;
602 mCurrentState
[all...]
H A DScreenMagnifier.java152 private int mCurrentState; field in class:ScreenMagnifier
334 switch (mCurrentState) {
350 throw new IllegalStateException("Unknown state: " + mCurrentState);
369 mCurrentState = STATE_DETECTING;
470 Slog.i(LOG_TAG, "mCurrentState: STATE_DELEGATING");
473 Slog.i(LOG_TAG, "mCurrentState: STATE_DETECTING");
476 Slog.i(LOG_TAG, "mCurrentState: STATE_VIEWPORT_DRAGGING");
479 Slog.i(LOG_TAG, "mCurrentState: STATE_MAGNIFIED_INTERACTION");
486 mPreviousState = mCurrentState;
487 mCurrentState
[all...]
/frameworks/av/include/media/
H A Dmediarecorder.h246 media_recorder_states mCurrentState; member in class:android::MediaRecorder
H A Dmediaplayer.h264 media_player_states mCurrentState; member in class:android::MediaPlayer
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1907 BackupState mCurrentState; field in class:BackupManagerService.PerformBackupTask
1928 mCurrentState = BackupState.INITIAL;
1938 switch (mCurrentState) {
2415 mCurrentState = nextState;
4391 private RestoreState mCurrentState; field in class:BackupManagerService.PerformRestoreTask
4416 mCurrentState = RestoreState.INITIAL;
4442 if (MORE_DEBUG) Slog.v(TAG, "*** Executing restore step: " + mCurrentState);
4443 switch (mCurrentState) {
4943 mCurrentState = nextState;

Completed in 371 milliseconds