Home
last modified time | relevance | path

Searched refs:previewArea (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java65 public void onPreviewAreaChanged(RectF previewArea) {
66 mPreviewRect = previewArea;
67 mCountdownView.onPreviewAreaChanged(previewArea);
68 mProgressOverlay.setBounds(previewArea);
77 params.width = (int) Math.ceil((double) previewArea.width());
79 params.height = Math.round(previewArea.height());
81 Math.round(previewArea.left), Math.round(previewArea.top), 0, 0);
/packages/apps/Camera2/src/com/android/camera/
DPhotoUI.java152 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
154 mFaceView.onPreviewAreaChanged(previewArea); in onPreviewAreaChanged()
156 mCountdownView.onPreviewAreaChanged(previewArea); in onPreviewAreaChanged()
224 public void onPreviewAreaChanged(RectF previewArea) { in initIntentReviewImageView()
227 params.width = (int) previewArea.width(); in initIntentReviewImageView()
228 params.height = (int) previewArea.height(); in initIntentReviewImageView()
229 params.setMargins((int) previewArea.left, (int) previewArea.top, 0, 0); in initIntentReviewImageView()
DCaptureModuleUI.java180 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
182 mCountdownView.onPreviewAreaChanged(previewArea); in onPreviewAreaChanged()
183 mProgressOverlay.setBounds(previewArea); in onPreviewAreaChanged()
DTextureViewHelper.java376 private void onPreviewAreaChanged(final RectF previewArea) {
387 listener.onPreviewAreaChanged(previewArea);
DFocusOverlayManager.java196 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
197 setPreviewRect(CameraUtil.rectFToRect(previewArea)); in onPreviewAreaChanged()
DCaptureModule.java187 public void onPreviewAreaChanged(RectF previewArea) {
188 mPreviewArea = previewArea;
189 mFocusController.configurePreviewDimensions(previewArea);
/packages/apps/Camera2/src/com/android/camera/ui/
DGridLines.java64 public void onPreviewAreaChanged(final RectF previewArea) { in onPreviewAreaChanged() argument
65 setDrawBounds(previewArea); in onPreviewAreaChanged()
68 private void setDrawBounds(final RectF previewArea) { in setDrawBounds() argument
69 mDrawBounds = new RectF(previewArea); in setDrawBounds()
DPreviewOverlay.java201 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
202 mZoomProcessor.layout((int) previewArea.left, (int) previewArea.top, in onPreviewAreaChanged()
203 (int) previewArea.right, (int) previewArea.bottom); in onPreviewAreaChanged()
DCountDownView.java81 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
82 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
DCaptureAnimationOverlay.java134 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
135 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
DFaceView.java195 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
196 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
DPreviewStatusListener.java57 public void onPreviewAreaChanged(RectF previewArea); in onPreviewAreaChanged() argument
DModeListView.java1367 public void onPreviewAreaChanged(RectF previewArea) { in onPreviewAreaChanged() argument
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusController.java118 public void configurePreviewDimensions(final RectF previewArea) { in configurePreviewDimensions() argument
122 Log.v(TAG, "configurePreviewDimensions(" + previewArea + ")"); in configurePreviewDimensions()
123 mFocusRing.configurePreviewDimensions(previewArea); in configurePreviewDimensions()
DFocusRingView.java158 public void configurePreviewDimensions(RectF previewArea) { in configurePreviewDimensions() argument
159 mPreviewSize = previewArea; in configurePreviewDimensions()
DFocusRing.java71 void configurePreviewDimensions(RectF previewArea); in configurePreviewDimensions() argument
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java441 final int previewArea = previewSize.width * previewSize.height; in getBestPictureSize() local
443 int areaDifference = Math.abs(size.getWidth() * size.getHeight() - previewArea); in getBestPictureSize()