Searched refs:tmpSrc (Results 1 - 11 of 11) sorted by relevance
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapDevice.cpp | 233 SkRect bitmapBounds, tmpSrc, tmpDst; local 240 tmpSrc = *src; 242 tmpSrc = bitmapBounds; 244 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 249 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 253 if (!tmpSrc.intersect(bitmapBounds)) { 256 // recompute dst, based on the smaller tmpSrc 257 matrix.mapRect(&tmpDst, tmpSrc); 264 tmpSrc.roundOut(&srcIR); 290 if (extractedBitmapBounds == tmpSrc) { [all...] |
H A D | SkBitmap.cpp | 892 SkBitmap tmpSrc; local 899 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 905 SkASSERT(tmpSrc.width() == this->width()); 906 SkASSERT(tmpSrc.height() == this->height()); 908 // did we get lucky and we can just return tmpSrc? 909 if (tmpSrc.colorType() == dstColorType && NULL == alloc) { 910 dst->swap(tmpSrc); 919 src = &tmpSrc;
|
H A D | SkPaint.cpp | 2288 SkRect tmpSrc; local 2290 this->getPathEffect()->computeFastBounds(&tmpSrc, origSrc); 2291 src = &tmpSrc;
|
/external/skia/src/core/ |
H A D | SkBitmapDevice.cpp | 317 SkRect bitmapBounds, tmpSrc, tmpDst; local 324 tmpSrc = *src; 326 tmpSrc = bitmapBounds; 328 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 333 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 337 if (!tmpSrc.intersect(bitmapBounds)) { 340 // recompute dst, based on the smaller tmpSrc 341 matrix.mapRect(&tmpDst, tmpSrc); 348 tmpSrc.roundOut(&srcIR); 368 if (extractedBitmapBounds == tmpSrc) { [all...] |
H A D | SkBitmap.cpp | 907 SkBitmap tmpSrc; local 914 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 920 SkASSERT(tmpSrc.width() == this->width()); 921 SkASSERT(tmpSrc.height() == this->height()); 923 // did we get lucky and we can just return tmpSrc? 924 if (tmpSrc.colorType() == dstColorType && NULL == alloc) { 925 dst->swap(tmpSrc); 934 src = &tmpSrc;
|
H A D | SkPaint.cpp | 2357 SkRect tmpSrc; local 2359 this->getPathEffect()->computeFastBounds(&tmpSrc, origSrc); 2360 src = &tmpSrc;
|
/external/chromium_org/skia/ext/ |
H A D | vector_platform_device_emf_win.cc | 270 SkRect bitmapBounds, tmpSrc, tmpDst; local 277 tmpSrc = *src; 279 tmpSrc = bitmapBounds; 281 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 285 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 289 if (!tmpSrc.intersect(bitmapBounds)) { 292 // recompute dst, based on the smaller tmpSrc 293 matrix.mapRect(&tmpDst, tmpSrc); 300 tmpSrc.roundOut(&srcIR);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 1440 SkRect bitmapBounds, tmpSrc; 1448 tmpSrc = *src; 1450 tmpSrc = bitmapBounds; 1453 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 1455 // clip the tmpSrc to the bounds of the bitmap. No check needed if src==null. 1457 if (!bitmapBounds.contains(tmpSrc)) { 1458 if (!tmpSrc.intersect(bitmapBounds)) { 1465 matrix.mapRect(&tmpDst, tmpSrc); 1478 this->drawBitmapCommon(*draw, bitmap, &tmpSrc, &dstSize, paint, flags);
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 1470 SkRect bitmapBounds, tmpSrc; 1478 tmpSrc = *src; 1480 tmpSrc = bitmapBounds; 1483 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 1485 // clip the tmpSrc to the bounds of the bitmap. No check needed if src==null. 1487 if (!bitmapBounds.contains(tmpSrc)) { 1488 if (!tmpSrc.intersect(bitmapBounds)) { 1495 matrix.mapRect(&tmpDst, tmpSrc); 1508 this->drawBitmapCommon(*draw, bitmap, &tmpSrc, &dstSize, paint, flags);
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1037 SkRect bitmapBounds, tmpSrc, tmpDst; local 1044 tmpSrc = *src; 1046 tmpSrc = bitmapBounds; 1048 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 1052 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 1056 if (!tmpSrc.intersect(bitmapBounds)) { 1059 // recompute dst, based on the smaller tmpSrc 1060 matrix.mapRect(&tmpDst, tmpSrc); 1067 tmpSrc.roundOut(&srcIR);
|
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1038 SkRect bitmapBounds, tmpSrc, tmpDst; local 1045 tmpSrc = *src; 1047 tmpSrc = bitmapBounds; 1049 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 1053 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 1057 if (!tmpSrc.intersect(bitmapBounds)) { 1060 // recompute dst, based on the smaller tmpSrc 1061 matrix.mapRect(&tmpDst, tmpSrc); 1068 tmpSrc.roundOut(&srcIR);
|
Completed in 307 milliseconds