Home
last modified time | relevance | path

Searched refs:areas (Results 1 – 4 of 4) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java369 public void setMeteringAreas(List<Camera.Area> areas) { in setMeteringAreas() argument
371 if (areas != null) { in setMeteringAreas()
372 mMeteringAreas.addAll(areas); in setMeteringAreas()
415 public void setFocusAreas(List<Camera.Area> areas) { in setFocusAreas() argument
417 if (areas != null) { in setFocusAreas()
418 mFocusAreas.addAll(areas); in setFocusAreas()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2755 Vector<Parameters::Area> *areas) { in parseAreas() argument
2757 areas->clear(); in parseAreas()
2760 areas->push(); in parseAreas()
2775 areas->push(Parameters::Area( in parseAreas()
2782 status_t Parameters::validateAreas(const Vector<Parameters::Area> &areas, in validateAreas() argument
2787 if (areas.size() == 0) return BAD_VALUE; in validateAreas()
2788 if (areas.size() == 1) { in validateAreas()
2789 if (areas[0].left == 0 && in validateAreas()
2790 areas[0].top == 0 && in validateAreas()
2791 areas[0].right == 0 && in validateAreas()
[all …]
DParameters.h343 Vector<Area> *areas);
350 status_t validateAreas(const Vector<Area> &areas,
/frameworks/base/core/java/android/hardware/
DCamera.java2814 private void set(String key, List<Area> areas) { in set() argument
2815 if (areas == null) { in set()
2819 for (int i = 0; i < areas.size(); i++) { in set()
2820 Area area = areas.get(i); in set()
2833 if (i != areas.size() - 1) buffer.append(','); in set()