Searched defs:mState (Results 51 - 75 of 76) sorted by relevance

1234

/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksPage.java99 JSONObject mState; field in class:BrowserBookmarksPage
132 expand = mState.getBoolean(accountName != null ? accountName
332 mState = new JSONObject(prefs.getString(PREF_GROUP_STATE, "{}"));
336 mState = new JSONObject();
351 mState = mGrid.saveGroupState();
355 .putString(PREF_GROUP_STATE, mState.toString())
H A DUrlInputView.java77 private int mState; field in class:UrlInputView
114 mState = StateListener.STATE_NORMAL;
183 changeState(mState);
187 mState = newState;
189 mStateListener.onStateChanged(mState);
194 return mState;
348 if (StateListener.STATE_HIGHLIGHTED == mState) {
/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/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java96 private RawContactDeltaList mState; field in class:PhotoSelectionActivity
170 mState = (RawContactDeltaList) intent.getParcelableExtra(ENTITY_DELTA_LIST);
496 mPhotoHandler = new PhotoHandler(this, mPhotoView, mode, mState);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java78 private RawContactDelta mState; field in class:LabeledEditorView
336 setValues(mKind, mEntry, mState, mReadOnly, mViewIdGenerator);
348 mState = state;
400 RawContactModifier.getValidTypes(mState, mKind, null);
536 addAll(RawContactModifier.getValidTypes(mState, mKind, mType));
H A DContactEditorFragment.java230 private RawContactDeltaList mState; field in class:ContactEditorFragment
363 if (mState == null) {
375 // Orientation change, we already have mState, it was loaded by onCreate
450 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE);
468 if (mState != null) {
505 mState = contact.createRawContactDeltaList();
514 for (RawContactDelta state : mState) {
530 mState.add(insert);
547 for (RawContactDelta state : mState) {
622 * Removes a current editor ({@link #mState}) an
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountCheckSettingsFragment.java77 private int mState = STATE_START; field in class:AccountCheckSettingsFragment
173 if (mState != STATE_START) {
174 reportProgress(mState, mProgressException);
214 mState = newState;
276 mCheckingDialog = CheckingDialog.newInstance(this, mState);
281 mCheckingDialog.updateProgress(mState);
345 if (mState == STATE_AUTODISCOVER_AUTH_DIALOG) {
/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/Mms/src/com/android/mms/dom/smil/
H A DSmilPlayer.java83 private SmilPlayerState mState = SmilPlayerState.INITIALIZED; field in class:SmilPlayer
259 return mState == SmilPlayerState.PLAYING;
263 return mState == SmilPlayerState.PLAYED;
267 return mState == SmilPlayerState.PAUSED;
271 return mState == SmilPlayerState.STOPPED;
312 mState = SmilPlayerState.PLAYING;
508 mState = SmilPlayerState.PLAYING;
625 mState = SmilPlayerState.PAUSED;
634 mState = SmilPlayerState.STOPPED;
692 if (mState
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningProcessesView.java62 RunningState mState; field in class:RunningProcessesView
208 final RunningState mState; field in class:RunningProcessesView.ServiceListAdapter
216 mState = state;
225 mState.setWatchingBackgroundItems(showBackground);
238 mShowBackground ? mState.getCurrentBackgroundItems()
239 : mState.getCurrentMergedItems();
248 Collections.sort(mItems, mState.mBackgroundComparator);
264 return mState.hasData() && mItems.size() == 0;
301 synchronized (mState.mLock) {
310 ActiveItem ai = vh.bind(mState, ite
[all...]
H A DInstalledAppDetails.java110 private ApplicationsState mState; field in class:InstalledAppDetails
202 mState.requestSize(mAppEntry.info.packageName);
406 mState = ApplicationsState.getInstance(getActivity().getApplication());
407 mSession = mState.newSession(this);
546 mState.ensureIcon(mAppEntry);
617 mAppEntry = mState.getEntry(packageName);
967 mState.requestSize(mAppEntry.info.packageName);
996 mState.requestSize(mAppEntry.info.packageName);
1201 mState.invalidatePackage(pkgName);
1202 ApplicationsState.AppEntry newEnt = mState
1244 final int mState; field in class:InstalledAppDetails.DisableChanger
[all...]
H A DManageApplications.java521 private final ApplicationsState mState; field in class:ManageApplications.ApplicationsAdapter
556 mState = state;
769 mState.ensureIcon(entry);
/packages/inputmethods/LatinIME/tools/dicttool/src/android/inputmethod/latin/dicttool/
H A DXmlDictInputOutput.java74 int mState; // the state of the parser field in class:XmlDictInputOutput.UnigramHandler
88 mState = START;
101 mState = START;
109 mState = WORD;
131 mState = UNKNOWN;
137 if (WORD == mState) {
147 if (WORD == mState) {
149 mState = START;
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java256 newState = convertHalChannelState(channelStateEvent.mState);
270 chan.mState, chan.mChannelFd, chan.mChannelId);
271 chan.mState = newState;
272 if (channelStateEvent.mState == CONN_STATE_DESTROYED) {
746 if (chan.mState == state) {
814 private int mState; field in class:HealthService.HealthChannel
823 mState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
835 int mState; field in class:HealthService.ChannelStateEvent
843 mState = state;
/packages/apps/Camera/src/com/android/camera/ui/
H A DPieRenderer.java53 private volatile int mState; field in class:PieRenderer
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
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java46 int mState = Stopwatches.STOPWATCH_RESET; field in class:StopwatchFragment
234 switch (mState) {
253 Log.wtf("Illegal state " + mState
274 switch (mState) {
290 Log.wtf("Illegal state " + mState
347 setButtons(mState);
349 if (mState == Stopwatches.STOPWATCH_RUNNING) {
352 } else if (mState == Stopwatches.STOPWATCH_STOPPED && mAccumulatedTime != 0) {
362 if (mState == Stopwatches.STOPWATCH_RUNNING) {
383 if (page == DeskClock.STOPWATCH_TAB_INDEX && mState
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java502 mScrollerX.mState != SplineOverScroller.SPLINE) ||
504 mScrollerY.mState != SplineOverScroller.SPLINE));
583 private int mState = SPLINE; field in class:OverScroller.SplineOverScroller
740 mState = CUBIC;
764 mState = SPLINE;
846 // mState is used to detect successive notifications
847 if (mState == SPLINE) {
868 mState = BALLISTIC;
874 switch (mState) {
916 switch (mState) {
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DCropImage.java138 private int mState = STATE_INIT; field in class:CropImage
232 saveState.putInt(KEY_STATE, mState);
608 mState = STATE_SAVING;
809 mState = STATE_LOADED;
840 mState = STATE_LOADED;
889 mState = STATE_LOADED;
940 if (mState == STATE_INIT) initializeData();
941 if (mState == STATE_SAVING) onSaveClicked();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java75 private int mState = STATE_NONE; field in class:Folder
412 mState = STATE_SMALL;
432 mState = STATE_ANIMATING;
436 mState = STATE_OPEN;
489 mState = STATE_SMALL;
495 mState = STATE_ANIMATING;
1057 if (mState == STATE_ANIMATING) {
H A DLauncher.java190 private State mState = State.WORKSPACE; field in class:Launcher
730 setWorkspaceBackground(mState == State.WORKSPACE);
1406 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1461 outState.putInt(RUNTIME_STATE, mState.ordinal());
2300 if (mState != State.WORKSPACE) return false;
2366 return (mState == State.APPS_CUSTOMIZE) || (mOnResumeState == State.APPS_CUSTOMIZE);
2793 if (mState != State.WORKSPACE) {
2794 boolean wasInSpringLoadedMode = (mState == State.APPS_CUSTOMIZE_SPRING_LOADED);
2816 mState = State.WORKSPACE;
2828 if (mState !
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DCallNotifier.java1365 private int mState; field in class:CallNotifier.InCallTonePlayer
1400 mState = TONE_OFF;
1569 if (okToPlayTone && mState != TONE_STOPPED) {
1570 mState = TONE_ON;
1584 mState = TONE_OFF;
1608 if (mState == TONE_ON) {
1611 mState = TONE_STOPPED;
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerActivity.java177 private int mState; field in class:VoiceDialerActivity
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
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java198 // mState is protected by this, however it is only modified in onCreate()
201 int mState; // one of NfcAdapter.STATE_ON, STATE_TURNING_ON, etc field in class:NfcService
350 mState = NfcAdapter.STATE_OFF;
483 * through this task, to keep the handling of mState simple.
484 * In other words, mState is only modified in these tasks (and we
489 * mState to STATE_TURNING_OFF or STATE_TURNING_ON, but must exit in
511 // Sanity check mState
512 switch (mState) {
516 mState);
569 if (mState
[all...]

Completed in 417 milliseconds

1234