HomeSort by relevance Sort by last modified time
    Searched refs:previewAspectRatio (Results 1 - 7 of 7) sorted by null

  /packages/apps/Camera2/src/com/android/camera/captureintent/resource/
ResourceSurfaceTextureNexus4Impl.java 70 final AspectRatio previewAspectRatio = AspectRatio.of(previewSize);
75 .updatePreviewAspectRatio(previewAspectRatio.toFloat());
82 if (previewAspectRatio.equals(AspectRatio.of16x9())) {
  /packages/apps/Camera2/src/com/android/camera/
CaptureLayoutHelper.java 239 * @param previewAspectRatio aspect ratio of the preview
245 float previewAspectRatio, int rotation) {
251 if (previewAspectRatio == TextureViewHelper.MATCH_SCREEN) {
260 if (previewAspectRatio < 1) {
261 previewAspectRatio = 1 / previewAspectRatio;
269 float spaceNeededAlongLongerEdge = shorterEdge * previewAspectRatio;
277 previewShorterEdge = longerEdge / previewAspectRatio;
292 } else if (previewAspectRatio > 14f / 9f) {
298 previewLongerEdge = shorterEdge * previewAspectRatio;
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyMetadataMapper.java 299 float previewAspectRatio = size.width * 1.0f / size.height;
301 if (Math.abs(jpegAspectRatio - previewAspectRatio) >=
309 size.width, size.height, previewAspectRatio));
    [all...]
  /device/moto/shamu/camera/QCamera2/HAL/
QCameraParameters.cpp     [all...]
  /device/huawei/angler/camera/QCamera2/HAL/
QCameraParameters.cpp     [all...]
  /device/lge/bullhead/camera/QCamera2/HAL/
QCameraParameters.cpp     [all...]
  /hardware/qcom/camera/QCamera2/HAL/
QCameraParameters.cpp     [all...]

Completed in 576 milliseconds