Add getDither, getFilterBitmap to Drawable for CTS testing
Also removes unnecessary overrides from PictureDrawable. Change-Id: I13539b5204e8c0d8b9912da14de7ceae62720e3f
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user