Searched refs:bitmapBounds (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 258 SkRect bitmapBounds, tmpSrc, tmpDst; in drawBitmapRect() local 261 bitmapBounds.isetWH(bitmap.width(), bitmap.height()); in drawBitmapRect() 267 tmpSrc = bitmapBounds; in drawBitmapRect() 279 if (!bitmapBounds.contains(*src)) { in drawBitmapRect() 280 if (!tmpSrc.intersect(bitmapBounds)) { in drawBitmapRect() 289 if (src && !src->contains(bitmapBounds) && in drawBitmapRect()
|
/external/skia/gm/ |
D | lightingshader.cpp | 94 SkRect bitmapBounds = SkRect::MakeIWH(fDiffuse.width(), fDiffuse.height()); in drawRect() local 97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
|
D | lightingshader2.cpp | 70 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local 71 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
|
D | lightingshaderbevel.cpp | 48 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local 49 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 593 SkRect bitmapBounds = SkRect::MakeIWH(diffuse.width(), diffuse.height()); in DEF_TEST() local 597 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 981 SkRect bitmapBounds; in make_image_shader() local 982 image.getBounds(&bitmapBounds); in make_image_shader() 993 deviceBounds.join(bitmapBounds); in make_image_shader()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 2256 SkRect bitmapBounds = SkRect::Make(bitmap.bounds()); in drawBitmapRect() local 2257 SkRect srcBounds = src ? *src : bitmapBounds; in drawBitmapRect() 2260 if (!src || bitmapBounds.contains(*src)) { in drawBitmapRect() 2263 if (!srcBounds.intersect(bitmapBounds)) { in drawBitmapRect()
|