Home
last modified time | relevance | path

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

12

/frameworks/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 …]
DBaseCanvas_Delegate.java35 import java.awt.geom.Area;
362 Area outerArea = new Area(outerRect); in nDrawDoubleRoundRect()
363 Area innerArea = new Area(innerRect); in nDrawDoubleRoundRect()
DPath_Delegate.java31 import java.awt.geom.Area;
200 Area area = new Area(pathDelegate.mPath); in nIsRect()
/frameworks/base/core/java/android/service/autofill/augmented/
DPresentationParams.java52 public Area getSuggestionArea() { in getSuggestionArea()
65 public abstract static class Area { class in PresentationParams
72 private Area(@NonNull AutofillProxy proxy, @NonNull Rect bounds) { in Area() method in PresentationParams.Area
100 private final Area mSuggestionArea;
103 mSuggestionArea = new Area(proxy, rect) {}; in SystemPopupPresentationParams()
107 public Area getSuggestionArea() { in getSuggestionArea()
DFillWindow.java31 import android.service.autofill.augmented.PresentationParams.Area;
102 public boolean update(@NonNull Area area, @NonNull View rootView, long flags) { in update()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.h37 void updateBufferArea(const Area& bufferArea);
48 Area mBufferArea = {-1, -1};
62 const Area& bufferArea, const Hwc2TestLayers* testLayers,
77 void updateBufferArea(const Area& bufferArea);
89 Area mBufferArea = {-1, -1};
DHwc2TestProperties.h55 } Area; typedef
139 class Hwc2TestBufferArea : public Hwc2TestProperty<Area> {
141 Hwc2TestBufferArea(Hwc2TestCoverage coverage, const Area& displayArea);
158 Area mDisplayArea;
164 std::vector<Area> mBufferAreas;
272 Hwc2TestDisplayFrame(Hwc2TestCoverage coverage, const Area& displayArea);
284 Area mDisplayArea;
309 explicit Hwc2TestSourceCrop(Hwc2TestCoverage coverage, const Area& bufferArea = {0, 0});
313 void updateBufferArea(const Area& bufferArea);
323 Area mBufferArea;
[all …]
DHwc2TestLayers.h34 Hwc2TestCoverage coverage, const Area& displayArea);
37 Hwc2TestCoverage coverage, const Area& displayArea,
62 Area getBufferArea(hwc2_layer_t layer) const;
81 Area mDisplayArea;
DHwc2TestClientTarget.h37 bool clearClientTarget, const Area& displayArea,
48 const Area& displayArea);
55 Area getBufferArea() const;
DHwc2TestClientTarget.cpp26 const Area& displayArea, buffer_handle_t* outHandle, in getBuffer()
52 Hwc2TestCoverage coverage, const Area& displayArea) in Hwc2TestClientTargetSupport()
89 Area Hwc2TestClientTargetSupport::getBufferArea() const in getBufferArea()
DHwc2TestLayer.h34 Hwc2TestLayer(Hwc2TestCoverage coverage, const Area& displayArea);
36 Hwc2TestLayer(Hwc2TestCoverage coverage, const Area& displayArea,
53 Area getBufferArea() const;
DHwc2TestLayer.cpp29 const Area& displayArea) in Hwc2TestLayer()
34 const Area& displayArea, const std::unordered_map<Hwc2TestPropertyName, in Hwc2TestLayer()
128 Area Hwc2TestLayer::getBufferArea() const in getBufferArea()
DHwc2TestLayers.cpp22 Hwc2TestCoverage coverage, const Area& displayArea) in Hwc2TestLayers()
27 Hwc2TestCoverage coverage, const Area& displayArea, in Hwc2TestLayers()
140 Area Hwc2TestLayers::getBufferArea(hwc2_layer_t layer) const in getBufferArea()
DHwc2TestProperties.cpp31 const Area& displayArea) in Hwc2TestBufferArea()
44 const Area& curr = get(); in dump()
93 const Area& curr = get(); in updateDependents()
382 const Area& displayArea) in Hwc2TestDisplayFrame()
466 const Area& bufferArea) in Hwc2TestSourceCrop()
486 void Hwc2TestSourceCrop::updateBufferArea(const Area& bufferArea) in updateBufferArea()
558 void Hwc2TestSurfaceDamage::updateBufferArea(const Area& bufferArea) in updateBufferArea()
DHwc2TestBuffer.cpp79 void initialize(const Area& bufferArea, android_pixel_format_t format, in initialize()
360 void Hwc2TestBuffer::updateBufferArea(const Area& bufferArea) in updateBufferArea()
471 android_pixel_format_t format, const Area& bufferArea, in compositeBufferFromLayers()
692 int32_t* outFence, const Area& bufferArea, in get()
718 void Hwc2TestVirtualBuffer::updateBufferArea(const Area& bufferArea) in updateBufferArea()
DHwc2Test.cpp1255 Area displayArea; in setLayerProperty()
1287 Area displayArea; in setLayerPropertyUpdate()
1320 Area displayArea; in setLayerProperties()
1358 Area displayArea; in setLayerPropertyBadLayer()
1427 Area displayArea; in displayLayers()
1510 Area displayArea; in setClientTargetSupport()
1589 void getActiveDisplayArea(hwc2_display_t display, Area* displayArea) in getActiveDisplayArea()
1693 const Area& displayArea) in setClientTarget()
1720 Area displayArea; in presentDisplays()
1810 Area displayArea; in createAndPresentVirtualDisplay()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java24 import android.hardware.Camera.Area;
57 public static final Camera.Area CAMERA_AREA_DEFAULT =
58 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()
830 Camera.Area meteringArea; in convertMeteringRectangleToLegacy()
836 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()
484 private static List<Camera.Area> convertMeteringRegionsToLegacy( in convertMeteringRegionsToLegacy()
511 List<Camera.Area> meteringAreaList = new ArrayList<>(countMeteringAreas); in convertMeteringRegionsToLegacy()
DLegacyResultMapper.java385 List<Camera.Area> meteringAreaList, String regionName) { in getMeteringRectangles()
388 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.java293 List<android.hardware.Camera.Area> reference) { in legacyAreasToMeteringRectangles()
298 android.hardware.Camera.Area source = reference.get(index); in legacyAreasToMeteringRectangles()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h102 struct Area { struct
105 Area() {} in Area() argument
106 Area(int left, int top, int right, int bottom, int weight): in Area() argument
113 Vector<Area> focusingAreas;
140 Vector<Area> meteringAreas;
343 Vector<Area> *areas);
350 status_t validateAreas(const Vector<Area> &areas,
DParameters.cpp782 focusingAreas.add(Parameters::Area(0,0,0,0,0)); in initialize()
851 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0)); in initialize()
2755 Vector<Parameters::Area> *areas) { in parseAreas()
2775 areas->push(Parameters::Area( in parseAreas()
2782 status_t Parameters::validateAreas(const Vector<Parameters::Area> &areas, in validateAreas()
2810 for (Vector<Parameters::Area>::const_iterator a = areas.begin(); in validateAreas()
/frameworks/base/core/java/android/hardware/
DCamera.java2254 public static class Area { class in Camera
2261 public Area(Rect rect, int weight) { in Area() method in Camera.Area
2274 if (!(obj instanceof Area)) { in equals()
2277 Area a = (Area) obj; in equals()
2814 private void set(String key, List<Area> areas) { in set()
2820 Area area = areas.get(i); in set()
4138 public List<Area> getFocusAreas() { in getFocusAreas()
4148 public void setFocusAreas(List<Area> focusAreas) { in setFocusAreas()
4204 public List<Area> getMeteringAreas() { in getMeteringAreas()
4215 public void setMeteringAreas(List<Area> meteringAreas) { in setMeteringAreas()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java43 import java.awt.geom.Area;
74 private Area mClip = null;
497 Area area = null; in clip()
500 area = new Area(shape); in clip()
520 mClip = new Area(); in clip()

12