From cdac51539809beef498741570ddd4e8ade6c4b8c Mon Sep 17 00:00:00 2001 From: Kirill Grouchnikov Date: Tue, 6 Sep 2016 19:02:33 -0700 Subject: [PATCH] Javadocs fixes for deprecated methods on OverScroller Change-Id: I73aebc4727df394195d1b98e73a256d6420c3a7b --- api/current.txt | 4 ++-- api/system-current.txt | 4 ++-- api/test-current.txt | 4 ++-- core/java/android/widget/OverScroller.java | 6 ++++-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/api/current.txt b/api/current.txt index 479dda206ba39..c7cde89a89547 100644 --- a/api/current.txt +++ b/api/current.txt @@ -47296,8 +47296,8 @@ package android.widget { public class OverScroller { ctor public OverScroller(android.content.Context); ctor public OverScroller(android.content.Context, android.view.animation.Interpolator); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); method public void abortAnimation(); method public boolean computeScrollOffset(); method public void fling(int, int, int, int, int, int, int, int); diff --git a/api/system-current.txt b/api/system-current.txt index bdb47d80e3dda..169b10c53cf68 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -50824,8 +50824,8 @@ package android.widget { public class OverScroller { ctor public OverScroller(android.content.Context); ctor public OverScroller(android.content.Context, android.view.animation.Interpolator); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); method public void abortAnimation(); method public boolean computeScrollOffset(); method public void fling(int, int, int, int, int, int, int, int); diff --git a/api/test-current.txt b/api/test-current.txt index 1f002346cacc5..dbd2f69183d3f 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -47381,8 +47381,8 @@ package android.widget { public class OverScroller { ctor public OverScroller(android.content.Context); ctor public OverScroller(android.content.Context, android.view.animation.Interpolator); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); - ctor public OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float); + ctor public deprecated OverScroller(android.content.Context, android.view.animation.Interpolator, float, float, boolean); method public void abortAnimation(); method public boolean computeScrollOffset(); method public void fling(int, int, int, int, int, int, int, int); diff --git a/core/java/android/widget/OverScroller.java b/core/java/android/widget/OverScroller.java index 50569d7e8f720..99387896913a1 100644 --- a/core/java/android/widget/OverScroller.java +++ b/core/java/android/widget/OverScroller.java @@ -89,8 +89,9 @@ public class OverScroller { * means no bounce. This behavior is no longer supported and this coefficient has no effect. * @param bounceCoefficientY Same as bounceCoefficientX but for the vertical direction. This * behavior is no longer supported and this coefficient has no effect. - * !deprecated Use {!link #OverScroller(Context, Interpolator, boolean)} instead. + * @deprecated Use {@link #OverScroller(Context, Interpolator)} instead. */ + @Deprecated public OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY) { this(context, interpolator, true); @@ -107,8 +108,9 @@ public class OverScroller { * @param bounceCoefficientY Same as bounceCoefficientX but for the vertical direction. This * behavior is no longer supported and this coefficient has no effect. * @param flywheel If true, successive fling motions will keep on increasing scroll speed. - * !deprecated Use {!link OverScroller(Context, Interpolator, boolean)} instead. + * @deprecated Use {@link #OverScroller(Context, Interpolator)} instead. */ + @Deprecated public OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY, boolean flywheel) { this(context, interpolator, flywheel);