Home
last modified time | relevance | path

Searched refs:Area (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java29 import java.awt.geom.Area;
56 private Area mArea = new Area();
64 public Area getJavaArea() { in getJavaArea()
79 public static Area combineShapes(Shape shape1, Shape shape2, int regionOp) { in combineShapes()
87 Area result = new Area(shape1); in combineShapes()
88 result.subtract(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
94 return new Area(shape2); in combineShapes()
98 Area result = new Area(shape1); in combineShapes()
99 result.intersect(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
105 return new Area(shape2); in combineShapes()
[all …]
DPath_Delegate.java30 import java.awt.geom.Area;
189 Area area = new Area(pathDelegate.mPath); in native_isRect()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java24 import android.hardware.Camera.Area;
59 public static final Camera.Area CAMERA_AREA_DEFAULT =
60 new Camera.Area(new Rect(NORMALIZED_RECTANGLE_DEFAULT),
92 public final Camera.Area meteringArea;
106 public MeteringData(Area meteringArea, Rect previewMetering, Rect reportedMetering) { in MeteringData()
295 public static String stringFromArea(Camera.Area area) { in stringFromArea()
319 public static String stringFromAreaList(List<Camera.Area> areaList) { in stringFromAreaList()
327 for (Camera.Area area : areaList) { in stringFromAreaList()
827 Camera.Area meteringArea; in convertMeteringRectangleToLegacy()
833 meteringArea = new Camera.Area(RECTANGLE_EMPTY, in convertMeteringRectangleToLegacy()
[all …]
DLegacyRequestMapper.java136 List<Camera.Area> meteringAreaList = convertMeteringRegionsToLegacy( in convertRequestMetadata()
150 List<Camera.Area> focusAreaList = convertMeteringRegionsToLegacy( in convertRequestMetadata()
481 private static List<Camera.Area> convertMeteringRegionsToLegacy( in convertMeteringRegionsToLegacy()
508 List<Camera.Area> meteringAreaList = new ArrayList<>(countMeteringAreas); in convertMeteringRegionsToLegacy()
DLegacyResultMapper.java383 List<Camera.Area> meteringAreaList, String regionName) { in getMeteringRectangles()
386 for (Camera.Area area : meteringAreaList) { in getMeteringRectangles()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java39 protected final List<Camera.Area> mMeteringAreas = new ArrayList<>();
40 protected final List<Camera.Area> mFocusAreas = new ArrayList<>();
369 public void setMeteringAreas(List<Camera.Area> areas) { in setMeteringAreas()
376 public List<Camera.Area> getMeteringAreas() { in getMeteringAreas()
377 return new ArrayList<Camera.Area>(mMeteringAreas); in getMeteringAreas()
415 public void setFocusAreas(List<Camera.Area> areas) { in setFocusAreas()
422 public List<Camera.Area> getFocusAreas() { in getFocusAreas()
423 return new ArrayList<Camera.Area>(mFocusAreas); in getFocusAreas()
DAndroidCamera2Settings.java284 List<android.hardware.Camera.Area> reference) { in legacyAreasToMeteringRectangles()
289 android.hardware.Camera.Area source = reference.get(index); in legacyAreasToMeteringRectangles()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h98 struct Area { struct
101 Area() {} in Area() argument
102 Area(int left, int top, int right, int bottom, int weight): in Area() argument
109 Vector<Area> focusingAreas;
128 Vector<Area> meteringAreas;
309 Vector<Area> *areas);
316 status_t validateAreas(const Vector<Area> &areas,
DParameters.cpp734 focusingAreas.add(Parameters::Area(0,0,0,0,0)); in initialize()
786 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0)); in initialize()
2483 Vector<Parameters::Area> *areas) { in parseAreas()
2503 areas->push(Parameters::Area( in parseAreas()
2510 status_t Parameters::validateAreas(const Vector<Parameters::Area> &areas, in validateAreas()
2538 for (Vector<Parameters::Area>::const_iterator a = areas.begin(); in validateAreas()
/frameworks/base/core/java/android/hardware/
DCamera.java2003 public static class Area { class in Camera
2010 public Area(Rect rect, int weight) { in Area() method in Camera.Area
2023 if (!(obj instanceof Area)) { in equals()
2026 Area a = (Area) obj; in equals()
2561 private void set(String key, List<Area> areas) { in set()
2567 Area area = areas.get(i); in set()
3855 public List<Area> getFocusAreas() { in getFocusAreas()
3865 public void setFocusAreas(List<Area> focusAreas) { in setFocusAreas()
3921 public List<Area> getMeteringAreas() { in getMeteringAreas()
3932 public void setMeteringAreas(List<Area> meteringAreas) { in setMeteringAreas()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java41 import java.awt.geom.Area;
71 private Area mClip = null;
496 Area area = null; in clip()
499 area = new Area(shape); in clip()
519 mClip = new Area(); in clip()
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd19 <li><a href="#delegate">Extend a Child View's Touchable Area</a></li>
210 <h2 id="delegate">Extend a Child View's Touchable Area</h2>
/frameworks/base/docs/html/distribute/essentials/quality/
Dcore.jd83 Area
261 Area
533 Area
691 Area
Dtablets.jd12 <li><a href="#use-extra-space">3. Use Extra Screen Area</a></li>
170 <div class="headerLine"><h2 id="use-extra-space">3. Take Advantage of Extra Screen Area</h2></div>
/frameworks/base/docs/html/design/handhelds/
Dindex.jd143 <h4>Content Area</h4>
/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%
1343 <p>The {@link android.hardware.Camera.Area} object contains two data parameters: A {@link
1348 <p>The {@link android.graphics.Rect} field in a {@link android.hardware.Camera.Area} object
1356 {@link android.hardware.Camera.Area} within a camera preview. The blue box shows the location and
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd461 and auto-exposure. Both features use the new {@link android.hardware.Camera.Area} class to specify
463 android.hardware.Camera.Area} class defines the bounds of the area with a {@link
475 java.util.List} of {@link android.hardware.Camera.Area} objects that indicate the areas to consider
478 android.hardware.Camera.Area} object and request that the camera focus on that area of the scene.
/frameworks/base/api/
Dcurrent.txt12085 public static deprecated class Camera.Area {
12086 ctor public Camera.Area(android.graphics.Rect, int);
12141 method public java.util.List<android.hardware.Camera.Area> getFocusAreas();
12154 method public java.util.List<android.hardware.Camera.Area> getMeteringAreas();
12199 method public void setFocusAreas(java.util.List<android.hardware.Camera.Area>);
12209 method public void setMeteringAreas(java.util.List<android.hardware.Camera.Area>);
/frameworks/base/docs/html/
Dsitemap.txt2955 http://developer.android.com/reference/android/hardware/Camera.Area.html