Searched refs:mCurrentState (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
H A DTriggerStateMachine.java57 private State mCurrentState; field in class:TriggerStateMachine
66 mCurrentState = State.WAITING_FOR_TRIGGER;
79 if (mCurrentState == State.WAITING_FOR_TRIGGER) {
82 mCurrentState = State.TRIGGERED;
88 if (mCurrentState == State.TRIGGERED) {
91 mCurrentState = State.WAITING_FOR_TRIGGER;
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DPendingAttachmentData.java50 private int mCurrentState; field in class:PendingAttachmentData
61 mCurrentState = STATE_PENDING;
90 return mCurrentState;
95 if (mCurrentState != STATE_PENDING) {
98 mCurrentState = STATE_LOADING;
123 mCurrentState = STATE_FAILED;
132 mCurrentState = STATE_LOADED;
143 mCurrentState = STATE_FAILED;
155 mCurrentState = in.readInt();
161 out.writeInt(mCurrentState);
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneStateBroadcaster.java34 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE; field in class:PhoneStateBroadcaster
98 return mCurrentState;
102 if (phoneState == mCurrentState) {
106 mCurrentState = phoneState;
118 Log.i(this, "Broadcasted state change: %s", mCurrentState);
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculator.java247 private CalculatorState mCurrentState; field in class:Calculator
304 * Restore Evaluator state and mCurrentState from savedInstanceState.
322 mCurrentState = CalculatorState.INPUT;
340 if (mCurrentState != CalculatorState.RESULT
341 && mCurrentState != CalculatorState.INIT_FOR_RESULT) {
344 if (mCurrentState == CalculatorState.INPUT) {
349 setState(mapFromSaved(mCurrentState));
432 mCurrentState = CalculatorState.INPUT;
465 outState.putInt(KEY_DISPLAY_STATE, mCurrentState.ordinal());
486 if (mCurrentState !
[all...]
/packages/apps/Music/src/com/android/music/utils/
H A DMusicProvider.java79 private volatile State mCurrentState = State.NON_INITIALIZED; field in class:MusicProvider
93 return mCurrentState == State.INITIALIZED;
102 if (mCurrentState != State.INITIALIZED) {
114 if (mCurrentState != State.INITIALIZED) {
130 if (mCurrentState != State.INITIALIZED) {
145 if (mCurrentState != State.INITIALIZED || !mArtistAlbumDb.containsKey(artist)) {
156 if (mCurrentState != State.INITIALIZED || !mMusicListByAlbum.containsKey(album)) {
167 if (mCurrentState != State.INITIALIZED || !mMusicListByPlaylist.containsKey(playlist)) {
197 if (mCurrentState != State.INITIALIZED) {
221 if (mCurrentState
[all...]
/packages/services/Car/evs/app/
H A DEvsStateControl.cpp42 mCurrentState(OFF) {
274 if (mCurrentState == desiredState) {
280 ALOGD(" Current state %d has %zu cameras", mCurrentState,
281 mCameraList[mCurrentState].size());
334 mCurrentState = desiredState;
H A DEvsStateControl.h94 State mCurrentState = OFF; member in class:EvsStateControl
/packages/services/Car/service/src/com/android/car/
H A DCarPowerManagementService.java114 private PowerState mCurrentState; field in class:CarPowerManagementService
198 mCurrentState = null;
269 if (mCurrentState == null) {
272 if (mCurrentState.mState != PowerHalService.STATE_SHUTDOWN_PREPARE) {
275 if (mCurrentState.canEnterDeepSleep() && !mShutdownOnNextSuspend) {
293 writer.print("mCurrentState:" + mCurrentState);
530 if (mCurrentState != null && mCurrentState.mState == PowerHalService.STATE_ON_FULL) {
542 if (mCurrentState !
[all...]
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
H A DHvacPanelController.java80 private @HvacPanelState int mCurrentState; field in class:HvacPanelController
142 mCurrentState = STATE_COLLAPSED;
507 if (mCurrentState != STATE_COLLAPSED) {
508 transitionState(mCurrentState, STATE_COLLAPSED);
514 if(mCurrentState != STATE_COLLAPSED) {
527 if (mCurrentState != STATE_FULL_EXPANDED) {
528 transitionState(mCurrentState, STATE_FULL_EXPANDED);
589 mCurrentState = mEndState;
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
H A DTestTvInputService.java102 private ChannelState mCurrentState = null; field in class:TestTvInputService.SimpleSessionImpl
179 mCurrentState = null;
221 mCurrentState = null;
318 oldState = mCurrentState;
324 mCurrentState = newState;
328 mCurrentState = null;
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListFragment.java194 int mCurrentState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
198 if (mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL
199 || mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_FLING) {
212 mCurrentState = newState;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java143 private ModeListState mCurrentState; field in class:ModeListView.CurrentStateManager
146 return mCurrentState;
150 mCurrentState = state;

Completed in 894 milliseconds