/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 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 …]
|
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() 169 return mMode == ClipMode::Rectangle; in isSimple()
|
D | BakedOpState.h | 83 || CC_UNLIKELY(clipState->mode != ClipMode::Rectangle); in requiresClip()
|
D | BakedOpState.cpp | 164 && computedState.clipState->mode == ClipMode::Rectangle in setupOpacity()
|
D | BakedOpRenderer.cpp | 302 if (CC_UNLIKELY(clip && clip->mode != ClipMode::Rectangle)) { in prepareRender()
|
D | FrameBuilder.cpp | 602 || state.computedState.clipState->mode == ClipMode::Rectangle; in hasMergeableClip()
|
D | BakedOpDispatcher.cpp | 242 if (clipState->mode != ClipMode::Rectangle in renderTextShadow()
|
/frameworks/native/cmds/surfacereplayer/proto/src/ |
D | trace.proto | 71 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/ |
D | SurfaceInterceptor.cpp | 183 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()
|
D | SurfaceInterceptor.h | 94 void setProtoRectLocked(Rectangle* protoRect, const Rect& rect);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapShader_Delegate.java | 27 import java.awt.Rectangle; 113 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext()
|
D | Canvas_Delegate.java | 29 import java.awt.Rectangle; 417 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
|
D | Region_Delegate.java | 26 import java.awt.Rectangle; 335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
|
D | SweepGradient_Delegate.java | 106 java.awt.Rectangle deviceBounds, in createContext()
|
D | RadialGradient_Delegate.java | 113 java.awt.Rectangle deviceBounds, in createContext()
|
D | LinearGradient_Delegate.java | 124 java.awt.Rectangle deviceBounds, in createContext()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 36 import java.awt.Rectangle; 139 Rectangle originalClip = snapshot.getOriginalClip(); in modifyCanvas()
|
/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 | 549 ASSERT_EQ(ClipMode::Rectangle, op.localClip->mode); in OPENGL_PIPELINE_TEST()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 39 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/ |
D | TestUtils.h | 50 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \
|