Home
last modified time | relevance | path

Searched refs:mFocusState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/focus/
DAutoFocusRing.java58 if (mFocusState == FocusState.STATE_ENTER) { in draw()
62 } else if (mFocusState == FocusState.STATE_FADE_OUT) { in draw()
66 } else if (mFocusState == FocusState.STATE_HARD_STOP) { in draw()
71 } else if (mFocusState == FocusState.STATE_INACTIVE) { in draw()
80 if (mFocusState == FocusState.STATE_INACTIVE) { in processStates()
84 if (mFocusState == FocusState.STATE_ENTER && t > mEnterStartMillis + mEnterDurationMillis) { in processStates()
85 mFocusState = FocusState.STATE_ACTIVE; in processStates()
88 if (mFocusState == FocusState.STATE_ACTIVE && !mRingRadius.isActive()) { in processStates()
89 mFocusState = FocusState.STATE_FADE_OUT; in processStates()
93 … if (mFocusState == FocusState.STATE_FADE_OUT && t > mExitStartMillis + mExitDurationMillis) { in processStates()
[all …]
DManualFocusRing.java54 if (mFocusState == FocusState.STATE_FADE_OUT) { in draw()
57 } else if (mFocusState == FocusState.STATE_HARD_STOP) { in draw()
61 } else if (mFocusState == FocusState.STATE_INACTIVE) { in draw()
70 if (mFocusState == FocusState.STATE_INACTIVE) { in processStates()
74 if (mFocusState == FocusState.STATE_ENTER in processStates()
76 mFocusState = FocusState.STATE_ACTIVE; in processStates()
79 if (mFocusState == FocusState.STATE_ACTIVE && !mRingRadius.isActive()) { in processStates()
80 mFocusState = FocusState.STATE_FADE_OUT; in processStates()
84 … if (mFocusState == FocusState.STATE_FADE_OUT && t > mExitStartMillis + mExitDurationMillis) { in processStates()
85 mFocusState = FocusState.STATE_INACTIVE; in processStates()
[all …]
DFocusRingRenderer.java63 protected FocusState mFocusState = FocusState.STATE_INACTIVE; field in FocusRingRenderer
121 if (mFocusState == FocusState.STATE_FADE_OUT in setRadius()
124 mFocusState = FocusState.STATE_ENTER; in setRadius()
136 return mFocusState != FocusState.STATE_INACTIVE; in isActive()
143 return mFocusState == FocusState.STATE_FADE_OUT in isExiting()
144 || mFocusState == FocusState.STATE_HARD_STOP; in isExiting()
151 return mFocusState == FocusState.STATE_ENTER; in isEntering()
159 if (mFocusState != FocusState.STATE_INACTIVE) { in start()
167 mFocusState = FocusState.STATE_ENTER; in start()
184 mFocusState = FocusState.STATE_FADE_OUT; in exit()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DMetadataCallback.java34 private final Updatable<Integer> mFocusState; field in MetadataCallback
42 mFocusState = focusState; in MetadataCallback()
64 mFocusState.update(focusState); in updateFocusState()