Home
last modified time | relevance | path

Searched refs:mTargetState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceStateMachine.java80 private TargetState mTargetState; field in SingleDeviceStateMachine
110 mTargetState = TargetState.CLOSED; in SingleDeviceStateMachine()
124 mTargetState = TargetState.OPENED; in requestOpen()
141 mTargetState = TargetState.CLOSED; in requestClose()
224 mTargetState = TargetState.CLOSED; in onDeviceOpenException()
270 if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.OPENED) { in update()
272 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.OPENED) { in update()
274 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.CLOSED) { in update()
276 } else if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.CLOSED) { in update()
318 mTargetState = TargetState.CLOSED; in executeClose()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusIndicatorView.java41 private ViewAnimState mTargetState; field in FocusIndicatorView
119 mTargetState = nextState; in onFocusChange()
122 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, mTargetState.x), in onFocusChange()
123 PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, mTargetState.y), in onFocusChange()
124 PropertyValuesHolder.ofFloat(View.SCALE_X, mTargetState.scaleX), in onFocusChange()
125 PropertyValuesHolder.ofFloat(View.SCALE_Y, mTargetState.scaleY)); in onFocusChange()
150 if (mTargetState != null) { in endCurrentAnimation()
151 applyState(mTargetState); in endCurrentAnimation()
152 mTargetState = null; in endCurrentAnimation()