Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95b6fdeb authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Refactor Drawable.getDither() to isDither()" into mnc-dev

parents e222a444 373954a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12305,7 +12305,6 @@ package android.graphics.drawable {
    method public android.graphics.drawable.Drawable.ConstantState getConstantState();
    method public android.graphics.drawable.Drawable getCurrent();
    method public android.graphics.Rect getDirtyBounds();
    method public boolean getDither();
    method public void getHotspotBounds(android.graphics.Rect);
    method public int getIntrinsicHeight();
    method public int getIntrinsicWidth();
@@ -12322,6 +12321,7 @@ package android.graphics.drawable {
    method public void inflate(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
    method public void invalidateSelf();
    method public boolean isAutoMirrored();
    method public boolean isDither();
    method public boolean isFilterBitmap();
    method public boolean isStateful();
    method public final boolean isVisible();
+1 −1
Original line number Diff line number Diff line
@@ -12620,7 +12620,6 @@ package android.graphics.drawable {
    method public android.graphics.drawable.Drawable.ConstantState getConstantState();
    method public android.graphics.drawable.Drawable getCurrent();
    method public android.graphics.Rect getDirtyBounds();
    method public boolean getDither();
    method public void getHotspotBounds(android.graphics.Rect);
    method public int getIntrinsicHeight();
    method public int getIntrinsicWidth();
@@ -12637,6 +12636,7 @@ package android.graphics.drawable {
    method public void inflate(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
    method public void invalidateSelf();
    method public boolean isAutoMirrored();
    method public boolean isDither();
    method public boolean isFilterBitmap();
    method public boolean isStateful();
    method public final boolean isVisible();
+1 −1
Original line number Diff line number Diff line
@@ -363,7 +363,7 @@ public class BitmapDrawable extends Drawable {
    }

    @Override
    public boolean getDither() {
    public boolean isDither() {
        return mBitmapState.mPaint.isDither();
    }

+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ public abstract class Drawable {
     * @return whether this drawable dithers its colors
     * @see #setDither(boolean)
     */
    public boolean getDither() {
    public boolean isDither() {
        return false;
    }

+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
    }

    @Override
    public boolean getDither() {
    public boolean isDither() {
        return mDrawableContainerState.mDither;
    }

Loading