Loading api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -14300,6 +14300,8 @@ package android.graphics { method public void drawOval(@NonNull android.graphics.RectF, @NonNull android.graphics.Paint); method public void drawOval(float, float, float, float, @NonNull android.graphics.Paint); method public void drawPaint(@NonNull android.graphics.Paint); method public void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.Rect, @Nullable android.graphics.Paint); method public void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.RectF, @Nullable android.graphics.Paint); method public void drawPath(@NonNull android.graphics.Path, @NonNull android.graphics.Paint); method public void drawPicture(@NonNull android.graphics.Picture); method public void drawPicture(@NonNull android.graphics.Picture, @NonNull android.graphics.RectF); Loading Loading @@ -15354,8 +15356,6 @@ package android.graphics { } public final class RecordingCanvas extends android.graphics.Canvas { method public final void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.Rect, @Nullable android.graphics.Paint); method public final void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.RectF, @Nullable android.graphics.Paint); } public final class Rect implements android.os.Parcelable { graphics/java/android/graphics/Canvas.java +2 −4 Original line number Diff line number Diff line Loading @@ -1848,24 +1848,22 @@ public class Canvas extends BaseCanvas { } /** * Draws the specified bitmap as an N-patch (most often, a 9-patches.) * Draws the specified bitmap as an N-patch (most often, a 9-patch.) * * @param patch The ninepatch object to render * @param dst The destination rectangle. * @param paint The paint to draw the bitmap with. may be null * @hide */ public void drawPatch(@NonNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) { super.drawPatch(patch, dst, paint); } /** * Draws the specified bitmap as an N-patch (most often, a 9-patches.) * Draws the specified bitmap as an N-patch (most often, a 9-patch.) * * @param patch The ninepatch object to render * @param dst The destination rectangle. * @param paint The paint to draw the bitmap with. may be null * @hide */ public void drawPatch(@NonNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) { super.drawPatch(patch, dst, paint); Loading Loading
api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -14300,6 +14300,8 @@ package android.graphics { method public void drawOval(@NonNull android.graphics.RectF, @NonNull android.graphics.Paint); method public void drawOval(float, float, float, float, @NonNull android.graphics.Paint); method public void drawPaint(@NonNull android.graphics.Paint); method public void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.Rect, @Nullable android.graphics.Paint); method public void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.RectF, @Nullable android.graphics.Paint); method public void drawPath(@NonNull android.graphics.Path, @NonNull android.graphics.Paint); method public void drawPicture(@NonNull android.graphics.Picture); method public void drawPicture(@NonNull android.graphics.Picture, @NonNull android.graphics.RectF); Loading Loading @@ -15354,8 +15356,6 @@ package android.graphics { } public final class RecordingCanvas extends android.graphics.Canvas { method public final void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.Rect, @Nullable android.graphics.Paint); method public final void drawPatch(@NonNull android.graphics.NinePatch, @NonNull android.graphics.RectF, @Nullable android.graphics.Paint); } public final class Rect implements android.os.Parcelable {
graphics/java/android/graphics/Canvas.java +2 −4 Original line number Diff line number Diff line Loading @@ -1848,24 +1848,22 @@ public class Canvas extends BaseCanvas { } /** * Draws the specified bitmap as an N-patch (most often, a 9-patches.) * Draws the specified bitmap as an N-patch (most often, a 9-patch.) * * @param patch The ninepatch object to render * @param dst The destination rectangle. * @param paint The paint to draw the bitmap with. may be null * @hide */ public void drawPatch(@NonNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) { super.drawPatch(patch, dst, paint); } /** * Draws the specified bitmap as an N-patch (most often, a 9-patches.) * Draws the specified bitmap as an N-patch (most often, a 9-patch.) * * @param patch The ninepatch object to render * @param dst The destination rectangle. * @param paint The paint to draw the bitmap with. may be null * @hide */ public void drawPatch(@NonNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) { super.drawPatch(patch, dst, paint); Loading