/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 38 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 D | mediaplayer.cpp | 54 mCurrentState = MEDIA_PLAYER_IDLE; 116 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) || 117 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) { 118 ALOGE("attachNewPlayer called in state %d", mCurrentState); 126 mCurrentState = MEDIA_PLAYER_INITIALIZED; 195 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) && 196 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE); 201 ALOGE("invoke failed: wrong state %X", mCurrentState); 237 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) { 239 mCurrentState [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoView.java | 65 protected static int mCurrentState = -1; field in class:HTML5VideoView 83 if (mCurrentState == STATE_PREPARED) { 100 } else if (mCurrentState == STATE_PREPARING) { 112 if (mCurrentState == STATE_PREPARED) { 120 if (mCurrentState == STATE_PREPARED) { 127 if (mCurrentState == STATE_PREPARED) 134 if (mCurrentState == STATE_PREPARED) { 142 if (mCurrentState < STATE_RESETTED) { 145 mCurrentState = STATE_RESETTED; 149 if (mCurrentState [all...] |
H A D | HTML5VideoFullScreen.java | 101 && mCurrentState == STATE_PREPARED) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerBase.cpp | 75 mCurrentState.active.w = w; 76 mCurrentState.active.h = h; 77 mCurrentState.active.crop.makeInvalid(); 78 mCurrentState.z = 0; 79 mCurrentState.alpha = 0xFF; 80 mCurrentState.layerStack = 0; 81 mCurrentState.flags = layerFlags; 82 mCurrentState.sequence = 0; 83 mCurrentState.transform.set(0, 0); 84 mCurrentState [all...] |
H A D | LayerBase.h | 265 inline const State& currentState() const { return mCurrentState; } 266 inline State& currentState() { return mCurrentState; } 290 State mCurrentState; member in class:android::LayerBase
|
H A D | SurfaceFlinger.cpp | 174 flinger->mCurrentState.displays.removeItem(this); 189 mCurrentState.displays.add(token, info); 492 mCurrentState.displays.add(token, DisplayDeviceState(type)); 525 mDrawingState = mCurrentState; 568 const LayerVector& currentLayers = mCurrentState.layersSortedByZ; 749 mCurrentState.displays.removeItem(mDefaultDisplays[type]); 752 mCurrentState.displays.add(mDefaultDisplays[type], info); 1048 // with mStateLock held to guarantee that mCurrentState won't change 1062 const LayerVector& currentLayers(mCurrentState.layersSortedByZ); 1090 const KeyedVector< wp<IBinder>, DisplayDeviceState>& curr(mCurrentState [all...] |
H A D | SurfaceFlinger.h | 401 State mCurrentState; member in class:android::SurfaceFlinger
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 68 // mCurrentState is a VideoView object's current state. 73 private int mCurrentState = STATE_IDLE; field in class:VideoView 180 mCurrentState = STATE_IDLE; 209 mCurrentState = STATE_IDLE; 245 mCurrentState = STATE_PREPARING; 249 mCurrentState = STATE_ERROR; 255 mCurrentState = STATE_ERROR; 294 mCurrentState = STATE_PREPARED; 357 mCurrentState = STATE_PLAYBACK_COMPLETED; 372 mCurrentState [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 70 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 D | rsdShader.h | 112 StateBasedKey *mCurrentState; member in class:RsdShader
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | LayoutTestsExecutor.java | 103 private CurrentState mCurrentState = CurrentState.IDLE; field in class:LayoutTestsExecutor 163 if (mCurrentState == CurrentState.RENDERING_PAGE) { 432 assert mCurrentState == CurrentState.IDLE : "mCurrentState = " + mCurrentState.name(); 449 mCurrentState = CurrentState.RENDERING_PAGE; 455 assert mCurrentState.isRunningState() : "mCurrentState = " + mCurrentState.name(); 470 assert mCurrentState [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 124 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer 266 switch (mCurrentState) { 302 mCurrentState = STATE_TOUCH_EXPLORING; 320 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState)); 325 switch(mCurrentState) { 339 throw new IllegalStateException("Illegal state: " + mCurrentState); 501 mCurrentState = STATE_GESTURE_DETECTING; 585 mCurrentState = STATE_DRAGGING; 592 mCurrentState = STATE_DELEGATING; 614 mCurrentState [all...] |
H A D | ScreenMagnifier.java | 172 private int mCurrentState; field in class:ScreenMagnifier 214 switch (mCurrentState) { 230 throw new IllegalStateException("Unknown state: " + mCurrentState); 249 mCurrentState = STATE_DETECTING; 350 Slog.i(LOG_TAG, "mCurrentState: STATE_DELEGATING"); 353 Slog.i(LOG_TAG, "mCurrentState: STATE_DETECTING"); 356 Slog.i(LOG_TAG, "mCurrentState: STATE_VIEWPORT_DRAGGING"); 359 Slog.i(LOG_TAG, "mCurrentState: STATE_MAGNIFIED_INTERACTION"); 366 mPreviousState = mCurrentState; 367 mCurrentState [all...] |
/frameworks/av/include/media/ |
H A D | mediaplayer.h | 251 media_player_states mCurrentState; member in class:android::MediaPlayer
|
H A D | mediarecorder.h | 245 media_recorder_states mCurrentState; member in class:android::MediaRecorder
|
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 1807 BackupState mCurrentState; field in class:BackupManagerService.PerformBackupTask 1832 mCurrentState = BackupState.INITIAL; 1842 switch (mCurrentState) { 2302 mCurrentState = nextState; 4147 private RestoreState mCurrentState; field in class:BackupManagerService.PerformRestoreTask 4172 mCurrentState = RestoreState.INITIAL; 4202 if (MORE_DEBUG) Slog.v(TAG, "*** Executing restore step: " + mCurrentState); 4203 switch (mCurrentState) { 4699 mCurrentState = nextState;
|