Merge "Make sure the bitmap from VD's cache is drawn using bi-linear filter." into lmp-dev
This commit is contained in:
@ -692,6 +692,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