am a724d1ab: am 877ce2c4: Merge "Make sure the bitmap from VD\'s cache is drawn using bi-linear filter." into lmp-dev
* commit 'a724d1ab4083f08958bd88e76e15b7c0af337bfc': Make sure the bitmap from VD's cache is drawn using bi-linear filter.
This commit is contained in:
@@ -694,6 +694,7 @@ public class VectorDrawable extends Drawable {
|
|||||||
|
|
||||||
if (mTempPaint == null) {
|
if (mTempPaint == null) {
|
||||||
mTempPaint = new Paint();
|
mTempPaint = new Paint();
|
||||||
|
mTempPaint.setFilterBitmap(true);
|
||||||
}
|
}
|
||||||
mTempPaint.setAlpha(mVPathRenderer.getRootAlpha());
|
mTempPaint.setAlpha(mVPathRenderer.getRootAlpha());
|
||||||
mTempPaint.setColorFilter(filter);
|
mTempPaint.setColorFilter(filter);
|
||||||
|
|||||||
Reference in New Issue
Block a user