Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -14990,7 +14990,7 @@ package android.graphics.drawable { method public final int getLevel(); method public int getMinimumHeight(); method public int getMinimumWidth(); method public abstract int getOpacity(); method public abstract deprecated int getOpacity(); method public android.graphics.Insets getOpticalInsets(); method public void getOutline(android.graphics.Outline); method public boolean getPadding(android.graphics.Rect); graphics/java/android/graphics/drawable/Drawable.java +3 −1 Original line number Diff line number Diff line Loading @@ -934,11 +934,13 @@ public abstract class Drawable { * do account for the value of {@link #setAlpha}, but the general behavior is dependent * upon the implementation of the subclass. * * @deprecated This method is no longer used in graphics optimizations * * @return int The opacity class of the Drawable. * * @see android.graphics.PixelFormat */ public abstract @PixelFormat.Opacity int getOpacity(); @Deprecated public abstract @PixelFormat.Opacity int getOpacity(); /** * Return the appropriate opacity value for two source opacities. If Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -14990,7 +14990,7 @@ package android.graphics.drawable { method public final int getLevel(); method public int getMinimumHeight(); method public int getMinimumWidth(); method public abstract int getOpacity(); method public abstract deprecated int getOpacity(); method public android.graphics.Insets getOpticalInsets(); method public void getOutline(android.graphics.Outline); method public boolean getPadding(android.graphics.Rect);
graphics/java/android/graphics/drawable/Drawable.java +3 −1 Original line number Diff line number Diff line Loading @@ -934,11 +934,13 @@ public abstract class Drawable { * do account for the value of {@link #setAlpha}, but the general behavior is dependent * upon the implementation of the subclass. * * @deprecated This method is no longer used in graphics optimizations * * @return int The opacity class of the Drawable. * * @see android.graphics.PixelFormat */ public abstract @PixelFormat.Opacity int getOpacity(); @Deprecated public abstract @PixelFormat.Opacity int getOpacity(); /** * Return the appropriate opacity value for two source opacities. If Loading