Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java55 private RectF mPreviewArea = new RectF(); field in TextureViewHelper
129 mPreviewArea.set(0, 0, mWidth, mHeight); in clearTransform()
130 onPreviewAreaChanged(mPreviewArea); in clearTransform()
195 mPreviewArea = mCaptureLayoutHelper.getPreviewRect(); in updateTransformFullScreen()
196 onPreviewAreaChanged(mPreviewArea); in updateTransformFullScreen()
230 mPreviewArea.set(0, 0, mWidth, mHeight);
231 matrix.mapRect(mPreviewArea);
232 onPreviewAreaChanged(mPreviewArea);
398 return new RectF(mPreviewArea);
443 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()
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java120 private LayoutNotifyView mPreviewArea; field in PanoramaModule
619 mPreviewArea.setVisibility(View.VISIBLE); in showTooFastIndication()
629 mPreviewArea.setVisibility(View.INVISIBLE); in hideTooFastIndication()
681 mPreviewArea = (LayoutNotifyView) mRootView.findViewById(R.id.pano_preview_area); in setViews()
682 mPreviewArea.setOnLayoutChangeListener(this); in setViews()
1092 int w = mPreviewArea.getWidth(); in onResumeAfterSuper()
1093 int h = mPreviewArea.getHeight(); in onResumeAfterSuper()
1241 int w = mPreviewArea.getWidth(); in onPostExecute()
1242 int h = mPreviewArea.getHeight(); in onPostExecute()