/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | ReorderBarrierDrawables.h | 44 virtual SkRect onGetBounds() override { 45 return SkRect::MakeLargest(); 69 virtual SkRect onGetBounds() override { 70 return SkRect::MakeLargest();
|
H A D | SkiaProfileRenderer.cpp | 24 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 30 SkRect rect = SkRect::MakeLTRB(rects[index + 0], rects[index + 1], rects[index + 2],
|
H A D | LayerDrawable.h | 38 virtual SkRect onGetBounds() override { 39 return SkRect::MakeWH(mLayer->getWidth(), mLayer->getHeight());
|
H A D | AnimatedDrawables.h | 43 virtual SkRect onGetBounds() override { 44 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); 47 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); 71 virtual SkRect onGetBounds() override { 75 return SkRect::MakeLTRB(x - radius, y - radius, x + radius, y + radius);
|
H A D | GLFunctorDrawable.h | 48 virtual SkRect onGetBounds() override { return mBounds; } 54 const SkRect mBounds;
|
H A D | SkiaOpenGLPipeline.h | 32 bool draw(const renderthread::Frame& frame, const SkRect& screenDirty, const SkRect& dirty, 39 bool swapBuffers(const renderthread::Frame& frame, bool drew, const SkRect& screenDirty,
|
H A D | SkiaVulkanPipeline.h | 33 bool draw(const renderthread::Frame& frame, const SkRect& screenDirty, const SkRect& dirty, 40 bool swapBuffers(const renderthread::Frame& frame, bool drew, const SkRect& screenDirty,
|
H A D | DumpOpsCanvas.h | 39 void onClipRect(const SkRect& rect, SkClipOp, ClipEdgeStyle) override { 63 void onDrawRect(const SkRect&, const SkPaint&) override { 71 void onDrawOval(const SkRect&, const SkPaint&) override { 75 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override { 105 void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, 118 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, 123 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, 128 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst,
|
H A D | SkiaOpenGLReadback.cpp | 69 const SkRect bufferRect = SkRect::MakeIWH(imgWidth, imgHeight); 70 SkRect skiaSrcRect = srcRect.toSkRect(); 101 SkRect::MakeWH(bitmap->width(), bitmap->height()), &paint);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | Frame.cpp | 18 #include <SkRect.h> 24 void Frame::map(const SkRect& in, int32_t* out) const {
|
H A D | Frame.h | 21 struct SkRect; 54 void map(const SkRect& in, int32_t* out) const;
|
H A D | IRenderPipeline.h | 21 #include <SkRect.h> 53 virtual bool draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, 60 virtual bool swapBuffers(const Frame& frame, bool drew, const SkRect& screenDirty,
|
H A D | EglManager.h | 21 #include <SkRect.h> 51 void damageFrame(const Frame& frame, const SkRect& dirty); 56 bool swapBuffers(const Frame& frame, const SkRect& screenDirty);
|
H A D | OpenGLPipeline.h | 36 bool draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, 43 bool swapBuffers(const Frame& frame, bool drew, const SkRect& screenDirty,
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 28 void onDrawAnnotation(const SkRect&, const char key[], SkData* value) { argument 51 const SkRect* cullRect, const SkPaint& paint) { 64 void onDrawRect(const SkRect&, const SkPaint&) { argument 70 void onDrawOval(const SkRect&, const SkPaint&) { argument 73 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, argument 86 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int count, argument 87 SkBlendMode, const SkRect* cull, const SkPaint*) { 96 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, argument 100 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect 110 onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, SrcRectConstraint) argument [all...] |
H A D | DamageAccumulatorTests.cpp | 24 #include <SkRect.h> 34 SkRect curDirty; 40 ASSERT_EQ(SkRect(), curDirty); 44 ASSERT_EQ(SkRect::MakeLTRB(50, 50, 100, 100), curDirty); 47 ASSERT_EQ(SkRect::MakeLTRB(50, 50, 100, 100), curDirty); 55 SkRect curDirty; 60 ASSERT_EQ(SkRect::MakeLTRB(50, 50, 100, 100), curDirty); 63 ASSERT_EQ(SkRect::MakeLTRB(75, 75, 125, 125), curDirty); 69 SkRect curDirty; 81 ASSERT_EQ(SkRect [all...] |
H A D | SkiaPipelineTests.cpp | 45 SkRect dirty = SkRect::MakeLargest(); 67 SkRect dirty = SkRect::MakeLargest(); 89 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); 127 SkRect dirty = SkRect::MakeLargest(); 129 layerUpdateQueue.enqueueLayerWithDamage(blueNode.get(), SkRect::MakeWH(2, 1)); 155 SkRect dirt [all...] |
H A D | SkiaBehaviorTests.cpp | 96 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); 97 p1.addRect(SkRect::MakeXYWH(0.0f, 0.0f, 1080.0f, 242.0f)); 99 SkRect resultRect; 101 ASSERT_EQ(SkRect::MakeXYWH(0.0f, 0.0f, 1075.0f, 242.0f), resultRect);
|
H A D | SkiaRenderPropertiesTests.cpp | 50 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { 81 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 100, 100), TestUtils::getClipBounds(&canvas)) 90 EXPECT_EQ(SkRect::MakeLTRB(25, 25, 75, 75), TestUtils::getClipBounds(&canvas)); 99 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(&canvas));
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.h | 23 #include <SkRect.h> 58 void peekAtDirty(SkRect* dest) const; 62 void finish(SkRect* totalDirty);
|
H A D | SkiaCanvasProxy.h | 59 virtual void onDrawOval(const SkRect&, const SkPaint&) override; 60 virtual void onDrawRect(const SkRect&, const SkPaint&) override; 63 virtual void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, 67 virtual void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, 70 const SkRect& dst, const SkPaint*) override; 72 virtual void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, 74 virtual void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, 76 virtual void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect [all...] |
H A D | SkiaCanvasProxy.cpp | 29 #include <SkRect.h> 86 void SkiaCanvasProxy::onDrawOval(const SkRect& rect, const SkPaint& paint) { 90 void SkiaCanvasProxy::onDrawRect(const SkRect& rect, const SkPaint& paint) { 96 const SkRect& rect = roundRect.rect(); 107 void SkiaCanvasProxy::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, 136 void SkiaCanvasProxy::onDrawBitmapRect(const SkBitmap& skBitmap, const SkRect* srcPtr, 137 const SkRect& dst, const SkPaint* paint, SrcRectConstraint) { 138 SkRect src = (srcPtr) ? *srcPtr : SkRect::MakeWH(skBitmap.width(), skBitmap.height()); 146 const SkRect [all...] |
H A D | DamageAccumulator.cpp | 42 SkRect pendingDirty; 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { 139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { 142 SkRect temp(in); 181 SkRect* rect = &frame->pendingDirty; 231 void DamageAccumulator::peekAtDirty(SkRect* dest) const { 235 void DamageAccumulator::finish(SkRect* totalDirty) {
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | HwBitmap565.cpp | 41 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); 43 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint);
|
H A D | ReadbackFromHardwareBitmap.cpp | 37 canvas.drawRect(SkRect::MakeXYWH(30, 30, 30, 150), paint); 38 canvas.drawRect(SkRect::MakeXYWH(30, 30, 100, 30), paint); 39 canvas.drawRect(SkRect::MakeXYWH(30, 100, 70, 30), paint);
|