Searched defs:tmpSrc (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapDevice.cpp245 SkRect bitmapBounds, tmpSrc, tmpDst; local
252 tmpSrc = *src;
254 tmpSrc = bitmapBounds;
256 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit);
261 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if
265 if (!tmpSrc.intersect(bitmapBounds)) {
268 // recompute dst, based on the smaller tmpSrc
269 matrix.mapRect(&tmpDst, tmpSrc);
276 tmpSrc.roundOut(&srcIR);
296 if (extractedBitmapBounds == tmpSrc) {
[all...]
H A DSkBitmap.cpp960 SkBitmap tmpSrc; local
967 if (fPixelRef->readPixels(&tmpSrc, &subset)) {
973 SkASSERT(tmpSrc.width() == this->width());
974 SkASSERT(tmpSrc.height() == this->height());
976 // did we get lucky and we can just return tmpSrc?
977 if (tmpSrc.colorType() == dstColorType && NULL == alloc) {
978 dst->swap(tmpSrc);
987 src = &tmpSrc;
H A DSkPaint.cpp2346 SkRect tmpSrc; local
2348 this->getPathEffect()->computeFastBounds(&tmpSrc, origSrc);
2349 src = &tmpSrc;
/external/skia/src/core/
H A DSkBitmapDevice.cpp317 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 DSkBitmap.cpp907 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 DSkPaint.cpp2357 SkRect tmpSrc; local
2359 this->getPathEffect()->computeFastBounds(&tmpSrc, origSrc);
2360 src = &tmpSrc;
/external/chromium_org/skia/ext/
H A Dvector_platform_device_emf_win.cc270 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/pdf/
H A DSkPDFDevice.cpp1038 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);
/external/skia/src/pdf/
H A DSkPDFDevice.cpp1038 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 481 milliseconds