Home
last modified time | relevance | path

Searched refs:bitmapBounds (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkBitmapDevice.cpp247 SkRect bitmapBounds, tmpSrc, tmpDst; in drawBitmapRect() local
250 bitmapBounds.isetWH(bitmap.width(), bitmap.height()); in drawBitmapRect()
256 tmpSrc = bitmapBounds; in drawBitmapRect()
268 if (!bitmapBounds.contains(*src)) { in drawBitmapRect()
269 if (!tmpSrc.intersect(bitmapBounds)) { in drawBitmapRect()
278 if (src && !src->contains(bitmapBounds) && in drawBitmapRect()
/external/skia/gm/
Dlightingshader.cpp94 SkRect bitmapBounds = SkRect::MakeIWH(fDiffuse.width(), fDiffuse.height()); in drawRect() local
97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dlightingshader2.cpp70 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local
71 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
/external/skia/src/pdf/
DSkPDFShader.cpp55 SkRect bitmapBounds = SkRect::Make(image->bounds()); in make_image_shader() local
66 deviceBounds.join(bitmapBounds); in make_image_shader()
/external/skia/tests/
DSerializationTest.cpp574 SkRect bitmapBounds = SkRect::MakeIWH(diffuse.width(), diffuse.height()); in DEF_TEST() local
578 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
/external/skia/src/xps/
DSkXPSDevice.cpp2256 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()