/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlBar.java | 41 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()
|
D | IndicatorControlWheel.java | 116 private ZoomControlWheel mZoomControl; field in IndicatorControlWheel 167 mZoomControl = (ZoomControlWheel) findViewById(R.id.zoom_control); in initialize() 168 mZoomControl.setVisibility(View.VISIBLE); in initialize() 213 if (mZoomControl != null) startIndex++; in getTouchIndicatorIndex() 242 if ((mCurrentLevel == 0) && (mZoomControl != null)) return 0; in getTouchIndicatorIndex() 269 if ((mZoomControl != null) && (index == 0)) { in dispatchTouchEvent() 270 mZoomControl.dispatchTouchEvent(event); in dispatchTouchEvent() 323 if (mZoomControl != null) { in rotateWheel() 324 mZoomControl.rotate(mChildRadians[0] in rotateWheel() 364 if (view == mZoomControl) { in onLayout() [all …]
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | IndicatorControlBar.java | 109 if (mZoomControl != null) { in onLayout() 110 mZoomControl.layout(0, padding + size, size, in onLayout() 127 if (mZoomControl != null) { in onLayout() 128 mZoomControl.layout(padding + size, 0, width - padding - size, size); in onLayout() 151 if (mZoomControl != null) mZoomControl.setEnabled(enabled); in enableZoom()
|
D | IndicatorControl.java | 46 protected ZoomControl mZoomControl; field in IndicatorControl 130 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in initializeZoomControl() 131 mZoomControl.setVisibility(View.VISIBLE); in initializeZoomControl() 132 } else if (mZoomControl != null) { in initializeZoomControl() 133 mZoomControl.setVisibility(View.GONE); in initializeZoomControl() 134 mZoomControl = null; in initializeZoomControl()
|
D | IndicatorControlWheel.java | 284 if (mZoomControl != null) { in getTouchIndicatorIndex() 352 if ((mCurrentLevel == 0) && (mZoomControl != null)) return 0; in getTouchIndicatorIndex() 394 if ((mZoomControl != null) && (index == 0)) { in dispatchTouchEvent() 395 mZoomControl.dispatchTouchEvent(event); in dispatchTouchEvent() 448 if (mZoomControl != null) { in rotateWheel() 449 mZoomControl.rotate(mChildRadians[0] in rotateWheel() 501 if (view == mZoomControl) { in onLayout() 519 if (mZoomControl != null) { in presetFirstLevelChildRadians() 667 if (mZoomControl != null) mZoomControl.setEnabled(enabled); in enableZoom()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Camera.java | 124 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() 1188 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in onCreate() 1282 if (mZoomControl != null) mZoomControl.setEnabled(enable); in enableCameraControls() 1318 mIndicatorControlContainer, mZoomControl, mFocusAreaIndicator, mFaceView, in setOrientationIndicator() 2267 mZoomControl.setZoomIndex(0); in restorePreferences()
|
D | VideoCamera.java | 267 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()
|
/packages/apps/Camera/src/com/android/camera/ |
D | Camera.java | 120 private ZoomControl mZoomControl; field in Camera 527 mZoomControl.setZoomMax(mZoomMax); in initializeZoom() 528 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom() 529 mZoomControl.setOnZoomChangeListener(new ZoomChangeListener()); in initializeZoom() 1322 if (mZoomControl != null) mZoomControl.setEnabled(enable); in enableCameraControls() 1358 mIndicatorControlContainer, mZoomControl, mFocusAreaIndicator, mFaceView, in setOrientationIndicator() 1713 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in initializeMiscControls() 2336 mZoomControl.setZoomIndex(0); in restorePreferences()
|
D | VideoCamera.java | 218 private ZoomControl mZoomControl; field in VideoCamera 2109 mZoomControl.setZoomIndex(0); in restorePreferences() 2319 mZoomControl = (ZoomControl) findViewById(R.id.zoom_control); in initializeZoom() 2325 mZoomControl.setZoomMax(mZoomMax); in initializeZoom() 2326 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom() 2327 mZoomControl.setOnZoomChangeListener(new ZoomChangeListener()); in initializeZoom()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorActivity.java | 179 private ZoomControl mZoomControl; field in VideoEditorActivity 428 mZoomControl = ((ZoomControl)findViewById(R.id.editor_zoom)); in onCreate() 429 mZoomControl.setMax(MAX_ZOOM_LEVEL); in onCreate() 430 mZoomControl.setOnZoomChangeListener(new ZoomControl.OnZoomChangeListener() { in onCreate() 1337 mZoomControl.setProgress(level);
|