am 12d808a2: am a724d1ab: am 877ce2c4: Merge "Make sure the bitmap from VD\'s cache is drawn using bi-linear filter." into lmp-dev
* commit '12d808a24f4af9a127ae851edd06339b77020178': 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