Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPendingAttachmentData.java50 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/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java92 private PredictionState mCurrentState; field in PredictionUiStateManager
115 mCurrentState = parseLastState(); in PredictionUiStateManager()
147 applyState(mCurrentState); in setTargetAppsView()
149 updateDependencies(mCurrentState); in setTargetAppsView()
180 mCurrentState = state; in applyState()
183 .setPredictedApps(mCurrentState.apps); in applyState()
210 (mPendingState == null ? mCurrentState : mPendingState); in dispatchOnChange()
296 if (mCurrentState.isEnabled != newState.isEnabled in canApplyPredictions()
297 || mCurrentState.apps.isEmpty() != newState.apps.isEmpty()) { in canApplyPredictions()
318 return mCurrentState; in getCurrentState()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DTriggerStateMachine.java57 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/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java34 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()
118 Log.i(this, "Broadcasted state change: %s", mCurrentState); in sendPhoneStateChangedBroadcast()
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java69 private CpmsState mCurrentState; field in CarPowerManagementService
185 mCurrentState = null; in release()
204 writer.print("mCurrentState:" + mCurrentState); in dump()
261 mCurrentState = state; in doHandlePowerStateChange()
507 } else if (mCurrentState == null) { in needPowerStateChangeLocked()
509 } else if (mCurrentState.equals(newState)) { in needPowerStateChangeLocked()
514 switch (mCurrentState.mState) { in needPowerStateChangeLocked()
534 + mCurrentState.name() + ", newState=" + newState.name()); in needPowerStateChangeLocked()
672 if (mCurrentState.mState == CpmsState.SHUTDOWN_PREPARE in signalComplete()
673 || mCurrentState.mState == CpmsState.SIMULATE_SLEEP) { in signalComplete()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java80 private @HvacPanelState int mCurrentState; field in HvacPanelController
142 mCurrentState = STATE_COLLAPSED; in HvacPanelController()
507 if (mCurrentState != STATE_COLLAPSED) {
508 transitionState(mCurrentState, STATE_COLLAPSED);
514 if(mCurrentState != STATE_COLLAPSED) { in toggleHvacUi()
527 if (mCurrentState != STATE_FULL_EXPANDED) {
528 transitionState(mCurrentState, STATE_FULL_EXPANDED);
589 mCurrentState = mEndState; in onTransitionComplete()
/packages/services/Car/evs/app/
DEvsStateControl.cpp50 mCurrentState(OFF) { in EvsStateControl()
284 if (mCurrentState == desiredState) { in configureEvsPipeline()
290 ALOGD(" Current state %d has %zu cameras", mCurrentState, in configureEvsPipeline()
291 mCameraList[mCurrentState].size()); in configureEvsPipeline()
368 mCurrentState = desiredState; in configureEvsPipeline()
DEvsStateControl.h94 State mCurrentState = OFF; variable
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java102 private ChannelState mCurrentState = null; field in TestTvInputService.SimpleSessionImpl
179 mCurrentState = null; in onRelease()
221 mCurrentState = null; in onTune()
318 oldState = mCurrentState; in run()
324 mCurrentState = newState; in run()
328 mCurrentState = null; in run()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java194 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/services/Car/car-lib/src/android/car/
DCarProjectionManager.java644 mCarProjectionStatusListener.mCurrentState, in registerProjectionStatusListener()
825 private @ProjectionState int mCurrentState; field in CarProjectionManager.CarProjectionStatusListenerImpl
842 mCurrentState = projectionState; in onProjectionStatusChanged()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java143 private ModeListState mCurrentState; field in ModeListView.CurrentStateManager
146 return mCurrentState; in getCurrentState()
150 mCurrentState = state; in setCurrentState()