Lines Matching defs:bitmap
462 // avoid blurry scaling, we have to draw into a bitmap with exact pixel
463 // size first. This bitmap size is determined by the bounds and the
507 bool redrawNeeded = allocateBitmapIfNeeded(&mStagingCache.bitmap,
509 // draw bitmap cache
511 updateBitmapCache(&mStagingCache.bitmap, true);
517 outCanvas->drawBitmap(mStagingCache.bitmap, 0, 0,
518 mStagingCache.bitmap.width(), mStagingCache.bitmap.height(),
541 bool redrawNeeded = allocateBitmapIfNeeded(&mCache.bitmap, mProperties.getScaledWidth(),
544 updateBitmapCache(&mCache.bitmap, false);
547 return mCache.bitmap;
567 // TODO: Count the bitmap cache against app's java heap
574 bool Tree::canReuseBitmap(const SkBitmap& bitmap, int width, int height) {
575 return width == bitmap.width() && height == bitmap.height();