/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
AlphabetShiftState.java | 32 private int mState = UNSHIFTED; 35 final int oldState = mState; 39 mState = MANUAL_SHIFTED; 42 mState = MANUAL_SHIFTED_FROM_AUTO; 45 mState = SHIFT_LOCK_SHIFTED; 53 mState = UNSHIFTED; 56 mState = SHIFT_LOCKED; 65 final int oldState = mState; 72 mState = SHIFT_LOCKED; 76 mState = UNSHIFTED [all...] |
ShiftKeyState.java | 31 int oldState = mState; 33 mState = CHORDING; 35 mState = IGNORING; 42 int oldState = mState; 43 mState = PRESSING_ON_SHIFTED; 49 return mState == PRESSING_ON_SHIFTED; 53 return mState == IGNORING; 58 return toString(mState);
|
ModifierKeyState.java | 30 protected int mState = RELEASING; 37 final int oldState = mState; 38 mState = PRESSING; 44 final int oldState = mState; 45 mState = RELEASING; 51 final int oldState = mState; 53 mState = CHORDING; 59 return mState == PRESSING; 63 return mState == RELEASING; 67 return mState == CHORDING [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
ColorDrawable.java | 39 private ColorState mState; 61 mState = new ColorState(state); 66 return super.getChangingConfigurations() | mState.mChangingConfigurations; 78 mState = new ColorState(mState); 86 if ((mState.mUseColor >>> 24) != 0) { 87 mPaint.setColor(mState.mUseColor); 98 return mState.mUseColor; 108 if (mState.mBaseColor != color || mState.mUseColor != color) [all...] |
RotateDrawable.java | 52 private RotateState mState; 70 mState = new RotateState(rotateState, this, res); 76 Rect bounds = mState.mDrawable.getBounds(); 81 final RotateState st = mState; 97 return mState.mDrawable; 103 | mState.mChangingConfigurations 104 | mState.mDrawable.getChangingConfigurations(); 108 mState.mDrawable.setAlpha(alpha); 113 return mState.mDrawable.getAlpha(); 117 mState.mDrawable.setColorFilter(cf) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionState.java | 42 private int mState; 45 mState = INITIALIZED; 56 return mState; 69 mState = state;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapLoader.java | 43 private int mState = STATE_INIT; 53 if (mState == STATE_RECYCLED) { 61 if (mState == STATE_REQUESTED) mTask = submitBitmapTask(this); 64 mState = mBitmap == null ? STATE_ERROR : STATE_LOADED; 71 if (mState == STATE_INIT) { 72 mState = STATE_REQUESTED; 78 if (mState == STATE_REQUESTED) { 79 mState = STATE_INIT; 86 mState = STATE_RECYCLED; 95 return mState == STATE_REQUESTED [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioLocal.cpp | 25 if (mState == EStNone) { 31 mState = EStCreated; 32 } else if (mState == EStRunning) { 44 if (mState != EStInitialized) { 70 if (mState == EStRunning) { 74 if (mState != EStNone) { // thread alive 79 mState = EStNone; 100 : mState(EStNone), 114 if (mState == EStRunning) { 122 mState = EStInitialized [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
Context.cpp | 53 mState.depthClearValue = 1.0f; 54 mState.stencilClearValue = 0; 56 mState.rasterizer.cullFace = false; 57 mState.rasterizer.cullMode = GL_BACK; 58 mState.rasterizer.frontFace = GL_CCW; 59 mState.rasterizer.polygonOffsetFill = false; 60 mState.rasterizer.polygonOffsetFactor = 0.0f; 61 mState.rasterizer.polygonOffsetUnits = 0.0f; 62 mState.rasterizer.pointDrawMode = false; 63 mState.rasterizer.multiSample = false [all...] |
/frameworks/base/libs/hwui/ |
Stencil.cpp | 35 Stencil::Stencil(): mState(kDisabled) { 60 if (mState != kTest) { 66 mState = kTest; 71 if (mState != kWrite) { 77 mState = kWrite; 86 mState = kTest; 90 if (mState != kWrite) { 96 mState = kWrite; 101 if (mState == kDisabled) { 107 if (mState != kDisabled) [all...] |
Stencil.h | 87 return mState != kDisabled; 94 return mState == kTest; 106 StencilState mState;
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
RootsCacheTest.java | 49 private State mState; 55 mState = new State(); 56 mState.action = State.ACTION_OPEN; 57 mState.showAdvanced = true; 58 mState.localOnly = false; 62 mState.acceptMimes = new String[] { "*/*" }; 65 RootsCache.getMatchingRoots(mRoots, mState)); 69 mState.acceptMimes = new String[] { "image/png", "*/*" }; 72 RootsCache.getMatchingRoots(mRoots, mState)); 76 mState.acceptMimes = new String[] { "audio/*" } [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
Visualizer.java | 159 private int mState = STATE_UNINITIALIZED; 161 * Lock to synchronize access to mState 208 mState = STATE_UNINITIALIZED; 223 mState = STATE_ENABLED; 225 mState = STATE_INITIALIZED; 237 mState = STATE_UNINITIALIZED; 256 if (mState == STATE_UNINITIALIZED) { 257 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState)); 260 if ((enabled && (mState == STATE_INITIALIZED)) || 261 (!enabled && (mState == STATE_ENABLED))) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
FocusOverlayManager.java | 64 private int mState = STATE_IDLE; 200 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) { 212 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { 226 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS 227 || mState == STATE_FAIL) { 243 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { 245 } else if (mState == STATE_FOCUSING) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
DoorAnimationComponent.java | 40 private int mState; 56 mState = STATE_CLOSED; 73 mState = STATE_OPEN; 79 if (mState == STATE_CLOSING) { 91 mState = STATE_OPENING; 112 mState = STATE_CLOSED; 118 if (mState == STATE_OPENING) { 122 mState = STATE_CLOSING; 145 && (mState == STATE_CLOSED || mState == STATE_CLOSING)) [all...] |
EnemyAnimationComponent.java | 45 private AnimationState mState; 56 mState = AnimationState.IDLING; 69 switch(mState) { 77 mState = AnimationState.ATTACKING; 79 mState = AnimationState.HIDING; 81 mState = AnimationState.MOVING; 98 mState = AnimationState.ATTACKING; 100 mState = AnimationState.HIDING; 102 mState = AnimationState.IDLING; 109 mState = AnimationState.IDLING [all...] |
SleeperComponent.java | 34 private int mState; 49 mState = STATE_SLEEPING; 63 mState = STATE_SLEEPING; 67 switch(mState) { 70 mState = STATE_WAKING; 78 mState = STATE_ATTACKING; 86 mState = STATE_SLAM; 93 mState = STATE_SLEEPING;
|
PopOutComponent.java | 35 private int mState; 56 mState = STATE_HIDDEN; 74 switch(mState) { 78 mState = STATE_VISIBLE; 85 mState = STATE_HIDDEN; 89 mState = STATE_ATTACKING; 95 mState = STATE_VISIBLE;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3IOStreamBase.cpp | 47 mState = STATE_ERROR; 69 lines.appendFormat(" State: %d\n", mState); 86 switch (mState) { 97 ALOGE("%s: Bad state: %d", __FUNCTION__, mState); 109 switch (mState) { 148 if (mDequeuedBufferCount == 0 && mState != STATE_IN_CONFIG && 149 mState != STATE_IN_RECONFIG) { 160 if (mState != STATE_CONFIGURED && 161 mState != STATE_IN_CONFIG && mState != STATE_IN_RECONFIG) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 43 private int mState; 65 mState = 0; 68 setButtonDrawable(mButtonResources[mState]); 79 mState = (mState + 1) % mMaxStates; 80 setButtonDrawable(mButtonResources[mState]); 94 if(mState >= mMaxStates) { 95 mState = mMaxStates - 1; 109 mState = state; 110 setButtonDrawable(mButtonResources[mState]); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
MediaPlayerWrapper.java | 51 private int mState = STATE_IDLE; 91 if (mState == STATE_READY || mState == STATE_PAUSED) { 93 mState = STATE_PLAYING; 94 } else if (mState == STATE_IDLE){ 95 mState = STATE_PLAY_PENDING; 101 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { 103 mState = STATE_IDLE; 109 if (mState == STATE_PLAYING) [all...] |
/frameworks/av/media/libstagefright/ |
MediaMuxer.cpp | 39 : mState(UNINITIALIZED) { 43 mState = INITIALIZED; 49 : mState(UNINITIALIZED) { 53 mState = INITIALIZED; 74 if (mState != INITIALIZED) { 92 if (mState != INITIALIZED) { 108 if (mState != INITIALIZED) { 118 if (mState == INITIALIZED) { 119 mState = STARTED; 123 ALOGE("start() is called in invalid state %d", mState); [all...] |
/frameworks/av/media/libstagefright/chromium_http/ |
ChromiumHTTPDataSource.cpp | 34 mState(DISCONNECTED), 80 if (mState != DISCONNECTED) { 98 mState = CONNECTING; 104 while (mState == CONNECTING || mState == DISCONNECTING) { 108 return mState == CONNECTED ? OK : mIOResult; 115 if (mState != CONNECTING) { 117 CHECK_EQ(mState, DISCONNECTING); 121 mState = CONNECTED; 129 mState = DISCONNECTED [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaCall.java | 92 return mState.toString(); 101 mState = stateFromDCState (dc.state); 108 mState = state; 116 if (mState != State.DISCONNECTED) { 131 mState = State.DISCONNECTED; 145 mState = State.IDLE; 156 if (newState != mState) { 157 mState = newState; 188 mState = State.DISCONNECTING; 204 mState = State.IDLE [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 95 return mState.toString(); 104 mState = stateFromDCState (dc.state); 111 mState = state; 119 if (mState != State.DISCONNECTED) { 134 mState = State.DISCONNECTED; 147 mState = State.IDLE; 158 if (newState != mState) { 159 mState = newState; 192 mState = State.DISCONNECTING; 209 mState = State.IDLE [all...] |