Home
last modified time | relevance | path

Searched refs:mPreviewArea (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java56 private RectF mPreviewArea = new RectF(); field in TextureViewHelper
130 mPreviewArea.set(0, 0, mWidth, mHeight); in clearTransform()
131 onPreviewAreaChanged(mPreviewArea); in clearTransform()
196 mPreviewArea = mCaptureLayoutHelper.getPreviewRect(); in updateTransformFullScreen()
197 onPreviewAreaChanged(mPreviewArea); in updateTransformFullScreen()
231 mPreviewArea.set(0, 0, mWidth, mHeight);
232 matrix.mapRect(mPreviewArea);
233 onPreviewAreaChanged(mPreviewArea);
399 return new RectF(mPreviewArea);
444 if (mPreviewArea.width() == 0 || mPreviewArea.height() == 0) {
[all …]
DCaptureModule.java188 mPreviewArea = previewArea;
335 RectF mPreviewArea; field in CaptureModule
562 new Size((int) mPreviewArea.width(), (int) mPreviewArea.height())); in createAndStartCaptureSession()
574 new Size((int) mPreviewArea.width(), (int) mPreviewArea.height())); in createAndStartUntrackedCaptureSession()
911 points[0] = (viewX - mPreviewArea.left) / mPreviewArea.width();
912 points[1] = (viewY - mPreviewArea.top) / mPreviewArea.height();
929 viewX - mPreviewArea.left,
930 viewY - mPreviewArea.top,
931 mPreviewArea.width(),
932 mPreviewArea.height());
/packages/apps/Camera2/src/com/android/camera/ui/
DFaceView.java74 private final RectF mPreviewArea = new RectF(); field in FaceView
157 rw = (int) mPreviewArea.width(); in onDraw()
158 rh = (int) mPreviewArea.height(); in onDraw()
186 mRect.offset(mPreviewArea.left, mPreviewArea.top); in onDraw()
196 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
DCountDownView.java45 private final RectF mPreviewArea = new RectF(); field in CountDownView
82 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
113 mRemainingSecondsView.setTranslationX(mPreviewArea.centerX() - textWidth / 2); in startFadeOutAnimation()
114 mRemainingSecondsView.setTranslationY(mPreviewArea.centerY() - textHeight / 2); in startFadeOutAnimation()
DCaptureAnimationOverlay.java52 private final RectF mPreviewArea = new RectF(); field in CaptureAnimationOverlay
135 mPreviewArea.set(previewArea); in onPreviewAreaChanged()
142 canvas.drawRect(mPreviewArea, mPaint); in onDraw()
143 canvas.clipRect(mPreviewArea); in onDraw()