Searched defs:mCachedBitmap (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 770 Bitmap mCachedBitmap; field in class:VectorDrawable.VectorDrawableState 802 canvas.drawBitmap(mCachedBitmap, null, originalBounds, p); 827 mCachedBitmap.eraseColor(Color.TRANSPARENT); 828 Canvas tmpCanvas = new Canvas(mCachedBitmap); 833 if (mCachedBitmap == null || !canReuseBitmap(width, height)) { 834 mCachedBitmap = Bitmap.createBitmap(width, height, 842 if (width == mCachedBitmap.getWidth() 843 && height == mCachedBitmap.getHeight()) {
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 637 Bitmap mCachedBitmap; field in class:VectorDrawableCompat.VectorDrawableState 668 canvas.drawBitmap(mCachedBitmap, 0, 0, p); 693 mCachedBitmap.eraseColor(Color.TRANSPARENT); 694 Canvas tmpCanvas = new Canvas(mCachedBitmap); 699 if (mCachedBitmap == null || !canReuseBitmap(bounds.width(), 701 mCachedBitmap = Bitmap.createBitmap(bounds.width(), bounds.height(), 709 if (width == mCachedBitmap.getWidth() 710 && height == mCachedBitmap.getHeight()) {
|
Completed in 24 milliseconds