/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Calculator.java | 247 private CalculatorState mCurrentState; field in Calculator 322 mCurrentState = CalculatorState.INPUT; in restoreInstanceState() 340 if (mCurrentState != CalculatorState.RESULT in restoreDisplay() 341 && mCurrentState != CalculatorState.INIT_FOR_RESULT) { in restoreDisplay() 344 if (mCurrentState == CalculatorState.INPUT) { in restoreDisplay() 349 setState(mapFromSaved(mCurrentState)); in restoreDisplay() 432 mCurrentState = CalculatorState.INPUT; in onCreate() 465 outState.putInt(KEY_DISPLAY_STATE, mCurrentState.ordinal()); in onSaveInstanceState() 486 if (mCurrentState != state) { in setState() 492 mCurrentState = state; in setState() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | PendingAttachmentData.java | 50 private int mCurrentState; field in PendingAttachmentData 61 mCurrentState = STATE_PENDING; in PendingAttachmentData() 90 return mCurrentState; in getCurrentState() 95 if (mCurrentState != STATE_PENDING) { in loadAttachmentForDraft() 98 mCurrentState = STATE_LOADING; in loadAttachmentForDraft() 123 mCurrentState = STATE_FAILED; in loadAttachmentForDraft() 132 mCurrentState = STATE_LOADED; in loadAttachmentForDraft() 143 mCurrentState = STATE_FAILED; in loadAttachmentForDraft() 155 mCurrentState = in.readInt(); in PendingAttachmentData() 161 out.writeInt(mCurrentState); in writeToParcel()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPowerManagementService.java | 99 private PowerState mCurrentState; field in CarPowerManagementService 164 mCurrentState = null; in release() 228 if (mCurrentState == null) { in notifyPowerEventProcessingCompletion() 231 if (mCurrentState.mState != PowerHalService.STATE_SHUTDOWN_PREPARE) { in notifyPowerEventProcessingCompletion() 234 if (mCurrentState.canEnterDeepSleep()) { in notifyPowerEventProcessingCompletion() 252 writer.print("mCurrentState:" + mCurrentState); in dump() 435 if (mCurrentState != null && mCurrentState.mState == PowerHalService.STATE_ON_FULL) { in doHandleNotifyPowerOn() 447 if (mCurrentState != null && mCurrentState.equals(newState)) { in needPowerStateChange() 495 mCurrentState = state; in setCurrentState()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | TriggerStateMachine.java | 57 private State mCurrentState; field in TriggerStateMachine 66 mCurrentState = State.WAITING_FOR_TRIGGER; in TriggerStateMachine() 79 if (mCurrentState == State.WAITING_FOR_TRIGGER) { in update() 82 mCurrentState = State.TRIGGERED; in update() 88 if (mCurrentState == State.TRIGGERED) { in update() 91 mCurrentState = State.WAITING_FOR_TRIGGER; in update()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | HvacPanelController.java | 65 private @HvacPanelState int mCurrentState; field in HvacPanelController 124 mCurrentState = STATE_COLLAPSED; in HvacPanelController() 281 if (!mHvacIsOn && mCurrentState == STATE_FULL_EXPANDED) { 477 switch (mCurrentState) { 482 transitionState(mCurrentState, STATE_COLLAPSED); 508 if (mCurrentState == STATE_FULL_EXPANDED) { 509 transitionState(mCurrentState, STATE_COLLAPSED); 510 } else if (mCurrentState == STATE_COLLAPSED) { 511 transitionState(mCurrentState, STATE_FULL_EXPANDED); 573 mCurrentState = mEndState; in onTransitionComplete()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneStateBroadcaster.java | 34 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE; field in PhoneStateBroadcaster 98 return mCurrentState; in getCallState() 102 if (phoneState == mCurrentState) { in sendPhoneStateChangedBroadcast() 106 mCurrentState = phoneState; in sendPhoneStateChangedBroadcast() 116 Log.i(this, "Broadcasted state change: %s", mCurrentState); in sendPhoneStateChangedBroadcast()
|
/packages/services/Car/evs/app/ |
D | EvsStateControl.cpp | 42 mCurrentState(OFF) { in EvsStateControl() 274 if (mCurrentState == desiredState) { in configureEvsPipeline() 280 ALOGD(" Current state %d has %zu cameras", mCurrentState, in configureEvsPipeline() 281 mCameraList[mCurrentState].size()); in configureEvsPipeline() 334 mCurrentState = desiredState; in configureEvsPipeline()
|
D | EvsStateControl.h | 94 State mCurrentState = OFF; variable
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 108 private ChannelState mCurrentState = null; field in TestTvInputService.SimpleSessionImpl 177 mCurrentState = null; in onRelease() 218 mCurrentState = null; in onTune() 313 oldState = mCurrentState; in run() 319 mCurrentState = newState; in run() 323 mCurrentState = null; in run()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListFragment.java | 194 int mCurrentState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE; in onCreateView() 198 if (mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL in onCreateView() 199 || mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_FLING) { in onCreateView() 212 mCurrentState = newState; in onCreateView()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 143 private ModeListState mCurrentState; field in ModeListView.CurrentStateManager 146 return mCurrentState; in getCurrentState() 150 mCurrentState = state; in setCurrentState()
|