Loading api/current.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10983,8 +10983,10 @@ package android.graphics { ctor public Outline(); ctor public Outline(); ctor public Outline(android.graphics.Outline); ctor public Outline(android.graphics.Outline); method public boolean canClip(); method public boolean canClip(); method public float getAlpha(); method public boolean isEmpty(); method public boolean isEmpty(); method public void set(android.graphics.Outline); method public void set(android.graphics.Outline); method public void setAlpha(float); method public void setConvexPath(android.graphics.Path); method public void setConvexPath(android.graphics.Path); method public void setEmpty(); method public void setEmpty(); method public void setOval(int, int, int, int); method public void setOval(int, int, int, int); graphics/java/android/graphics/Outline.java +2 −6 Original line number Original line Diff line number Diff line Loading @@ -92,19 +92,15 @@ public final class Outline { /** /** * Sets the alpha represented by the Outline. * Sets the alpha represented by the Outline. * * * Content producing a fully opaque (alpha = 1.0f) outline is assumed, by the drawing system, * Content producing a fully opaque (alpha = 1.0f) outline is assumed by the drawing system * to fully cover content beneath it, meaning content beneath may be optimized away. * to fully cover content beneath it, meaning content beneath may be optimized away. * * @hide */ */ public void setAlpha(float alpha) { public void setAlpha(float alpha) { mAlpha = alpha; mAlpha = alpha; } } /** /** * Sets the alpha represented by the Outline. * Returns the alpha represented by the Outline. * * @hide */ */ public float getAlpha() { public float getAlpha() { return mAlpha; return mAlpha; Loading Loading
api/current.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10983,8 +10983,10 @@ package android.graphics { ctor public Outline(); ctor public Outline(); ctor public Outline(android.graphics.Outline); ctor public Outline(android.graphics.Outline); method public boolean canClip(); method public boolean canClip(); method public float getAlpha(); method public boolean isEmpty(); method public boolean isEmpty(); method public void set(android.graphics.Outline); method public void set(android.graphics.Outline); method public void setAlpha(float); method public void setConvexPath(android.graphics.Path); method public void setConvexPath(android.graphics.Path); method public void setEmpty(); method public void setEmpty(); method public void setOval(int, int, int, int); method public void setOval(int, int, int, int);
graphics/java/android/graphics/Outline.java +2 −6 Original line number Original line Diff line number Diff line Loading @@ -92,19 +92,15 @@ public final class Outline { /** /** * Sets the alpha represented by the Outline. * Sets the alpha represented by the Outline. * * * Content producing a fully opaque (alpha = 1.0f) outline is assumed, by the drawing system, * Content producing a fully opaque (alpha = 1.0f) outline is assumed by the drawing system * to fully cover content beneath it, meaning content beneath may be optimized away. * to fully cover content beneath it, meaning content beneath may be optimized away. * * @hide */ */ public void setAlpha(float alpha) { public void setAlpha(float alpha) { mAlpha = alpha; mAlpha = alpha; } } /** /** * Sets the alpha represented by the Outline. * Returns the alpha represented by the Outline. * * @hide */ */ public float getAlpha() { public float getAlpha() { return mAlpha; return mAlpha; Loading