Searched refs:mCurrentState (Results 1 - 10 of 10) 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.java33 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE; field in class:PhoneStateBroadcaster
97 return mCurrentState;
101 if (phoneState == mCurrentState) {
105 mCurrentState = phoneState;
115 Log.i(this, "Broadcasted state change: %s", mCurrentState);
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
H A DDemoPhoneRenderer.java37 private int mCurrentState; field in class:DemoPhoneRenderer
48 mCurrentState = state;
70 mView.setPhoneTitle(getCallStateToDisplay(mCurrentState) + " ยท " + text);
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculator.java143 if (mCurrentState != CalculatorState.EVALUATE) {
194 private CalculatorState mCurrentState; field in class:Calculator
284 mCurrentState = CalculatorState.INPUT;
289 mCurrentState = CalculatorState.INPUT;
301 if (mCurrentState != CalculatorState.INPUT) {
324 outState.putInt(KEY_DISPLAY_STATE, mCurrentState.ordinal());
340 if (mCurrentState != state) {
344 mCurrentState = state;
346 if (mCurrentState == CalculatorState.RESULT) {
355 if (mCurrentState
[all...]
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
H A DTestTvInputService.java81 private ChannelState mCurrentState = null; field in class:TestTvInputService.SimpleSessionImpl
148 mCurrentState = null;
187 mCurrentState = null;
281 oldState = mCurrentState;
287 mCurrentState = newState;
291 mCurrentState = null;
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculator.java101 final boolean isEdited = mCurrentState == CalculatorState.INPUT
102 || mCurrentState == CalculatorState.ERROR;
107 private CalculatorState mCurrentState; field in class:Calculator
165 outState.putInt(KEY_CURRENT_STATE, mCurrentState.ordinal());
171 if (mCurrentState != state) {
172 mCurrentState = state;
257 if (mCurrentState == CalculatorState.INPUT) {
263 } else if (mCurrentState == CalculatorState.EVALUATE) {
273 if (mCurrentState != CalculatorState.INPUT) {
298 if (mCurrentState
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarPowerManagementService.java124 private PowerState mCurrentState; field in class:CarPowerManagementService
189 mCurrentState = null;
245 if (mCurrentState == null) {
248 if (mCurrentState.state != PowerHalService.STATE_SHUTDOWN_PREPARE) {
251 if (mCurrentState.canEnterDeepSleep()) {
268 writer.print("mCurrentState:" + mCurrentState);
443 if (mCurrentState != null && mCurrentState.state == PowerHalService.SET_DISPLAY_ON) {
455 if (mCurrentState !
[all...]
/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 325 milliseconds