Add getDither, getFilterBitmap to Drawable for CTS testing

Also removes unnecessary overrides from PictureDrawable.

Change-Id: I13539b5204e8c0d8b9912da14de7ceae62720e3f
This commit is contained in:
Alan Viverette
2015-01-06 11:01:36 -08:00
parent 304ea5aac7
commit f4c068b72e
9 changed files with 55 additions and 6 deletions

View File

@@ -357,6 +357,11 @@ public class BitmapDrawable extends Drawable {
invalidateSelf();
}
@Override
public boolean getDither() {
return mBitmapState.mPaint.isDither();
}
/**
* Indicates the repeat behavior of this drawable on the X axis.
*