HomeSort by relevance Sort by last modified time
    Searched refs:mState (Results 1 - 25 of 933) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/packages/DocumentsUI/tests/src/com/android/documentsui/
StateTest.java 30 private State mState;
41 mState = new State();
45 assertFalse(mState.hasLocationChanged());
49 mState.pushDocument(DIR_1);
50 mState.pushDocument(DIR_2);
51 assertTrue(mState.hasLocationChanged());
55 mState.pushDocument(DIR_1);
56 mState.pushDocument(DIR_2);
57 assertEquals(DIR_2, mState.stack.getFirst());
61 mState.pushDocument(DIR_1)
    [all...]
RootsCacheTest.java 47 private State mState;
56 mState = new State();
57 mState.action = State.ACTION_OPEN;
58 mState.showAdvanced = true;
59 mState.localOnly = false;
63 mState.acceptMimes = new String[] { "*/*" };
66 getMatchingRoots(mRoots, mState));
74 mState.acceptMimes = new String[] { "*/*" };
75 mState.directoryCopy = true;
80 getMatchingRoots(mRoots, mState));
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
RankingReconsideration.java 33 private int mState;
44 mState = START;
52 if (mState == START) {
53 mState = RUNNING;
57 mState = DONE;
69 if (mState == START) { // can't cancel if running or done
70 mState = CANCELLED;
77 return mState == CANCELLED;
81 return mState == DONE;
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
Win32Mouse.cpp 48 mState.clear();
92 mState.X.rel = mState.Y.rel = mState.Z.rel = 0;
144 mState.X.rel += diBuff[i].dwData;
148 mState.Y.rel += diBuff[i].dwData;
152 mState.Z.rel += diBuff[i].dwData;
167 mState.X.abs = point.x;
168 mState.Y.abs = point.y;
172 mState.X.abs += mState.X.rel
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
StreamRetentionFragment.java 24 CardStreamState mState;
33 mState = state;
37 return mState;
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
StreamRetentionFragment.java 24 CardStreamState mState;
33 mState = state;
37 return mState;
  /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...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
StateMachineImpl.java 32 private State mState;
34 /** The lock to protect mState. */
43 mState = new StateUninitialized(this);
54 if (newState.equals(mState)) {
59 Log.d(TAG, "Change state : " + mState + " => " + newState);
60 mState.onLeave();
61 mState = newState;
62 Optional<State> nextState = mState.onEnter();
64 Log.d(TAG, "Forward state : " + mState + " => " + nextState.get());
65 mState.onLeave()
    [all...]
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
SDLMouse.cpp 42 mState.clear();
66 mState.relX = mState.relY = mState.relZ = 0;
84 mState.buttons |= (1 << ButtonMask[sdlButton]);
86 if( listener->mousePressed(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false )
93 mState.relZ += 120;
95 mState.relZ -= 120;
104 mState.buttons &= ~(1 << ButtonMask[sdlButton]);
106 if( listener->mouseReleased(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false
    [all...]
  /frameworks/base/libs/hwui/renderstate/
Stencil.h 82 return mState != StencilState::Disabled;
89 return mState == StencilState::Test;
93 return mState == StencilState::Write;
106 StencilState mState = StencilState::Disabled;
Stencil.cpp 63 if (mState == StencilState::Test) {
70 if (mState != StencilState::Test) {
81 mState = StencilState::Test;
86 if (mState != StencilState::Write) {
99 mState = StencilState::Write;
108 mState = StencilState::Test;
118 mState = StencilState::Write;
123 if (mState == StencilState::Disabled) {
129 if (mState != StencilState::Disabled) {
131 mState = StencilState::Disabled
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
Stopwatch.java 36 private final State mState;
45 mState = state;
50 public State getState() { return mState; }
52 public boolean isReset() { return mState == RESET; }
53 public boolean isPaused() { return mState == PAUSED; }
54 public boolean isRunning() { return mState == RUNNING; }
60 if (mState != RUNNING) {
82 if (mState == RUNNING) {
93 if (mState != RUNNING) {
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
LinuxMouse.cpp 48 mState.clear();
112 mState.X.rel = 0;
113 mState.Y.rel = 0;
114 mState.Z.rel = 0;
123 mListener->mouseMoved( MouseEvent( this, mState ) );
169 if(event.xmotion.x < 5 || event.xmotion.x > mState.width - 5 ||
170 event.xmotion.y < 5 || event.xmotion.y > mState.height - 5)
182 mState.X.abs += dx;
183 mState.Y.abs += dy;
184 mState.X.rel += dx
    [all...]
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
MacMouse.cpp 85 mState.clear();
154 mState.X.rel = 0;
155 mState.Y.rel = 0;
156 mState.Z.rel = 0;
163 mState.X.rel = mTempState.X.rel;
164 mState.Y.rel = mTempState.Y.rel;
165 mState.Z.rel = mTempState.Z.rel;
168 mState.X.abs += mTempState.X.rel;
169 mState.Y.abs += mTempState.Y.rel;
171 if(mState.X.abs > mState.width
    [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;
224 mState = STATE_ENABLED;
226 mState = STATE_INITIALIZED;
238 mState = STATE_UNINITIALIZED;
257 if (mState == STATE_UNINITIALIZED) {
258 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState));
261 if ((enabled && (mState == STATE_INITIALIZED)) ||
262 (!enabled && (mState == STATE_ENABLED)))
    [all...]
  /cts/tests/fragment/src/android/fragment/cts/
StrictFragment.java 36 int mState;
65 if (mState == expect) {
74 + stateToString(mState) + "; expected " + expectString.toString());
78 if (mState < minState) {
80 + stateToString(mState) + "; expected at least " + stateToString(minState));
89 mState = ATTACHED;
101 mState = CREATED;
110 mState = ACTIVITY_CREATED;
119 mState = STARTED;
128 mState = RESUMED
    [all...]
  /frameworks/support/fragment/tests/java/android/support/v4/app/
StrictFragment.java 35 int mState;
65 if (mState == expect) {
74 + stateToString(mState) + "; expected " + expectString.toString());
78 if (mState < minState) {
80 + stateToString(mState) + "; expected at least " + stateToString(minState));
94 mState = ATTACHED;
106 mState = CREATED;
115 mState = ACTIVITY_CREATED;
124 mState = STARTED;
133 mState = RESUMED
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
RotateDrawable.java 57 private RotateState mState;
84 final RotateState state = mState;
104 if (getDrawable() == null && (mState.mThemeAttrs == null
105 || mState.mThemeAttrs[R.styleable.RotateDrawable_drawable] == 0)) {
113 final RotateState state = mState;
149 final RotateState st = mState;
167 if (mState.mFromDegrees != fromDegrees) {
168 mState.mFromDegrees = fromDegrees;
179 return mState.mFromDegrees;
190 if (mState.mToDegrees != toDegrees)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
ChangeDefaultEmulatorActivity.java 21 int mState = STATE_IDLE;
30 mState = STATE_SERVICE2_SETTING_UP;
41 if (mState == STATE_SERVICE2_SETTING_UP) {
42 mState = STATE_SERVICE1_SETTING_UP;
49 mState = STATE_MAKING_SERVICE1_DEFAULT;
52 mState = STATE_MAKING_SERVICE2_DEFAULT;
82 if (mState == STATE_MAKING_SERVICE2_DEFAULT) {
84 mState = STATE_MAKING_SERVICE1_DEFAULT;
87 } else if (mState == STATE_MAKING_SERVICE1_DEFAULT) {
89 mState = STATE_DEFAULT_CHANGED
    [all...]
  /frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
BidirectionalAsyncChannel.java 39 private ChannelState mState = ChannelState.DISCONNECTED;
42 assertEquals("AsyncChannel was not fully connected", ChannelState.CONNECTED, mState);
48 ChannelState.DISCONNECTED, mState);
58 mState = ChannelState.HALF_CONNECTED;
61 mState = ChannelState.FAILURE;
66 mState = ChannelState.CONNECTED;
70 mState = ChannelState.DISCONNECTED;
85 ChannelState.CONNECTED, mState);
87 mState = ChannelState.DISCONNECTED;
93 ChannelState.CONNECTED, mState);
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
BidirectionalAsyncChannel.java 39 private ChannelState mState = ChannelState.DISCONNECTED;
42 assertEquals("AsyncChannel was not fully connected", ChannelState.CONNECTED, mState);
48 ChannelState.DISCONNECTED, mState);
58 mState = ChannelState.HALF_CONNECTED;
61 mState = ChannelState.FAILURE;
66 mState = ChannelState.CONNECTED;
70 mState = ChannelState.DISCONNECTED;
85 ChannelState.CONNECTED, mState);
87 mState = ChannelState.DISCONNECTED;
93 ChannelState.CONNECTED, mState);
    [all...]

Completed in 347 milliseconds

1 2 3 4 5 6 7 8 91011>>