Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp735 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0)); in initialize()
1704 &validatedParams.meteringAreas); in set()
1706 res = validateAreas(validatedParams.meteringAreas, max3aRegions, in set()
1964 size_t reqMeteringAreasSize = meteringAreas.size() * 5; in updateRequest()
1967 if (meteringAreas[j].weight != 0) { in updateRequest()
1969 normalizedXToArray(meteringAreas[j].left); in updateRequest()
1971 normalizedYToArray(meteringAreas[j].top); in updateRequest()
1973 normalizedXToArray(meteringAreas[j].right); in updateRequest()
1975 normalizedYToArray(meteringAreas[j].bottom); in updateRequest()
1982 reqMeteringAreas[i + 4] = meteringAreas[j].weight; in updateRequest()
DParameters.h117 Vector<Area> meteringAreas; member
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp314 for (size_t i = 0; i < p.meteringAreas.size(); i++) { in dump()
316 p.meteringAreas[i].left, in dump()
317 p.meteringAreas[i].top, in dump()
318 p.meteringAreas[i].right, in dump()
319 p.meteringAreas[i].bottom, in dump()
320 p.meteringAreas[i].weight); in dump()
/frameworks/base/core/java/android/hardware/
DCamera.java3643 public void setMeteringAreas(List<Area> meteringAreas) { in setMeteringAreas() argument
3644 set(KEY_METERING_AREAS, meteringAreas); in setMeteringAreas()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1324 List&lt;Camera.Area&gt; meteringAreas = new ArrayList&lt;Camera.Area&gt;();
1327 meteringAreas.add(new Camera.Area(areaRect1, 600)); // set weight to 60%
1329 meteringAreas.add(new Camera.Area(areaRect2, 400)); // set weight to 40%
1330 params.setMeteringAreas(meteringAreas);