Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapDevice.cpp258 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/
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()
Dlightingshaderbevel.cpp48 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local
49 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
/external/skia/tests/
DSerializationTest.cpp593 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/
DSkPDFShader.cpp981 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/
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()