Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java116 private ZoomControlWheel mZoomControl; field in IndicatorControlWheel
166 mZoomControl = (ZoomControlWheel) findViewById(R.id.zoom_control); in initialize()
168 mZoomControl.setVisibility(View.VISIBLE); in initialize()
173 if (mZoomControl != null) { in initialize()
174 removeView(mZoomControl); in initialize()
220 if (mZoomControl != null) startIndex++; in getTouchIndicatorIndex()
249 if ((mCurrentLevel == 0) && (mZoomControl != null)) return 0; in getTouchIndicatorIndex()
276 if ((mZoomControl != null) && (index == 0)) { in dispatchTouchEvent()
277 mZoomControl.dispatchTouchEvent(event); in dispatchTouchEvent()
330 if (mZoomControl != null) { in rotateWheel()
[all …]
DIndicatorControlBar.java41 private ZoomControlBar mZoomControl; field in IndicatorControlBar
66 mZoomControl = (ZoomControlBar) findViewById(R.id.zoom_control); in initialize()
67 mZoomControl.setVisibility(View.VISIBLE); in initialize()
104 if (mZoomControl != null) { in onLayout()
105 mZoomControl.layout(padding + size, 0, width - padding - size, size); in onLayout()
126 if (mZoomControl != null) mZoomControl.setEnabled(enabled); in enableZoom()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java124 private ZoomControl mZoomControl; field in Camera
494 mZoomControl.setZoomMax(mZoomMax); in initializeZoom()
495 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom()
496 mZoomControl.setSmoothZoomSupported(mSmoothZoomSupported); in initializeZoom()
497 mZoomControl.setOnZoomChangeListener(new ZoomChangeListener()); in initializeZoom()
828 mZoomControl.setZoomIndex(value); in onZoomChange()
1201 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in onCreate()
1295 if (mZoomControl != null) mZoomControl.setEnabled(enable); in enableCameraControls()
1331 mIndicatorControlContainer, mZoomControl, mFocusAreaIndicator, mFaceView, in setOrientationIndicator()
2285 mZoomControl.setZoomIndex(0); in restorePreferences()
DVideoCamera.java267 private ZoomControl mZoomControl; field in VideoCamera
2084 mZoomControl.setZoomIndex(0); in restorePreferences()
2283 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in initializeZoom()
2291 mZoomControl.setZoomMax(mZoomMax); in initializeZoom()
2292 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom()
2293 mZoomControl.setSmoothZoomSupported(mSmoothZoomSupported); in initializeZoom()
2294 mZoomControl.setOnZoomChangeListener(new ZoomChangeListener()); in initializeZoom()
2306 mZoomControl.setZoomIndex(value); in onZoomChange()