Home
last modified time | relevance | path

Searched refs:Rectangle (Results 1 – 22 of 22) 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.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 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()
170 return mMode == ClipMode::Rectangle; in isSimple()
DBakedOpState.h83 || CC_UNLIKELY(clipState->mode != ClipMode::Rectangle); in requiresClip()
DBakedOpState.cpp162 && computedState.clipState->mode == ClipMode::Rectangle in setupOpacity()
DBakedOpRenderer.cpp304 if (CC_UNLIKELY(clip && clip->mode != ClipMode::Rectangle)) { in prepareRender()
DFrameBuilder.cpp595 || state.computedState.clipState->mode == ClipMode::Rectangle; in hasMergeableClip()
DBakedOpDispatcher.cpp248 if (clipState->mode != ClipMode::Rectangle in renderTextShadow()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java27 import java.awt.Rectangle;
112 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
DRegion_Delegate.java26 import java.awt.Rectangle;
335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
DSweepGradient_Delegate.java102 java.awt.Rectangle deviceBounds, in createContext()
DRadialGradient_Delegate.java112 java.awt.Rectangle deviceBounds, in createContext()
DLinearGradient_Delegate.java124 java.awt.Rectangle deviceBounds, in createContext()
DCanvas_Delegate.java34 import java.awt.Rectangle;
457 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in native_getClipBounds()
/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.cpp533 ASSERT_EQ(ClipMode::Rectangle, op.localClip->mode); in TEST()
DFrameBuilderTests.cpp1116 EXPECT_EQ(ClipMode::Rectangle, state.computedState.clipState->mode); in RENDERTHREAD_TEST()
1704 ASSERT_EQ(ClipMode::Rectangle, state.computedState.clipState->mode); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h58 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java38 import java.awt.Rectangle;
623 Rectangle clipBounds = originalGraphics.getClipBounds(); in drawInLayer()