Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
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
60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) { in fromCenterVerticalAxis()
63 return new Rectangle(center.minus(dx).minus(dy), in fromCenterVerticalAxis()
82 public Rectangle scaled(float s) { in scaled()
[all …]
DQuad.java77 public Rectangle boundingBox() { in boundingBox()
84 return new Rectangle(x0, y0, x1 - x0, y1 - y0); in boundingBox()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp162 class Rectangle { class
164 explicit Rectangle(uint32_t graphicFormat = defaultFormat,
277 uint32_t numOverlays(list<Rectangle>& rectList);
345 list<Rectangle> rectList; in main()
452 Rectangle rect(format->format, startDim); in main()
643 list<Rectangle> rectList; in maxOverlays()
651 Rectangle rect(format, startDim, startDim); in maxOverlays()
676 list<Rectangle> rectList; in supportedTransforms()
677 Rectangle rect(format, startDim); in supportedTransforms()
701 list<Rectangle> rectList; in supportedBlends()
[all …]
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()
/frameworks/native/cmds/surfacereplayer/proto/src/
Dtrace.proto75 required Rectangle rectangle = 1;
90 repeated Rectangle region = 1;
132 required Rectangle viewport = 2;
133 required Rectangle frame = 3;
136 message Rectangle { message
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java27 import java.awt.Rectangle;
115 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
DCanvas_Delegate.java29 import java.awt.Rectangle;
412 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
DRadialGradient_Delegate.java109 java.awt.Rectangle deviceBounds, in createContext()
DSweepGradient_Delegate.java104 java.awt.Rectangle deviceBounds, in createContext()
DRegion_Delegate.java26 import java.awt.Rectangle;
335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
DLinearGradient_Delegate.java119 java.awt.Rectangle deviceBounds, in createContext()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java38 import java.awt.Rectangle;
149 Rectangle originalClip = snapshot.getOriginalClip(); in modifyCanvas()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp191 void SurfaceInterceptor::setProtoRectLocked(Rectangle* protoRect, const Rect& rect) { in setProtoRectLocked()
250 Rectangle* protoRect(transparentChange->add_region()); in addTransparentRegionLocked()
289 Rectangle* protoRect(cropChange->mutable_rectangle()); in addCropLocked()
498 Rectangle* viewportRect(projectionChange->mutable_viewport()); in addDisplayProjectionLocked()
500 Rectangle* frameRect(projectionChange->mutable_frame()); in addDisplayProjectionLocked()
DSurfaceInterceptor.h135 void setProtoRectLocked(Rectangle* protoRect, const Rect& rect);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java39 import java.awt.Rectangle;
619 Rectangle clipBounds = originalGraphics.getClip() != null ? originalGraphics in drawInLayer()
855 public Rectangle getOriginalClip() { in getOriginalClip()
864 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h46 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \