/external/skia/gm/ |
D | gpu_blur_utils.cpp | 225 srcRect.makeOffset( 0, srcH), in run() 226 srcRect.makeOffset( srcW, 0), in run() 227 srcRect.makeOffset( 0, -srcH), in run() 228 srcRect.makeOffset(-srcW, 0), in run() 234 .makeOffset(srcRect.topLeft()), in run() 236 .makeOffset(srcRect.topLeft()), in run() 238 .makeOffset(srcRect.topLeft()), in run() 240 .makeOffset(srcRect.topLeft()), in run() 246 .makeOffset(srcRect.topLeft()), in run() 248 .makeOffset(srcRect.topLeft()), in run() [all …]
|
D | texelsubset.cpp | 154 drawRect = localRect.makeOffset(x, y); in onDraw() 173 localRect.makeOffset(kT), in onDraw() 182 drawRect = localRect.makeOffset(x, y); in onDraw()
|
D | bug9331.cpp | 39 draw(0xFF0000FF, clip.makeOffset(0,150));
|
D | colorwheel.cpp | 92 canvas->drawImageRect(upmImg, srcRect, dstRect.makeOffset(128, 0),
|
D | aarecteffect.cpp | 78 SkRect rect = r.makeOffset(x, y); in onDraw()
|
D | imagemasksubset.cpp | 104 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0),
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 1205 verify_success(reporter, a.makeOffset(6.f, 0.f), b, kA, kRect, kRect, kA); in test_conservative_intersection() 1206 verify_success(reporter, a.makeOffset(-6.f, 0.f), b, kRect, kA, kA, kRect); in test_conservative_intersection() 1208 verify_success(reporter, a, b.makeOffset(0.f, 6.f), kB, kB, kRect, kRect); in test_conservative_intersection() 1209 verify_success(reporter, a, b.makeOffset(0.f, -6.f), kRect, kRect, kB, kB); in test_conservative_intersection() 1211 verify_success(reporter, a.makeOffset(-7.f, -8.f), b, kB, kRect, kA, kRect); // TL of B in test_conservative_intersection() 1212 verify_success(reporter, a.makeOffset(7.f, -8.f), b, kRect, kB, kRect, kA); // TR of B in test_conservative_intersection() 1213 verify_success(reporter, a.makeOffset(7.f, 8.f), b, kA, kRect, kB, kRect); // BR of B in test_conservative_intersection() 1214 verify_success(reporter, a.makeOffset(-7.f, 8.f), b, kRect, kA, kRect, kB); // BL of B in test_conservative_intersection() 1239 verify_failure(reporter, a.makeOffset(32.f, 0.f), b); in test_conservative_intersection() 1241 verify_failure(reporter, a.makeOffset(11.5f, -11.5f), b); in test_conservative_intersection() [all …]
|
/external/skia/src/gpu/ |
D | BufferWriter.h | 83 W makeOffset(size_t offsetInBytes) const { in makeOffset() function 131 VertexWriter makeOffset(size_t offsetInBytes) const { in makeOffset() function 132 return this->BufferWriter::makeOffset<VertexWriter>(offsetInBytes); in makeOffset() 270 w = w.makeOffset(sizeof(T)); 285 w = w.makeOffset(sizeof(T)); 294 w = w.makeOffset(sizeof(T) * array.fCount); 310 w = w.makeOffset(sizeof(vector)); 384 IndexWriter makeOffset(int numIndices) const { 385 return this->BufferWriter::makeOffset<IndexWriter>(numIndices * sizeof(uint16_t)); 401 w = w.makeOffset(1);
|
D | AtlasTypes.cpp | 116 offsetRect = fDirtyRect.makeOffset(fOffset.fX, fOffset.fY); in prepareForUpload() 128 offsetRect = fCachedRect.makeOffset(fOffset.fX, fOffset.fY); in prepareForUpload()
|
/external/skia/src/gpu/ganesh/ |
D | GrWindowRectangles.h | 22 GrWindowRectangles makeOffset(int dx, int dy) const; 79 inline GrWindowRectangles GrWindowRectangles::makeOffset(int dx, int dy) const { in makeOffset() function 93 windows[i] = this->data()[i].makeOffset(dx, dy); in makeOffset()
|
D | GrVertexChunkArray.h | 68 fCurrChunkVertexWriter.makeOffset(fStride * count)); in appendVertices() 78 fCurrChunkVertexWriter = fCurrChunkVertexWriter.makeOffset(fStride * -count); in popVertices()
|
D | GrDrawIndirectCommand.h | 57 GrDrawIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() function 92 GrDrawIndexedIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() function
|
/external/skia/src/pdf/ |
D | SkKeyedImage.cpp | 18 return {image->bounds().makeOffset(o), bm->getGenerationID()}; in SkBitmapKeyFromImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
|
/external/skia/docs/examples/ |
D | blur4444.cpp | 46 c->drawRect(SkRect{0, 0, 640, 84}.makeOffset(0, 300), blrPaint); in draw() 55 c->drawRect(SkRect{0, 0, 640, 100}.makeOffset(0, 150), grdPaint); in draw()
|
D | RRect_makeOffset.cpp | 13 rrect = rrect.makeOffset(-3, 3); in draw()
|
D | IRect_makeOffset.cpp | 10 rect = rect.makeOffset(15, 32); in draw()
|
D | Rect_makeOffset.cpp | 10 rect = rect.makeOffset(15, 32); in draw()
|
D | measure_text_bounds.cpp | 19 canvas->drawRect(bounds.makeOffset(x, y), paint); in draw()
|
/external/skia/include/core/ |
D | SkRect.h | 301 constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() function 318 constexpr SkIRect makeOffset(SkIVector offset) const { in makeOffset() function 319 return this->makeOffset(offset.x(), offset.y()); in makeOffset() 979 constexpr SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function 988 constexpr SkRect makeOffset(SkVector v) const { return this->makeOffset(v.x(), v.y()); } in makeOffset() function
|
D | SkRRect.h | 397 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function 398 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
|
/external/skia/tests/graphite/ |
D | RectTest.cpp | 96 CHECK(rect2.makeOffset({.5f, -.25f}) == skRect2.makeOffset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
|
D | ReadWritePixelsGraphiteTest.cpp | 245 const auto rect = SkIRect::MakeWH(readInfo.width(), readInfo.height()).makeOffset(offset); in graphite_read_pixels_test_driver() 291 SkIRect dstWriteRect = srcReadRect.makeOffset(-rect.fLeft, -rect.fTop); in graphite_read_pixels_test_driver() 524 auto rect = SkIRect::MakeSize(pixels.dimensions()).makeOffset(offset); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 604 auto rect = SkIRect::MakeSize(pixels.dimensions()).makeOffset(offset); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/graphite/geom/ |
D | Rect.h | 130 AI Rect makeOffset(float2 offset) const { return fVals + float4(offset, -offset); } in makeOffset() function 141 AI Rect& offset(float2 offset) { return *this = this->makeOffset(offset); } in offset()
|
/external/skia/modules/sksg/src/ |
D | SkSGText.cpp | 68 return bounds.makeOffset(aligned_pos.x(), aligned_pos.y()); in onRevalidate()
|
/external/skia/modules/skottie/gm/ |
D | ExternalProperties.cpp | 73 auto dest = SkRect::MakeWH(kSize/2, kSize/2).makeOffset(kSize * (i & 1) / 2, in onDraw()
|