Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyResultMapper.java336 String meteringAreas = p.get("metering-areas"); in mapAe() local
337 Log.v(TAG, "mapAe - parameter dump; metering-areas: " + meteringAreas); in mapAe()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp786 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0)); in initialize()
1773 &validatedParams.meteringAreas); in set()
1775 res = validateAreas(validatedParams.meteringAreas, maxAeRegions, in set()
2042 size_t reqMeteringAreasSize = meteringAreas.size() * 5; in updateRequest()
2045 if (meteringAreas[j].weight != 0) { in updateRequest()
2047 normalizedXToArray(meteringAreas[j].left); in updateRequest()
2049 normalizedYToArray(meteringAreas[j].top); in updateRequest()
2051 normalizedXToArray(meteringAreas[j].right); in updateRequest()
2053 normalizedYToArray(meteringAreas[j].bottom); in updateRequest()
2060 reqMeteringAreas[i + 4] = meteringAreas[j].weight; in updateRequest()
[all …]
DParameters.h128 Vector<Area> meteringAreas; member
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp318 for (size_t i = 0; i < p.meteringAreas.size(); i++) { in dump()
320 p.meteringAreas[i].left, in dump()
321 p.meteringAreas[i].top, in dump()
322 p.meteringAreas[i].right, in dump()
323 p.meteringAreas[i].bottom, in dump()
324 p.meteringAreas[i].weight); in dump()
/frameworks/base/core/java/android/hardware/
DCamera.java3932 public void setMeteringAreas(List<Area> meteringAreas) { in setMeteringAreas() argument
3933 set(KEY_METERING_AREAS, meteringAreas); in setMeteringAreas()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1331 List&lt;Camera.Area&gt; meteringAreas = new ArrayList&lt;Camera.Area&gt;();
1334 meteringAreas.add(new Camera.Area(areaRect1, 600)); // set weight to 60%
1336 meteringAreas.add(new Camera.Area(areaRect2, 400)); // set weight to 40%
1337 params.setMeteringAreas(meteringAreas);