Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java119 private int mZoomState = ZOOM_STOPPED; field in Camera
479 if (mZoomState == ZOOM_START) { in onZoomStateChanged()
480 mZoomState = ZOOM_STOPPING; in onZoomStateChanged()
506 if (mTargetZoomValue != index && mZoomState != ZOOM_STOPPED) { in onZoomValueChanged()
508 if (mZoomState == ZOOM_START) { in onZoomValueChanged()
509 mZoomState = ZOOM_STOPPING; in onZoomValueChanged()
512 } else if (mZoomState == ZOOM_STOPPED && mZoomValue != index) { in onZoomValueChanged()
515 mZoomState = ZOOM_START; in onZoomValueChanged()
834 if (stopped && mZoomState != ZOOM_STOPPED) { in onZoomChange()
837 mZoomState = ZOOM_START; in onZoomChange()
[all …]
DVideoCamera.java262 private int mZoomState = ZOOM_STOPPED; field in VideoCamera
941 mZoomState = ZOOM_STOPPED; in startPreview()
2274 if (mZoomState == ZOOM_START) { in onZoomStateChanged()
2275 mZoomState = ZOOM_STOPPING; in onZoomStateChanged()
2312 if (stopped && mZoomState != ZOOM_STOPPED) { in onZoomChange()
2315 mZoomState = ZOOM_START; in onZoomChange()
2317 mZoomState = ZOOM_STOPPED; in onZoomChange()
2328 if (mTargetZoomValue != index && mZoomState != ZOOM_STOPPED) { in onZoomValueChanged()
2330 if (mZoomState == ZOOM_START) { in onZoomValueChanged()
2331 mZoomState = ZOOM_STOPPING; in onZoomValueChanged()
[all …]