/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
Timers.java | 63 if (t.mState == TimerObj.STATE_TIMESUP) { 87 if (timer.mState != TimerObj.STATE_TIMESUP) {
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 157 private int mState = CAMERA_UNINITIALIZED; 308 if (mState == CAMERA_RECORD) { 314 if (mState == CAMERA_PREVIEW) { 316 mState = CAMERA_OPEN; 324 mState = CAMERA_UNINITIALIZED; 335 if (mState >= CAMERA_OPEN) { 434 if (mState == CAMERA_PREVIEW) { 450 if (mState == CAMERA_PREVIEW) { 486 if (mState == CAMERA_TAKE_PICTURE) { 493 mState = CAMERA_PREVIEW [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 239 private RawContactDeltaList mState; 391 if (mState.isEmpty()) { 403 // Orientation change, we already have mState, it was loaded by onCreate 482 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE); 504 // mState can still be null because it may not have have finished loading before 506 if (mState == null) { 507 mState = new RawContactDeltaList(); 514 if (!mState.isEmpty()) { 567 mState.addAll(rawContacts.iterator()); 576 for (RawContactDelta state : mState) { [all...] |
GroupMembershipView.java | 130 private RawContactDelta mState; 201 mState = state; 202 mAccountType = mState.getAccountType(); 203 mAccountName = mState.getAccountName(); 204 mDataSet = mState.getDataSet(); 352 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE); 371 ValuesDelta entry = RawContactModifier.insertChild(mState, mKind); 391 if (groupId == mDefaultGroupId && mState.isContactInsert()) { 395 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
|
/frameworks/av/include/media/ |
SoundPool.h | 63 int state() { return mState; } 66 void startLoad() { mState = LOADING; } 82 uint8_t mState : 3; 124 SoundChannel() : mState(IDLE), mNumChannels(1), 139 int state() { return mState; } 157 int mState;
|
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 68 private int mState; // {NONE(0), SID(1), LSID(2)} 178 mState = 1; // SID 188 switch (mState) { 195 mState = 2; // LSID 205 Log.d(LOGTAG, "LOGIN_FAIL: Exception in state " + mState + " " + e); 243 mState = 1; // SID
|
UrlInputView.java | 77 private int mState; 114 mState = StateListener.STATE_NORMAL; 183 changeState(mState); 187 mState = newState; 189 mStateListener.onStateChanged(mState); 194 return mState; 348 if (StateListener.STATE_HIGHLIGHTED == mState) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmMmiCode.java | 133 State mState = State.PENDING; 243 ret.mState = State.PENDING; 245 ret.mState = State.COMPLETE; 257 ret.mState = State.PENDING; 424 return mState; 438 if (mState == State.COMPLETE || mState == State.FAILED) { 442 mState = State.CANCELLED; 826 mState = State.FAILED; 833 mState = State.FAILED [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
BaseCommands.java | 34 protected RadioState mState = RadioState.RADIO_UNAVAILABLE; 106 return mState; 142 if (mState.isOn()) { 162 if (mState.isAvailable()) { 182 if (!mState.isAvailable()) { 202 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { 679 oldState = mState; 680 mState = newState; 682 if (oldState == mState) { [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhone.java | 452 mState = that.mState; 498 if (mState.isAlive()) { 560 if (mState == State.HOLDING) { 664 if (mState != newState) { 665 if (SC_DBG) log("setState: cur state" + mState 670 mState = newState; // need in ALERTING to enable ringback 672 } else if (mState == Call.State.ALERTING) { 675 mState = newState; 684 if (mState != State.ACTIVE) [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
PieRenderer.java | 53 private volatile int mState; 182 mState = STATE_IDLE; 207 if ((mState == STATE_PIE) && isVisible()) { 211 if (mState != STATE_IDLE) { 214 mState = STATE_PIE; 231 mState = STATE_PIE; 241 mState = STATE_IDLE; 381 if (mState == STATE_FINISHING) { 400 if (mState == STATE_PIE) { 431 mState = STATE_PIE [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorVideoEncoder.cpp | 100 State mState; 120 mState(CREATED), 128 if( STARTED == mState ) { 138 if( CREATED != mState ) { 139 ALOGV("VideoEditorVideoEncoderSource::start: invalid state %d", mState); 142 mState = STARTED; 153 if( STARTED != mState ) { 154 ALOGV("VideoEditorVideoEncoderSource::stop: invalid state %d", mState); 171 mState = CREATED; 192 if ( STARTED != mState ) { [all...] |
/frameworks/av/media/libmedia/ |
ToneGenerator.cpp | [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 55 uint8_t mState; 210 pContext->mState = LOUDNESS_ENHANCER_STATE_UNINITIALIZED; 222 pContext->mState = LOUDNESS_ENHANCER_STATE_INITIALIZED; 237 pContext->mState = LOUDNESS_ENHANCER_STATE_UNINITIALIZED; 304 if (pContext->mState != LOUDNESS_ENHANCER_STATE_ACTIVE) { 316 if (pContext == NULL || pContext->mState == LOUDNESS_ENHANCER_STATE_UNINITIALIZED) { 350 if (pContext->mState != LOUDNESS_ENHANCER_STATE_INITIALIZED) { 353 pContext->mState = LOUDNESS_ENHANCER_STATE_ACTIVE; 361 if (pContext->mState != LOUDNESS_ENHANCER_STATE_ACTIVE) { 364 pContext->mState = LOUDNESS_ENHANCER_STATE_INITIALIZED [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 73 private DetailedState mState; 171 mState = DetailedState.valueOf(savedState.getString(KEY_DETAILEDSTATE)); 173 update(mInfo, mState); 180 if (mState != null) { 181 savedState.putString(KEY_DETAILEDSTATE, mState.toString()); 292 mState = state; 297 mState = null; 321 return mState; 356 } else if (mState != null) { // This is the active connection 357 setSummary(Summary.get(context, mState)); [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 177 private int mState; 201 mState = INITIALIZING; 291 if (mState == SPEAKING_GREETING || mState == SPEAKING_TRY_AGAIN) { 293 } else if (mState == SPEAKING_CHOICES) { 295 } else if (mState == SPEAKING_GOODBYE) { 296 mState = EXITING; 298 } else if (mState == SPEAKING_CHOSEN_ACTION) { 299 mState = EXITING; 308 mState = SPEAKING_GREETING [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/ |
NotificationListenerVerifierActivity.java | 75 private int mState; 118 mState = savedInstanceState.getInt(STATE, 0); 140 outState.putInt(STATE, mState); 201 while (mState < mStatus.length && mStatus[mState] != WAIT_FOR_USER) { 202 if (mStatus[mState] == PASS) { 203 setItemState(mState, true); 204 mState++; 205 } else if (mStatus[mState] == FAIL) { 206 setItemState(mState, false) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 71 mState = STATE_NEW; 81 mState = STATE_INITIALIZED; 107 if (mState > STATE_NEW) { 111 mState = STATE_NEW; 364 if (mState != oldState) { 367 mState = newState; 410 private int mState;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 46 mState(NULL), 66 GSMDecodeFrameExit(&mState); 67 mState = NULL; 72 mState = NULL; 128 Word16 err = GSMInitDecode(&mState, (Word8 *)"AMRNBDecoder"); 137 pvDecoder_AmrWb_Init(&mState, mDecoderBuf, &mDecoderCookie); 316 AMRDecode(mState,
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
CameraPreviewActivity.java | 86 private int mState = STATE_OFF; 249 mState = STATE_OFF; 254 if (mState != STATE_OFF) { 258 mState = STATE_OFF; 268 mState = STATE_PREVIEW; 343 if (mProcessInProgress || mState != STATE_PREVIEW) { 357 mState = STATE_NO_CALLBACKS;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
RTSPSource.cpp | 47 mState(DISCONNECTED), 89 CHECK_EQ(mState, (int)DISCONNECTED); 90 mState = CONNECTING; 314 if (mState != CONNECTED) { 318 mState = SEEKING; 380 mState = CONNECTED; 586 mState = CONNECTED; 620 if (mState == CONNECTING) { 626 mState = DISCONNECTED; 636 if (mState == DISCONNECTED) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 171 private int mState; 185 mState = BluetoothPbap.STATE_DISCONNECTED; 674 if (state != mState) { 675 if (DEBUG) Log.d(TAG, "Pbap state " + mState + " -> " + state + ", result = " 677 int prevState = mState; 678 mState = state; 681 intent.putExtra(BluetoothPbap.PBAP_STATE, mState); 687 mState, prevState); 750 if (DEBUG) Log.d(TAG, "getState " + mState); 758 return mState; [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 69 private State mState; 80 mState = State.INITIAL; 82 mState = (State) savedState.getSerializable(KEY_STATE); 83 if (mState == null) { 84 mState = State.INITIAL; 109 switch (mState) { 112 mState = State.UNLOCK_REQUESTED; 429 if (mState != State.INITIAL) { 430 savedState.putSerializable(KEY_STATE, mState);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
StateViewPage.java | 81 private IGLProperty mState; 100 mState = GLState.createDefaultState(); 104 mTreeViewer.setInput(mState); 130 mTreeViewer.setInput(mState); 163 mState.prettyPrint(pp); 298 f.apply(mState); 299 IGLProperty changedProperty = f.getChangedProperty(mState); 324 f.revert(mState); 326 IGLProperty changedProperty = f.getChangedProperty(mState);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
IconLoader.java | 37 private int mState = STATE_SINGLE_ICON; 97 mState = STATE_MULTI_ICONS; 106 mState = STATE_SINGLE_ICON; 213 if (mState == STATE_SINGLE_ICON) { 216 } else if (mState == STATE_MULTI_ICONS) {
|