Home
last modified time | relevance | path

Searched refs:Rectangle (Results 1 – 17 of 17) sorted by relevance

/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java26 public class Rectangle extends Quad { class
28 public Rectangle() { in Rectangle() method in Rectangle
31 public Rectangle(float x, float y, float width, float height) { in Rectangle() method in Rectangle
38 public Rectangle(Point origin, Point size) { in Rectangle() method in Rectangle
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { in fromRotatedRect()
50 return new Rectangle(p0.rotatedAround(center, rotation), in fromRotatedRect()
56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() method in Rectangle
63 return new Rectangle(center.minus(dx).minus(dy), in fromCenterVerticalAxis()
82 public Rectangle scaled(float s) { in scaled()
83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled()
[all …]
H A DQuad.java75 public Rectangle boundingBox() { in boundingBox()
82 return new Rectangle(x0, y0, x1 - x0, y1 - y0); in boundingBox()
/aosp12/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp162 class Rectangle { class
345 list<Rectangle> rectList; in main()
676 list<Rectangle> rectList; in supportedTransforms()
701 list<Rectangle> rectList; in supportedBlends()
726 list<Rectangle> rectList; in dfMinWidth()
750 list<Rectangle> rectList; in dfMinHeight()
774 list<Rectangle> rectList; in dfMaxWidth()
872 list<Rectangle> rectList; in dfMaxDim()
913 list<Rectangle> rectList; in scMinWidth()
933 list<Rectangle> rectList; in scMinHeight()
[all …]
H A DhwcRects.cpp143 class Rectangle { class
145 Rectangle() : format(defaultFormat), transform(defaultTransform), in Rectangle() function in Rectangle
164 list<Rectangle> rectangle;
173 static Rectangle parseRect(const string& rectStr);
297 Rectangle rect = parseRect(rectDesc); in main()
316 for (std::list<Rectangle>::iterator it = rectangle.begin(); in main()
361 static Rectangle parseRect(const string& rectStr) in parseRect()
368 Rectangle rect; in parseRect()
/aosp12/frameworks/native/cmds/surfacereplayer/proto/src/
H A Dtrace.proto86 required Rectangle rectangle = 1;
97 repeated Rectangle region = 1;
139 required Rectangle viewport = 2;
140 required Rectangle frame = 3;
143 message Rectangle { message
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java39 import java.awt.Rectangle;
616 private static Rectangle transformRect(Rectangle rect, AffineTransform transform) { in transformRect()
636 return new Rectangle(x, y, w, h); in transformRect()
655 Rectangle clipBounds = originalGraphics.getClip() != null ? originalGraphics in drawInLayer()
658 Rectangle imgRect; in drawInLayer()
676 new Rectangle( in drawInLayer()
900 public Rectangle getOriginalClip() { in getOriginalClip()
909 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceInterceptor.h46 using Rectangle = surfaceflinger::Rectangle; variable
153 void setProtoRectLocked(Rectangle* protoRect, const Rect& rect);
H A DSurfaceInterceptor.cpp234 void SurfaceInterceptor::setProtoRectLocked(Rectangle* protoRect, const Rect& rect) { in setProtoRectLocked()
300 Rectangle* protoRect(transparentChange->add_region()); in addTransparentRegionLocked()
338 Rectangle* protoRect(cropChange->mutable_rectangle()); in addCropLocked()
601 Rectangle* viewportRect(projectionChange->mutable_viewport()); in addDisplayProjectionLocked()
603 Rectangle* frameRect(projectionChange->mutable_frame()); in addDisplayProjectionLocked()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java27 import java.awt.Rectangle;
115 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
H A DCanvas_Delegate.java28 import java.awt.Rectangle;
417 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
H A DRegion_Delegate.java26 import java.awt.Rectangle;
335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
H A DRadialGradient_Delegate.java109 java.awt.Rectangle deviceBounds, in createContext()
H A DSweepGradient_Delegate.java104 java.awt.Rectangle deviceBounds, in createContext()
H A DLinearGradient_Delegate.java119 java.awt.Rectangle deviceBounds, in createContext()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java38 import java.awt.Rectangle;
149 Rectangle originalClip = snapshot.getOriginalClip(); in modifyCanvas()
/aosp12/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h47 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt18779 Landroid/filterfw/geometry/Quad;->boundingBox()Landroid/filterfw/geometry/Rectangle;
18787 Landroid/filterfw/geometry/Rectangle;-><init>()V
18788 Landroid/filterfw/geometry/Rectangle;-><init>(FFFF)V
18789 Landroid/filterfw/geometry/Rectangle;-><init>(Landroid/filterfw/geometry/Point;Landroid/filterfw/ge…
18791 Landroid/filterfw/geometry/Rectangle;->center()Landroid/filterfw/geometry/Point;
18792Rectangle;->fromCenterVerticalAxis(Landroid/filterfw/geometry/Point;Landroid/filterfw/geometry/Poi…
18793 …/geometry/Rectangle;->fromRotatedRect(Landroid/filterfw/geometry/Point;Landroid/filterfw/geometry/…
18794 Landroid/filterfw/geometry/Rectangle;->getHeight()F
18795 Landroid/filterfw/geometry/Rectangle;->getWidth()F
18796 Landroid/filterfw/geometry/Rectangle;->scaled(F)Landroid/filterfw/geometry/Rectangle;
[all …]