Home
last modified time | relevance | path

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

12

/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.java70 public Rectangle boundingBox() { in boundingBox()
77 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,
275 uint32_t numOverlays(list<Rectangle>& rectList);
343 list<Rectangle> rectList; in main()
450 Rectangle rect(format->format, startDim); in main()
641 list<Rectangle> rectList; in maxOverlays()
649 Rectangle rect(format, startDim, startDim); in maxOverlays()
674 list<Rectangle> rectList; in supportedTransforms()
675 Rectangle rect(format, startDim); in supportedTransforms()
699 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(string rectStr);
297 Rectangle rect = parseRect(rectDesc); in main()
316 for (std::list<Rectangle>::iterator it = rectangle.begin(); in main()
361 static Rectangle parseRect(string rectStr) in parseRect()
368 Rectangle rect; in parseRect()
/frameworks/base/libs/hwui/
DClipArea.cpp190 : mMode(ClipMode::Rectangle) { in ClipArea()
205 mMode = ClipMode::Rectangle; in setEmpty()
213 mMode = ClipMode::Rectangle; in setClip()
224 case ClipMode::Rectangle: in clipRectWithTransform()
269 mMode = ClipMode::Rectangle; in enterRectangleMode()
304 ALOG_ASSERT(mMode == ClipMode::Rectangle); in enterRectangleListMode()
326 if (oldMode == ClipMode::Rectangle) { in enterRegionMode()
375 case ClipMode::Rectangle: in serializeClip()
432 if (CC_LIKELY(mMode == ClipMode::Rectangle in serializeIntersectedClip()
433 && recordedClip->mode == ClipMode::Rectangle in serializeIntersectedClip()
[all …]
DClipArea.h92 Rectangle, enumerator
103 : mode(ClipMode::Rectangle) in ClipBase()
169 return mMode == ClipMode::Rectangle; in isSimple()
DBakedOpState.h83 || CC_UNLIKELY(clipState->mode != ClipMode::Rectangle); in requiresClip()
DBakedOpState.cpp164 && computedState.clipState->mode == ClipMode::Rectangle in setupOpacity()
DBakedOpRenderer.cpp302 if (CC_UNLIKELY(clip && clip->mode != ClipMode::Rectangle)) { in prepareRender()
DFrameBuilder.cpp602 || state.computedState.clipState->mode == ClipMode::Rectangle; in hasMergeableClip()
DBakedOpDispatcher.cpp242 if (clipState->mode != ClipMode::Rectangle in renderTextShadow()
/frameworks/native/cmds/surfacereplayer/proto/src/
Dtrace.proto71 required Rectangle rectangle = 1;
75 required Rectangle rectangle = 1;
90 repeated Rectangle region = 1;
132 required Rectangle viewport = 2;
133 required Rectangle frame = 3;
136 message Rectangle { message
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp183 void SurfaceInterceptor::setProtoRectLocked(Rectangle* protoRect, const Rect& rect) { in setProtoRectLocked()
242 Rectangle* protoRect(transparentChange->add_region()); in addTransparentRegionLocked()
281 Rectangle* protoRect(cropChange->mutable_rectangle()); in addCropLocked()
290 Rectangle* protoRect(finalCropChange->mutable_rectangle()); in addFinalCropLocked()
490 Rectangle* viewportRect(projectionChange->mutable_viewport()); in addDisplayProjectionLocked()
492 Rectangle* frameRect(projectionChange->mutable_frame()); in addDisplayProjectionLocked()
DSurfaceInterceptor.h94 void setProtoRectLocked(Rectangle* protoRect, const Rect& rect);
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java27 import java.awt.Rectangle;
113 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
DCanvas_Delegate.java29 import java.awt.Rectangle;
417 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
DRegion_Delegate.java26 import java.awt.Rectangle;
335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
DSweepGradient_Delegate.java106 java.awt.Rectangle deviceBounds, in createContext()
DRadialGradient_Delegate.java113 java.awt.Rectangle deviceBounds, in createContext()
DLinearGradient_Delegate.java124 java.awt.Rectangle deviceBounds, in createContext()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java36 import java.awt.Rectangle;
139 Rectangle originalClip = snapshot.getOriginalClip(); in modifyCanvas()
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp134 ASSERT_EQ(ClipMode::Rectangle, serializedClip->mode); in TEST()
208 ASSERT_EQ(ClipMode::Rectangle, resolvedClip->mode); in TEST()
273 EXPECT_EQ(ClipMode::Rectangle, resolvedClip->mode); in TEST()
DRecordingCanvasTests.cpp549 ASSERT_EQ(ClipMode::Rectangle, op.localClip->mode); in OPENGL_PIPELINE_TEST()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java39 import java.awt.Rectangle;
625 Rectangle clipBounds = originalGraphics.getClip() != null ? originalGraphics in drawInLayer()
860 public Rectangle getOriginalClip() { in getOriginalClip()
869 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h50 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \

12