Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera/src/com/android/camera/gallery/
DBaseCancelable.java46 private int mState = STATE_INITIAL; field in BaseCancelable
63 return (states & mState) != 0; in isInStates()
67 if (mState == STATE_CANCELED) { in handleTerminalStates()
70 if (mState == STATE_ERROR) { in handleTerminalStates()
73 if (mState == STATE_COMPLETE) return mResult; in handleTerminalStates()
85 if (mState != STATE_INITIAL) { in get()
90 mState = STATE_EXECUTING; in get()
95 mState = STATE_CANCELED; in get()
97 mState = STATE_CANCELED; in get()
100 if (mState != STATE_CANCELING) { in get()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPointDialog.java100 private AccessPointState mState; field in AccessPointDialog
158 mState = savedInstanceState.getParcelable(INSTANCE_KEY_ACCESS_POINT_STATE); in onRestoreInstanceState()
159 mState.setContext(getContext()); in onRestoreInstanceState()
181 bundle.putParcelable(INSTANCE_KEY_ACCESS_POINT_STATE, mState); in onSaveInstanceState()
194 mState = state; in setState()
231 final String ssid = mState.getHumanReadableSsid(); in onLayout()
255 if (mState.isEnterprise() && !mState.configured) { in onLayout()
262 if (mState.isConnectable()) { in onLayout()
271 if (mState.isForgetable()) { in onLayout()
291 if (!mState.configured && mState.seen && mState.hasSecurity()) { in onLayout()
[all …]
DAccessPointPreference.java38 private AccessPointState mState; field in AccessPointPreference
44 mState = state; in AccessPointPreference()
54 setTitle(mState.getHumanReadableSsid()); in refresh()
55 setSummary(mState.getSummarizedStatus()); in refresh()
73 if (mState.seen) { in onBindView()
75 signal.setImageState(mState.hasSecurity() ? STATE_ENCRYPTED : STATE_EMPTY, true); in onBindView()
83 return mState != null ? WifiManager.calculateSignalLevel(mState.signal, UI_SIGNAL_LEVELS) in getUiSignalLevel()
92 return mState; in getAccessPointState()
104 return mState.compareTo(((AccessPointPreference) another).mState); in compareTo()
/packages/apps/IM/src/com/android/im/engine/
DImConnection.java70 protected int mState; field in ImConnection
77 mState = DISCONNECTED; in ImConnection()
100 if (mState == SUSPENDING || mState == SUSPENDED) { in getUserPresence()
104 if (mState != LOGGED_IN) { in getUserPresence()
118 if (mState != LOGGED_IN) { in updateUserPresenceAsync()
140 return mState; in getState()
153 if(mState != state){ in setState()
154 mState = state; in setState()
DContactListManager.java59 private int mState; field in ContactListManager
85 mState = LISTS_NOT_LOADED; in ContactListManager()
98 mState = state; in setState()
107 return mState; in getState()
429 if(mState < BLOCKED_LIST_LOADED) { in isBlocked()
/packages/apps/Mms/src/com/android/mms/ui/
DEditSlideTextActivity.java49 private Bundle mState; field in EditSlideTextActivity
67 mState = icicle.getBundle(STATE); in onCreate()
69 mCurSlide = mState.getInt(SLIDE_INDEX, 1); in onCreate()
70 mTotal = mState.getInt(SLIDE_TOTAL, 1); in onCreate()
71 text = mState.getString(TEXT_CONTENT); in onCreate()
96 mState = new Bundle(); in onSaveInstanceState()
97 mState.putInt(SLIDE_INDEX, mCurSlide); in onSaveInstanceState()
98 mState.putInt(SLIDE_TOTAL, mTotal); in onSaveInstanceState()
99 mState.putString(TEXT_CONTENT, mText.getText().toString()); in onSaveInstanceState()
101 outState.putBundle(STATE, mState); in onSaveInstanceState()
DEditSlideDurationActivity.java54 private Bundle mState; field in EditSlideDurationActivity
75 mState = icicle.getBundle(STATE); in onCreate()
77 mCurSlide = mState.getInt(SLIDE_INDEX, 1); in onCreate()
78 mTotal = mState.getInt(SLIDE_TOTAL, 1); in onCreate()
79 dur = mState.getInt(SLIDE_DUR, 8); in onCreate()
104 mState = new Bundle(); in onSaveInstanceState()
105 mState.putInt(SLIDE_INDEX, mCurSlide); in onSaveInstanceState()
106 mState.putInt(SLIDE_TOTAL, mTotal); in onSaveInstanceState()
107 mState.putInt(SLIDE_DUR, Integer.parseInt(mDur.getText().toString())); in onSaveInstanceState()
109 outState.putBundle(STATE, mState); in onSaveInstanceState()
DSlideshowEditActivity.java76 private Bundle mState; field in SlideshowEditActivity
89 mState = icicle.getBundle(STATE); in onCreate()
92 if (mState != null) { in onCreate()
93 mUri = Uri.parse(mState.getString(MESSAGE_URI)); in onCreate()
143 if (mState != null) { in onResume()
144 mList.setSelection(mState.getInt(SLIDE_INDEX, 0)); in onResume()
156 mState = new Bundle(); in onSaveInstanceState()
158 mState.putInt(SLIDE_INDEX, mList.getSelectedItemPosition()); in onSaveInstanceState()
162 mState.putString(MESSAGE_URI, mUri.toString()); in onSaveInstanceState()
166 Log.v(TAG, "Saving state: " + mState); in onSaveInstanceState()
[all …]
DManageSimMessages.java66 private int mState; field in ManageSimMessages
278 if ((null != mCursor) && (mCursor.getCount() > 0) && mState == SHOW_LIST) { in onPrepareOptionsMenu()
315 if (mState == state) { in updateState()
319 mState = state; in updateState()
/packages/apps/Browser/src/com/android/browser/
DKeyTracker.java64 else if (mState == State.KEEP_TRACKING) { in doKeyDown()
73 return mState != State.NOT_TRACKING; in doKeyDown()
79 if (mState == State.KEEP_TRACKING && mKeyCode == keyCode) { in doKeyUp()
82 handled = mState != State.NOT_TRACKING; in doKeyUp()
89 mState = mTracker.onKeyTracker(mKeyCode, mEvent, stage, (int)(now - mStartMS)); in callTracker()
94 " state=" + mState); in dump()
100 private State mState; field in KeyTracker
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionState.java42 private int mState; field in TransactionState
45 mState = INITIALIZED; in TransactionState()
56 return mState; in getState()
69 mState = state; in setState()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DAlarmAlert.java48 private int mState = UNKNOWN; field in AlarmAlert
91 mState = KILLED; in onCreate()
147 if (mState == KILLED) { in updateLayout()
174 if (mState != UNKNOWN) { in snooze()
189 mState = DISMISS; in snooze()
196 mState = SNOOZE; in snooze()
202 mKlaxon.stop(this, mState == SNOOZE); in snooze()
208 if (mState != UNKNOWN) { in dismiss()
211 mState = DISMISS; in dismiss()
224 mState = UNKNOWN; in onNewIntent()
[all …]
/packages/apps/Phone/src/com/android/phone/
DBluetoothHeadsetService.java73 private int mState; field in BluetoothHeadsetService
85 mState = BluetoothHeadset.STATE_DISCONNECTED; in BluetoothHeadsetService()
160 switch (mState) {
230 if (mState == BluetoothHeadset.STATE_DISCONNECTED) {
240 if (mState == BluetoothHeadset.STATE_DISCONNECTED) {
266 if ((mState == BluetoothHeadset.STATE_CONNECTED ||
267 mState == BluetoothHeadset.STATE_CONNECTING) &&
430 if (mState != BluetoothHeadset.STATE_CONNECTING) {
491 if (state != mState) { in setState()
492 if (DBG) log("Headset state " + mState + " -> " + state + ", result = " + result); in setState()
[all …]
DNetworkQueryService.java56 private int mState; field in NetworkQueryService
117 switch (mState) {
123 mState = QUERY_IS_RUNNING;
159 mState = QUERY_READY; in onCreate()
189 mState = QUERY_READY; in broadcastQueryResults()
DChangeIccPinScreen.java56 private EntryState mState; field in ChangeIccPinScreen
137 mState = EntryState.ES_PIN; in onCreate()
239 if (mState == EntryState.ES_PUK) { in handleResult()
255 if (mState == EntryState.ES_PIN) { in handleResult()
262 mState = EntryState.ES_PUK; in handleResult()
268 } else if (mState == EntryState.ES_PUK) { in handleResult()
DIccPinUnlockPanel.java57 private IccLockState mState; field in IccPinUnlockPanel
148 mState = state; in setState()
152 return mState; in getState()
188 switch (mState) { in updateView()
322 switch (mState) {
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java23 int mState = IDLE_STATE; field in Recorder
51 if (mState != RECORDING_STATE) in getMaxAmplitude()
83 return mState; in state()
87 if (mState == RECORDING_STATE || mState == PLAYING_STATE) in progress()
227 if (state == mState) in setState()
230 mState = state; in setState()
231 signalStateChanged(mState); in setState()
/packages/apps/Camera/src/com/android/camera/
DBitmapManager.java45 public State mState = State.ALLOW; field in BitmapManager.ThreadStatus
51 if (mState == State.CANCEL) { in toString()
53 } else if (mState == State.ALLOW) { in toString()
139 boolean result = (status.mState != State.CANCEL); in canThreadDecoding()
144 getOrCreateThreadStatus(t).mState = State.ALLOW; in allowThreadDecoding()
149 status.mState = State.CANCEL; in cancelThreadDecoding()
/packages/apps/IM/libwbxml/src/
Dwbxml_parser.cpp99 mState = EXPECT_HEADER; in reset()
186 switch (mState) { in parse()
220 mState = EXPECT_STRING_TABLE; in parse()
245 mState = EXPECT_BODY_START; in parse()
266 mState = EXPECT_ELEMENT_START; in parse()
308 mState = EXPECT_CONTENT; in parse()
310 mState = ELEMENT_END; in parse()
331 mState = EXPECT_ELEMENT_END; in parse()
333 mState = EXPECT_ELEMENT_START; in parse()
397 mState = ELEMENT_END; in parse()
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java47 private int mState = STATE_MAIN; field in StkMenuActivity
130 switch (mState) { in onKeyDown()
160 mState = STATE_MAIN; in onResume()
197 if (mState == STATE_SECONDARY) { in onPrepareOptionsMenu()
239 outState.putInt("STATE", mState); in onSaveInstanceState()
245 mState = savedInstanceState.getInt("STATE"); in onRestoreInstanceState()
254 if (mState == STATE_SECONDARY) { in startTimeOut()
296 mState = intent.getIntExtra("STATE", STATE_MAIN); in initFromIntent()
DStkInputActivity.java50 private int mState; field in StkInputActivity
143 mState = mStkInput.yesNo ? STATE_YES_NO : STATE_TEXT; in onCreate()
287 switch (mState) { in configInputDisplay()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java81 private SmilPlayerState mState = SmilPlayerState.INITIALIZED; field in SmilPlayer
257 return mState == SmilPlayerState.PLAYING; in isPlayingState()
261 return mState == SmilPlayerState.PLAYED; in isPlayedState()
265 return mState == SmilPlayerState.PAUSED; in isPausedState()
269 return mState == SmilPlayerState.STOPPED; in isStoppedState()
302 mState = SmilPlayerState.PLAYING; in play()
482 mState = SmilPlayerState.PLAYING; in waitForWakeUp()
518 mState = SmilPlayerState.PAUSED; in actionPause()
527 mState = SmilPlayerState.STOPPED; in actionStop()
580 mState = SmilPlayerState.PLAYED; in run()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothManager.java65 private int mState = BluetoothError.ERROR; field in LocalBluetoothManager
188 if (mState == BluetoothError.ERROR) { in getBluetoothState()
192 return mState; in getBluetoothState()
196 mState = state; in setBluetoothStateInt()
/packages/apps/IM/src/com/android/im/imps/
DImpsConnection.java81 if(mState == DISCONNECTED) { in shutdownOnError()
161 if(mState != state){ in checkAndSetState()
195 if(mState != LOGGED_IN) { in getSessionContext()
306 if (mState == LOGGING_OUT) { in onAuthenticated()
599 if (mState != LOGGING_OUT) { in processIncomingPrimitive()
/packages/apps/IM/libwbxml/include/
Dwbxml_parser.h178 ParserState mState; variable

12