Home
last modified time | relevance | path

Searched refs:MeteringRectangle (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableMeteringRectangle.java20 import android.hardware.camera2.params.MeteringRectangle;
31 public class MarshalQueryableMeteringRectangle implements MarshalQueryable<MeteringRectangle> {
35 private class MarshalerMeteringRectangle extends Marshaler<MeteringRectangle> {
36 protected MarshalerMeteringRectangle(TypeReference<MeteringRectangle> typeReference, in MarshalerMeteringRectangle()
42 public void marshal(MeteringRectangle value, ByteBuffer buffer) { in marshal()
57 public MeteringRectangle unmarshal(ByteBuffer buffer) { in unmarshal()
67 return new MeteringRectangle(xMin, yMin, width, height, weight); in unmarshal()
77 public Marshaler<MeteringRectangle> createMarshaler( in createMarshaler()
78 TypeReference<MeteringRectangle> managedType, int nativeType) { in createMarshaler()
84 TypeReference<MeteringRectangle> managedType, int nativeType) { in isTypeMappingSupported()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java56 public final class MeteringRectangle { class
91 public MeteringRectangle(int x, int y, int width, int height, int meteringWeight) { in MeteringRectangle() method in MeteringRectangle
112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { in MeteringRectangle() method in MeteringRectangle
134 public MeteringRectangle(Rect rect, int meteringWeight) { in MeteringRectangle() method in MeteringRectangle
225 return other instanceof MeteringRectangle && equals((MeteringRectangle)other); in equals()
238 public boolean equals(final MeteringRectangle other) { in equals()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java30 import android.hardware.camera2.params.MeteringRectangle;
62 private MeteringRectangle[] mAfRegions;
180 public synchronized void touchForAutoFocus(MeteringRectangle[] afRegions) in touchForAutoFocus()
198 public synchronized void startAutoFocus(MeteringRectangle[] afRegions) in startAutoFocus()
240 boolean forceActive, MeteringRectangle[] afRegions) throws CameraAccessException { in startAutoFocusLocked()
316 private void setAfRegions(MeteringRectangle[] afRegions) { in setAfRegions()
335 mAfRegions = new MeteringRectangle[] { in setDefaultAfRegions()
336 new MeteringRectangle(0, 0, 0, 0, MeteringRectangle.METERING_WEIGHT_DONT_CARE)}; in setDefaultAfRegions()
DCameraErrorCollector.java28 import android.hardware.camera2.params.MeteringRectangle;
441 MeteringRectangle[] expected, MeteringRectangle[] actual, in expectMeteringRegionsAreSimilar()
DCameraTestUtils.java45 import android.hardware.camera2.params.MeteringRectangle;
1651 public static MeteringRectangle[] getExpectedOutputRegion( in getExpectedOutputRegion()
1652 MeteringRectangle[] requestRegions, Rect cropRect){ in getExpectedOutputRegion()
1653 MeteringRectangle[] resultRegions = new MeteringRectangle[requestRegions.length]; in getExpectedOutputRegion()
1659 resultRegions[i] = new MeteringRectangle( in getExpectedOutputRegion()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java36 import android.hardware.camera2.params.MeteringRectangle;
176 MeteringRectangle[] aeRegions, MeteringRectangle[] awbRegions, in takePictureTestByCamera()
177 MeteringRectangle[] afRegions) throws Exception { in takePictureTestByCamera()
199 MeteringRectangle[] aeRegions, MeteringRectangle[] awbRegions, in takePictureTestByCamera()
200 MeteringRectangle[] afRegions, boolean addAeTriggerCancel) throws Exception { in takePictureTestByCamera()
286 MeteringRectangle[] resultAwbRegions = in takePictureTestByCamera()
330 MeteringRectangle[] resultAeRegions = in takePictureTestByCamera()
352 MeteringRectangle[] resultAfRegions = in takePictureTestByCamera()
DCamera2SwitchPreviewTest.java37 import android.hardware.camera2.params.MeteringRectangle;
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java800 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AE_REGIONS =
801 …id.hardware.camera2.params.MeteringRectangle[]>("android.control.aeRegions", android.hardware.came…
1248 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AF_REGIONS =
1249 …id.hardware.camera2.params.MeteringRectangle[]>("android.control.afRegions", android.hardware.came…
1850 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AWB_REGIONS =
1851 …d.hardware.camera2.params.MeteringRectangle[]>("android.control.awbRegions", android.hardware.came…
DCaptureRequest.java1397 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AE_REGIONS =
1398 …id.hardware.camera2.params.MeteringRectangle[]>("android.control.aeRegions", android.hardware.came…
1596 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AF_REGIONS =
1597 …id.hardware.camera2.params.MeteringRectangle[]>("android.control.afRegions", android.hardware.came…
1788 … public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AWB_REGIONS =
1789 …d.hardware.camera2.params.MeteringRectangle[]>("android.control.awbRegions", android.hardware.came…
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java24 import android.hardware.camera2.params.MeteringRectangle;
130 MeteringRectangle[] aeRegions = request.get(CONTROL_AE_REGIONS); in convertRequestMetadata()
148 MeteringRectangle[] afRegions = request.get(CONTROL_AF_REGIONS); in convertRequestMetadata()
486 MeteringRectangle[] meteringRegions, int maxNumMeteringAreas, String regionName) { in convertMeteringRegionsToLegacy()
496 List<MeteringRectangle> meteringRectangleList = new ArrayList<>(); in convertMeteringRegionsToLegacy()
497 for (MeteringRectangle rect : meteringRegions) { in convertMeteringRegionsToLegacy()
498 if (rect.getMeteringWeight() != MeteringRectangle.METERING_WEIGHT_DONT_CARE) { in convertMeteringRegionsToLegacy()
514 MeteringRectangle rect = meteringRectangleList.get(i); in convertMeteringRegionsToLegacy()
DLegacyResultMapper.java28 import android.hardware.camera2.params.MeteringRectangle;
342 MeteringRectangle[] meteringRectArray = getMeteringRectangles(activeArray, in mapAe()
362 MeteringRectangle[] meteringRectArray = getMeteringRectangles(activeArray, in mapAf()
384 private static MeteringRectangle[] getMeteringRectangles(Rect activeArray, ZoomData zoomData, in getMeteringRectangles()
386 List<MeteringRectangle> meteringRectList = new ArrayList<>(); in getMeteringRectangles()
403 return meteringRectList.toArray(new MeteringRectangle[0]); in getMeteringRectangles()
DParameterUtils.java26 import android.hardware.camera2.params.MeteringRectangle;
146 public MeteringRectangle toMetering() { in toMetering()
148 MeteringRectangle.METERING_WEIGHT_MIN, in toMetering()
149 MeteringRectangle.METERING_WEIGHT_MAX, in toMetering()
158 return new MeteringRectangle(x, y, w, h, weight); in toMetering()
801 Rect activeArray, MeteringRectangle meteringRect, ZoomData zoomData) { in convertMeteringRectangleToLegacy()
837 MeteringRectangle.METERING_WEIGHT_DONT_CARE); in convertMeteringRectangleToLegacy()
992 if (weight < MeteringRectangle.METERING_WEIGHT_MIN) { in convertCameraAreaToActiveArrayRectangle()
DLegacyMetadataMapper.java31 import android.hardware.camera2.params.MeteringRectangle;
1294 MeteringRectangle[] activeRegions = new MeteringRectangle[] { in createRequestTemplate()
1295 new MeteringRectangle(/*x*/0, /*y*/0, /*width*/activeArray.width() - 1, in createRequestTemplate()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java26 import android.hardware.camera2.params.MeteringRectangle;
292 private MeteringRectangle[] legacyAreasToMeteringRectangles( in legacyAreasToMeteringRectangles()
294 MeteringRectangle[] transformed = null; in legacyAreasToMeteringRectangles()
296 transformed = new MeteringRectangle[reference.size()]; in legacyAreasToMeteringRectangles()
315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top, in legacyAreasToMeteringRectangles()
DAndroidCamera2AgentImpl.java35 import android.hardware.camera2.params.MeteringRectangle;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java40 import android.hardware.camera2.params.MeteringRectangle;
714 new MeteringRectangle(/*x*/1, /*y*/2, /*width*/100, /*height*/200, /*weight*/5), in testReadWriteMeteringRectangle()
720 new MeteringRectangle[] { in testReadWriteMeteringRectangle()
721 new MeteringRectangle(/*x*/5, /*y*/6, /*width*/123, /*height*/456, /*weight*/7), in testReadWriteMeteringRectangle()
722 new MeteringRectangle(/*x*/7, /*y*/8, /*width*/456, /*height*/999, /*weight*/6), in testReadWriteMeteringRectangle()
723 new MeteringRectangle(/*x*/1, /*y*/2, /*width*/100, /*height*/200, /*weight*/5) in testReadWriteMeteringRectangle()
/frameworks/base/config/
Dpreloaded-classes1510 android.hardware.camera2.params.MeteringRectangle
Dhiddenapi-greylist-max-o.txt23709 Landroid/hardware/camera2/params/MeteringRectangle;->mHeight:I
23710 Landroid/hardware/camera2/params/MeteringRectangle;->mWeight:I
23711 Landroid/hardware/camera2/params/MeteringRectangle;->mWidth:I
23712 Landroid/hardware/camera2/params/MeteringRectangle;->mX:I
23713 Landroid/hardware/camera2/params/MeteringRectangle;->mY:I
Dboot-image-profile.txt33697 Landroid/hardware/camera2/params/MeteringRectangle;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12917 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
12920 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
12924 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
12989 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
12993 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
12998 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
13110 public final class MeteringRectangle {
13111 ctor public MeteringRectangle(int, int, int, int, int);
13112 ctor public MeteringRectangle(android.graphics.Point, android.util.Size, int);
13113 ctor public MeteringRectangle(android.graphics.Rect, int);
[all …]
/frameworks/base/api/
Dcurrent.txt17109 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17112 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17116 …hardware.camera2.CaptureRequest.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17190 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17194 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17200 ….hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_A…
17347 public final class MeteringRectangle {
17348 ctor public MeteringRectangle(int, int, int, int, int);
17349 ctor public MeteringRectangle(android.graphics.Point, android.util.Size, int);
17350 ctor public MeteringRectangle(android.graphics.Rect, int);
[all …]