Searched refs:mPreviewSize (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceSurfaceTextureImpl.java | 41 private Size mPreviewSize; field in ResourceSurfaceTextureImpl 72 mPreviewSize = new Size(0, 0); in ResourceSurfaceTextureImpl() 88 return mPreviewSize; in getPreviewSize() 99 if (!mPreviewSize.equals(previewSize)) { in setPreviewSize() 100 mPreviewSize = previewSize; in setPreviewSize() 115 mSurfaceTexture.setDefaultBufferSize(mPreviewSize.width(), mPreviewSize.height()); in setPreviewSize() 140 if (mPreviewSize.getWidth() == 0 || mPreviewSize.getHeight() == 0) { in updatePreviewTransform() 150 mPreviewLayoutSize, mPreviewSize); in updatePreviewTransform()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCamera.java | 77 private Size mPreviewSize; field in QrCamera 169 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter() 170 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 171 mParameters.setPictureSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 323 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix() 324 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix() 343 final Rect frame = mScannerCallback.getFramePosition(mPreviewSize, mCameraOrientation); in getFrameImage()
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusRingView.java | 58 private RectF mPreviewSize; field in FocusRingView 159 mPreviewSize = previewArea; in configurePreviewDimensions() 174 if (mPreviewSize != null) { in onDraw() 175 canvas.clipRect(mPreviewSize); in onDraw() 197 if (mPreviewSize != null && (mPreviewSize.width() * mPreviewSize.height() > 0.01f)) { in computeCenter() 199 return new Point((int) mPreviewSize.centerX(), (int) mPreviewSize.centerY()); in computeCenter()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 84 private Size mPreviewSize; field in QrCamera 176 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter() 177 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 330 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix() 331 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix() 350 final Rect frame = mScannerCallback.getFramePosition(mPreviewSize, mCameraOrientation); in getFrameImage() 352 mPreviewSize.getWidth(), mPreviewSize.getHeight()); in getFrameImage()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 66 private Size mPreviewSize; field in FaceEnrollPreviewFragment 123 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 261 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class)); in setUpCameraOutputs() 312 float scaleX = (float) viewWidth / mPreviewSize.getWidth(); in configureTransform() 313 float scaleY = (float) viewHeight / mPreviewSize.getHeight(); in configureTransform()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 65 private Size mPreviewSize; field in FaceEnrollPreviewFragment 122 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 260 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class)); in setUpCameraOutputs() 311 float scaleX = (float) viewWidth / mPreviewSize.getWidth(); in configureTransform() 312 float scaleY = (float) viewHeight / mPreviewSize.getHeight(); in configureTransform()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | DrawableTileSource.java | 36 private int mPreviewSize; field in DrawableTileSource 43 mPreviewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in DrawableTileSource() 68 if (mPreviewSize == 0) { in getPreview()
|