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

123456

/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java39 private ColorState mState; field in class:ColorDrawable
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
[all...]
H A DRotateDrawable.java52 private RotateState mState; field in class:RotateDrawable
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);
112 mState.mDrawable.setColorFilter(cf);
116 return mState
[all...]
H A DAnimatedRotateDrawable.java41 private AnimatedRotateState mState; field in class:AnimatedRotateDrawable
52 mState = new AnimatedRotateState(rotateState, this, res);
57 final AnimatedRotateState state = mState;
72 final AnimatedRotateState st = mState;
107 scheduleSelf(this, SystemClock.uptimeMillis() + mState.mFrameDuration);
123 mState.mDrawable.setVisible(visible, restart);
140 return mState.mDrawable;
146 | mState.mChangingConfigurations
147 | mState.mDrawable.getChangingConfigurations();
152 mState
[all...]
/frameworks/base/libs/hwui/
H A DStencil.cpp25 Stencil::Stencil(): mState(kDisabled) {
38 if (mState != kTest) {
44 mState = kTest;
49 if (mState != kWrite) {
55 mState = kWrite;
64 mState = kTest;
68 if (mState != kWrite) {
74 mState = kWrite;
79 if (mState == kDisabled) {
85 if (mState !
[all...]
H A DStencil.h80 return mState != kDisabled;
92 StencilState mState; member in class:android::uirenderer::Stencil
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java66 private int mState = IDLE; field in class:HTML5Audio
125 if (mState != ERROR && mMediaPlayer.isPlaying()) {
130 mState = ERROR;
147 mState = COMPLETE;
159 mState = ERROR;
161 mState = IDLE;
167 mState = PREPARED;
213 mState = IDLE;
219 if (mState != IDLE) {
234 mState
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java141 private int mState = STATE_UNINITIALIZED; field in class:Visualizer
143 * Lock to synchronize access to mState
190 mState = STATE_UNINITIALIZED;
205 mState = STATE_ENABLED;
207 mState = STATE_INITIALIZED;
219 mState = STATE_UNINITIALIZED;
238 if (mState == STATE_UNINITIALIZED) {
239 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState));
242 if ((enabled && (mState == STATE_INITIALIZED)) ||
243 (!enabled && (mState
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceState.java41 int mState; // current state field in class:GeofenceState
46 mState = STATE_UNKNOWN;
66 int prevState = mState;
70 mState = STATE_INSIDE;
75 mState = STATE_OUTSIDE;
98 switch (mState) {
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp34 mState(DISCONNECTED),
77 if (mState != DISCONNECTED) {
93 mState = CONNECTING;
99 while (mState == CONNECTING || mState == DISCONNECTING) {
103 return mState == CONNECTED ? OK : mIOResult;
110 if (mState != CONNECTING) {
112 CHECK_EQ(mState, DISCONNECTING);
116 mState = CONNECTED;
124 mState
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DUserStartedState.java39 public int mState = STATE_BOOTING; field in class:UserStartedState
48 pw.print(prefix); pw.print("mState=");
49 switch (mState) {
54 default: pw.print(mState); break;
/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp51 sp<AState> save = mState;
53 sp<AState> cur = mState;
57 CHECK(save == mState);
71 if (state == mState) {
77 sp<AState> cur = mState;
102 mState = state;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterSurfaceView.java34 private int mState = STATE_ALLOCATED; field in class:FilterSurfaceView
72 if (mState >= STATE_CREATED) {
81 if (mState == STATE_INITIALIZED) {
101 mState = STATE_CREATED;
123 mState = STATE_INITIALIZED;
133 mState = STATE_ALLOCATED;
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.c31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
68 ++thiz->mState.count;
73 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
96 thiz->mState.count = 0;
97 thiz->mState.playIndex = 0;
131 state.count = thiz->mState.count;
132 state.playIndex = thiz->mState.playIndex;
134 state = thiz->mState;
177 thiz->mState
[all...]
H A DIObject.c39 state = thiz->mState;
44 thiz->mState = SL_OBJECT_STATE_REALIZING_2;
48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState);
70 thiz->mState = state;
102 state = thiz->mState;
120 thiz->mState = state;
129 thiz->mState = SL_OBJECT_STATE_UNREALIZED;
139 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState);
142 thiz->mState = state;
182 state = thiz->mState;
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp37 mState(UNINITIALIZED),
69 CHECK_EQ((int)mState, (int)UNINITIALIZED);
73 mState = STOPPED;
79 CHECK_EQ((int)mState, (int)UNINITIALIZED);
83 mState = STOPPED;
89 CHECK_EQ((int)mState, (int)UNINITIALIZED);
93 mState = STOPPED;
119 switch (mState) {
143 CHECK_EQ((int)mState, (int)PAUSED);
150 mState
[all...]
/frameworks/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java45 private State mState; field in class:NetworkConnectivityListener
69 Log.w(TAG, "onReceived() called with " + mState.toString() + " and " + intent);
77 mState = State.NOT_CONNECTED;
79 mState = State.CONNECTED;
94 " noConn=" + noConnectivity) + " mState=" + mState.toString());
128 mState = State.UNKNOWN;
182 return mState;
/frameworks/base/services/java/com/android/server/
H A DTwilightCalculator.java25 /** Value of {@link #mState} if it is currently day */
28 /** Value of {@link #mState} if it is currently night */
62 public int mState; field in class:TwilightCalculator
100 mState = NIGHT;
105 mState = DAY;
117 mState = DAY;
119 mState = NIGHT;
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp46 mState(UNINITIALIZED),
67 if (mState == UNINITIALIZED) {
68 mState = PREPARED;
76 switch (mState) {
83 mState = PLAYING;
87 mState = PLAYING;
98 switch (mState) {
103 mState = PAUSED;
119 switch (mState) {
146 switch (mState) {
[all...]
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java120 private int mState = STATE_IDLE; field in class:EdgeEffect
183 return mState == STATE_IDLE;
191 mState = STATE_IDLE;
206 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
209 if (mState != STATE_PULL) {
212 mState = STATE_PULL;
255 if (mState != STATE_PULL && mState != STATE_PULL_DECAY) {
259 mState = STATE_RECEDE;
285 mState
[all...]
/frameworks/base/media/java/android/media/
H A DAudioTrack.java150 private int mState = STATE_UNINITIALIZED; field in class:AudioTrack
308 mState = STATE_UNINITIALIZED;
331 return; // with mState == STATE_UNINITIALIZED
337 mState = STATE_NO_STATIC_DATA;
339 mState = STATE_INITIALIZED;
504 mState = STATE_UNINITIALIZED;
593 return mState;
757 if (mState != STATE_INITIALIZED) {
793 if (mState != STATE_INITIALIZED) {
810 if (mState !
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java115 private State mState; field in class:NetworkInfo
146 mState = State.UNKNOWN;
158 mState = source.mState;
232 return mState == State.CONNECTED || mState == State.CONNECTING;
244 return mState == State.CONNECTED;
327 return mState;
353 this.mState = stateMap.get(detailedState);
399 append("], state: ").append(mState)
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DApnContext.java38 private DctConstants.State mState; field in class:ApnContext
67 mState = DctConstants.State.IDLE;
155 log("setState: " + s + ", previous state:" + mState);
158 mState = s;
160 if (mState == DctConstants.State.FAILED) {
168 return mState;
179 log("set reason as " + reason + ",current state " + mState);
232 return "{mApnType=" + mApnType + " mState=" + getState() + " mWaitingApns=" + mWaitingApns +
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp57 mPlayTime(-1), mDuration(-1), mState(EAS_STATE_ERROR),
98 mState = EAS_STATE_READY;
107 if (mState == EAS_STATE_ERROR) return ERROR_EAS_FAILURE;
138 mState = EAS_STATE_ERROR;
142 mState = EAS_STATE_OPEN;
166 mState = EAS_STATE_ERROR;
170 mState = EAS_STATE_OPEN;
237 if (!mPaused && (mState != EAS_STATE_STOPPED)) {
277 if ((mState == EAS_STATE_PAUSING) || (mState
[all...]
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp103 , mState(ICommonClock::STATE_INITIAL)
282 switch (mState) {
341 if ((mState != ICommonClock::STATE_INITIAL) &&
342 (mState != ICommonClock::STATE_MASTER)) {
684 switch (mState) {
763 stateToString(mState), srcEPStr,
766 if (mState == ICommonClock::STATE_MASTER) {
780 srcEPStr, stateToString(mState),
797 } else if (mState == ICommonClock::STATE_RONIN) {
812 } else if (mState
[all...]
/frameworks/wilhelm/src/
H A Dhandler_bodies.c120 android_Player_setPlayState(avp, mp->mPlay.mState, &(mp->mAndroidObjState));
131 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
142 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
152 if (SL_PLAYSTATE_PLAYING == mp->mPlay.mState) {

Completed in 329 milliseconds

123456