Home
last modified time | relevance | path

Searched refs:ParamsUtils (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java26 import android.hardware.camera2.utils.ParamsUtils;
89 int aberrationMode = ParamsUtils.getOrDefault(request, in convertRequestMetadata()
190 int compensation = ParamsUtils.getOrDefault(request, in convertRequestMetadata()
226 int afMode = ParamsUtils.getOrDefault(request, CONTROL_AF_MODE, in convertRequestMetadata()
275 int captureIntent = ParamsUtils.getOrDefault(request, in convertRequestMetadata()
318 int controlMode = ParamsUtils.getOrDefault(request, CONTROL_MODE, in convertRequestMetadata()
323 int sceneMode = ParamsUtils.getOrDefault(request, CONTROL_SCENE_MODE, in convertRequestMetadata()
352 int effectMode = ParamsUtils.getOrDefault(request, CONTROL_EFFECT_MODE, in convertRequestMetadata()
370 int testPatternMode = ParamsUtils.getOrDefault(request, SENSOR_TEST_PATTERN_MODE, in convertRequestMetadata()
403 params.setRotation(ParamsUtils.getOrDefault(request, JPEG_ORIENTATION, in convertRequestMetadata()
[all …]
DLegacyFaceDetectMapper.java29 import android.hardware.camera2.utils.ParamsUtils;
129 int fdMode = ParamsUtils.getOrDefault(captureRequest, STATISTICS_FACE_DETECT_MODE, in processFaceDetectMode()
142 int sceneMode = ParamsUtils.getOrDefault(captureRequest, CONTROL_SCENE_MODE, in processFaceDetectMode()
DParameterUtils.java30 import android.hardware.camera2.utils.ParamsUtils;
523 return ParamsUtils.createRect(cropRect); in getPreviewCropRectangleUnzoomed()
563 return ParamsUtils.createRect(shrunkRect); in shrinkToSameAspectRatioCentered()
593 return getAvailableCropRectangles(params, activeArray, ParamsUtils.createSize(activeArray)); in getAvailableZoomCropRectangles()
669 ParamsUtils.convertRectF(unzoomedStreamCrop, /*out*/scaledRect); in getAvailableCropRectangles()
678 Rect intRect = ParamsUtils.createRect(scaledRect); in getAvailableCropRectangles()
819 Rect normalizedRegionUnbounded = ParamsUtils.mapRect(transform, meteringRect.getRect()); in convertMeteringRectangleToLegacy()
981 Rect reportedMetering = ParamsUtils.mapRect(transform, area.rect); in convertCameraAreaToActiveArrayRectangle()
DLegacyFocusStateMapper.java24 import android.hardware.camera2.utils.ParamsUtils;
87 int afTrigger = ParamsUtils.getOrDefault(captureRequest, CONTROL_AF_TRIGGER, in processRequestTriggers()
DLegacyResultMapper.java30 import android.hardware.camera2.utils.ParamsUtils;
154 int captureIntent = ParamsUtils.getOrDefault(request, in convertResultMetadata()
167 int controlMode = ParamsUtils.getOrDefault(request, CaptureRequest.CONTROL_MODE, in convertResultMetadata()
DLegacyMetadataMapper.java36 import android.hardware.camera2.utils.ParamsUtils;
475 m.set(CONTROL_AE_COMPENSATION_STEP, ParamsUtils.createRational(step)); in mapControlAe()
896 Rect activeArrayRect = ParamsUtils.createRect(largestJpegSize); in mapSensor()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java31 public class ParamsUtils { class
197 private ParamsUtils() { in ParamsUtils() method in ParamsUtils