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.java338 String meteringAreas = p.get("metering-areas"); in mapAe() local
339 Log.v(TAG, "mapAe - parameter dump; metering-areas: " + meteringAreas); in mapAe()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp805 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0)); in initialize()
1806 &validatedParams.meteringAreas); in set()
1808 res = validateAreas(validatedParams.meteringAreas, maxAeRegions, in set()
2071 size_t reqMeteringAreasSize = meteringAreas.size() * 5; in updateRequest()
2074 if (meteringAreas[j].weight != 0) { in updateRequest()
2076 normalizedXToArray(meteringAreas[j].left); in updateRequest()
2078 normalizedYToArray(meteringAreas[j].top); in updateRequest()
2080 normalizedXToArray(meteringAreas[j].right); in updateRequest()
2082 normalizedYToArray(meteringAreas[j].bottom); in updateRequest()
2089 reqMeteringAreas[i + 4] = meteringAreas[j].weight; in updateRequest()
[all …]
DParameters.h130 Vector<Area> meteringAreas; member
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp302 for (size_t i = 0; i < p.meteringAreas.size(); i++) { in dumpClient()
304 p.meteringAreas[i].left, in dumpClient()
305 p.meteringAreas[i].top, in dumpClient()
306 p.meteringAreas[i].right, in dumpClient()
307 p.meteringAreas[i].bottom, in dumpClient()
308 p.meteringAreas[i].weight); in dumpClient()
/frameworks/base/core/java/android/hardware/
DCamera.java3940 public void setMeteringAreas(List<Area> meteringAreas) { in setMeteringAreas() argument
3941 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);