Searched refs:mState (Results 1 - 25 of 99) sorted by relevance

1234

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DAlphabetShiftState.java32 private int mState = UNSHIFTED; field in class:AlphabetShiftState
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
[all...]
H A DShiftKeyState.java31 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);
H A DModifierKeyState.java30 protected int mState = RELEASING; field in class:ModifierKeyState
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
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionState.java42 private int mState; field in class:TransactionState
45 mState = INITIALIZED;
56 return mState;
69 mState = state;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapLoader.java43 private int mState = STATE_INIT; field in class:BitmapLoader
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
[all...]
H A DPaper.java109 private int mState; field in class:EdgeAnimation
119 mState = STATE_IDLE;
128 mState = newState;
135 if (mState == STATE_ABSORB) return;
137 mState = STATE_PULL;
141 if (mState == STATE_IDLE || mState == STATE_ABSORB) return;
152 if (mState == STATE_IDLE) return false;
153 if (mState == STATE_PULL) return true;
157 float interp = (mState
[all...]
H A DEdgeEffect.java128 private int mState = STATE_IDLE; field in class:EdgeEffect
163 return mState == STATE_IDLE;
171 mState = STATE_IDLE;
186 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
189 if (mState != STATE_PULL) {
192 mState = STATE_PULL;
235 if (mState != STATE_PULL && mState != STATE_PULL_DECAY) {
239 mState = STATE_RECEDE;
265 mState
[all...]
/packages/apps/Gallery2/src/com/android/camera/
H A DFocusOverlayManager.java63 private int mState = STATE_IDLE; field in class:FocusOverlayManager
199 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) {
211 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
225 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS
226 || mState == STATE_FAIL) {
242 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
244 } else if (mState
[all...]
H A DEffectsRecorder.java176 private int mState = STATE_CONFIGURE; field in class:EffectsRecorder
318 switch (mState) {
333 switch (mState) {
345 switch (mState) {
359 switch (mState) {
379 switch (mState) {
396 switch (mState) {
410 switch (mState) {
428 switch (mState) {
443 switch (mState) {
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DMultiStateButton.java43 private int mState; field in class:MultiStateButton
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...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DMockKeyboardSwitcher.java59 private final KeyboardState mState = new KeyboardState(this); field in class:MockKeyboardSwitcher
124 mState.onUpdateShiftState(mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
161 mState.onLongPressTimeout(code);
166 mState.onUpdateShiftState(mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
170 mState.onLoadKeyboard();
174 mState.onSaveKeyboardState();
178 mState.onPressKey(code, isSinglePointer, mAutoCapsState);
182 mState.onReleaseKey(code, withSliding);
197 mState.onCodeInput(code, mAutoCapsState);
201 mState
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DFocusOverlayManager.java66 private int mState = STATE_IDLE; field in class:FocusOverlayManager
197 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) {
209 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
223 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS
224 || mState == STATE_FAIL) {
240 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
242 } else if (mState
[all...]
H A DEffectsRecorder.java175 private int mState = STATE_CONFIGURE; field in class:EffectsRecorder
317 switch (mState) {
332 switch (mState) {
344 switch (mState) {
358 switch (mState) {
378 switch (mState) {
395 switch (mState) {
409 switch (mState) {
427 switch (mState) {
442 switch (mState) {
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DFocusManager.java50 private int mState = STATE_IDLE; field in class:FocusManager
152 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
163 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS
164 || mState == STATE_FAIL) {
171 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) {
183 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
185 } else if (mState
[all...]
H A DEffectsRecorder.java117 private int mState = STATE_CONFIGURE; field in class:EffectsRecorder
145 switch (mState) {
160 switch (mState) {
172 switch (mState) {
186 switch (mState) {
206 switch (mState) {
222 switch (mState) {
235 switch (mState) {
252 switch (mState) {
265 switch (mState) {
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverClient.java43 int mState; field in class:HandoverClient
47 if (mState != DISCONNECTED) {
50 mState = CONNECTING;
58 mState = DISCONNECTED;
75 mState = DISCONNECTED;
81 mState = CONNECTED;
95 mState = DISCONNECTED;
103 if (mState != CONNECTED) {
H A DBluetoothHeadsetHandover.java89 int mState; field in class:BluetoothHeadsetHandover
110 mState = STATE_INIT;
114 return mState != STATE_INIT;
123 if (mState != STATE_INIT) return;
158 switch (mState) {
161 mState = STATE_WAITING_FOR_PROXIES;
169 mState = STATE_INIT_COMPLETE;
187 switch (mState) {
189 mState = STATE_DISCONNECTING;
235 switch (mState) {
[all...]
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushClient.java44 private int mState = DISCONNECTED; field in class:NdefPushClient
49 if (mState != DISCONNECTED) {
52 mState = CONNECTING;
61 mState = DISCONNECTED;
77 mState = DISCONNECTED;
84 mState = CONNECTED;
91 if (mState != CONNECTED) {
141 mState = DISCONNECTED;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java42 private int mState = STATE_INIT; field in class:JobLimiter.JobWrapper
54 if (mState != STATE_INIT) return;
62 if (mState != STATE_DONE) {
71 mState = STATE_CANCELLED;
80 return mState == STATE_CANCELLED;
86 return mState != STATE_INIT;
91 while (mState == STATE_INIT) {
107 if (mState == STATE_CANCELLED) return null;
118 if (mState == STATE_CANCELLED) return null;
119 mState
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DEditSlideDurationActivity.java50 private Bundle mState; field in class:EditSlideDurationActivity
71 mState = icicle.getBundle(STATE);
73 mCurSlide = mState.getInt(SLIDE_INDEX, 1);
74 mTotal = mState.getInt(SLIDE_TOTAL, 1);
75 dur = mState.getInt(SLIDE_DUR, 8);
100 mState = new Bundle();
101 mState.putInt(SLIDE_INDEX, mCurSlide);
102 mState.putInt(SLIDE_TOTAL, mTotal);
111 mState.putInt(SLIDE_DUR, durValue);
113 outState.putBundle(STATE, mState);
[all...]
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepClient.java39 private int mState = DISCONNECTED; field in class:SnepClient
97 if (mState != CONNECTED) {
116 if (mState != CONNECTED) {
134 if (mState != DISCONNECTED) {
137 mState = CONNECTING;
161 mState = DISCONNECTED;
172 mState = DISCONNECTED;
179 mState = CONNECTED;
192 mState = DISCONNECTED;
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DOverlayView.java50 private int mState; field in class:OverlayView
76 if (mState == STATE_OVERLAY) {
94 mState = STATE_STUB;
109 return mState;
116 mState = state;
118 switch (mState) {
155 if (mState == STATE_ADD_BUTTON) {
196 switch (mState) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTrimControllerOverlay.java43 if (mState == State.PLAYING) {
98 if (mState == State.PLAYING || mState == State.PAUSED) {
100 } else if (mState == State.ENDED) {
H A DCommonControllerOverlay.java65 protected State mState; field in class:CommonControllerOverlay
72 mState = State.LOADING;
148 mState = State.PLAYING;
154 mState = State.PAUSED;
160 mState = State.ENDED;
166 mState = State.LOADING;
172 mState = State.ERROR;
216 if (mState == State.ENDED) {
220 } else if (mState == State.PAUSED || mState
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java42 protected int mState; field in class:BasicTexture
60 mState = state;
154 return mState == STATE_LOADED;
178 mState = STATE_UNLOADED;
207 t.mState = STATE_UNLOADED;

Completed in 477 milliseconds

1234