change default for dither to true

This commit is contained in:
Mike Reed
2009-09-11 09:36:35 -04:00
parent d304ae583d
commit 211db4a287
5 changed files with 46 additions and 15 deletions

View File

@@ -56,7 +56,8 @@ import java.io.IOException;
*/
public class BitmapDrawable extends Drawable {
private static final int DEFAULT_PAINT_FLAGS = Paint.FILTER_BITMAP_FLAG;
private static final int DEFAULT_PAINT_FLAGS =
Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG;
private BitmapState mBitmapState;
private Bitmap mBitmap;
private final Rect mDstRect = new Rect(); // Gravity.apply() sets this