/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Rectangle.java | 26 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 …]
|
D | Quad.java | 70 public Rectangle boundingBox() { in boundingBox() 77 return new Rectangle(x0, y0, x1 - x0, y1 - y0); in boundingBox()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 162 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 …]
|
D | hwcRects.cpp | 143 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/ |
D | ClipArea.cpp | 190 : 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 …]
|
D | ClipArea.h | 92 Rectangle, enumerator 103 : mode(ClipMode::Rectangle) in ClipBase() 170 return mMode == ClipMode::Rectangle; in isSimple()
|
D | BakedOpState.h | 83 || CC_UNLIKELY(clipState->mode != ClipMode::Rectangle); in requiresClip()
|
D | BakedOpState.cpp | 162 && computedState.clipState->mode == ClipMode::Rectangle in setupOpacity()
|
D | BakedOpRenderer.cpp | 304 if (CC_UNLIKELY(clip && clip->mode != ClipMode::Rectangle)) { in prepareRender()
|
D | FrameBuilder.cpp | 595 || state.computedState.clipState->mode == ClipMode::Rectangle; in hasMergeableClip()
|
D | BakedOpDispatcher.cpp | 248 if (clipState->mode != ClipMode::Rectangle in renderTextShadow()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapShader_Delegate.java | 27 import java.awt.Rectangle; 112 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
|
D | Region_Delegate.java | 26 import java.awt.Rectangle; 335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
|
D | SweepGradient_Delegate.java | 102 java.awt.Rectangle deviceBounds, in createContext()
|
D | RadialGradient_Delegate.java | 112 java.awt.Rectangle deviceBounds, in createContext()
|
D | LinearGradient_Delegate.java | 124 java.awt.Rectangle deviceBounds, in createContext()
|
D | Canvas_Delegate.java | 34 import java.awt.Rectangle; 457 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in native_getClipBounds()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ClipAreaTests.cpp | 134 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()
|
D | RecordingCanvasTests.cpp | 533 ASSERT_EQ(ClipMode::Rectangle, op.localClip->mode); in TEST()
|
D | FrameBuilderTests.cpp | 1116 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/ |
D | TestUtils.h | 58 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 38 import java.awt.Rectangle; 623 Rectangle clipBounds = originalGraphics.getClipBounds(); in drawInLayer()
|