Loading core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -57446,8 +57446,8 @@ package android.widget { method public void setViewOutlinePreferredRadiusDimen(@IdRes int, @DimenRes int); method public void setViewPadding(@IdRes int, @Px int, @Px int, @Px int, @Px int); method public void setViewVisibility(@IdRes int, int); method public void showNext(@IdRes int); method public void showPrevious(@IdRes int); method @Deprecated public void showNext(@IdRes int); method @Deprecated public void showPrevious(@IdRes int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.widget.RemoteViews> CREATOR; field public static final String EXTRA_CHECKED = "android.widget.extra.CHECKED"; core/java/android/widget/RemoteViews.java +14 −0 Original line number Diff line number Diff line Loading @@ -1517,6 +1517,12 @@ public class RemoteViews implements Parcelable, Filter { } } /** * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated private final class ViewContentNavigation extends Action { final boolean mNext; Loading Loading @@ -4121,7 +4127,11 @@ public class RemoteViews implements Parcelable, Filter { * Equivalent to calling {@link AdapterViewAnimator#showNext()} * * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showNext()} * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated public void showNext(@IdRes int viewId) { addAction(new ViewContentNavigation(viewId, true /* next */)); } Loading @@ -4130,7 +4140,11 @@ public class RemoteViews implements Parcelable, Filter { * Equivalent to calling {@link AdapterViewAnimator#showPrevious()} * * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showPrevious()} * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated public void showPrevious(@IdRes int viewId) { addAction(new ViewContentNavigation(viewId, false /* next */)); } Loading Loading
core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -57446,8 +57446,8 @@ package android.widget { method public void setViewOutlinePreferredRadiusDimen(@IdRes int, @DimenRes int); method public void setViewPadding(@IdRes int, @Px int, @Px int, @Px int, @Px int); method public void setViewVisibility(@IdRes int, int); method public void showNext(@IdRes int); method public void showPrevious(@IdRes int); method @Deprecated public void showNext(@IdRes int); method @Deprecated public void showPrevious(@IdRes int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.widget.RemoteViews> CREATOR; field public static final String EXTRA_CHECKED = "android.widget.extra.CHECKED";
core/java/android/widget/RemoteViews.java +14 −0 Original line number Diff line number Diff line Loading @@ -1517,6 +1517,12 @@ public class RemoteViews implements Parcelable, Filter { } } /** * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated private final class ViewContentNavigation extends Action { final boolean mNext; Loading Loading @@ -4121,7 +4127,11 @@ public class RemoteViews implements Parcelable, Filter { * Equivalent to calling {@link AdapterViewAnimator#showNext()} * * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showNext()} * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated public void showNext(@IdRes int viewId) { addAction(new ViewContentNavigation(viewId, true /* next */)); } Loading @@ -4130,7 +4140,11 @@ public class RemoteViews implements Parcelable, Filter { * Equivalent to calling {@link AdapterViewAnimator#showPrevious()} * * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showPrevious()} * @deprecated As RemoteViews may be reapplied frequently, it is preferable to call * {@link #setDisplayedChild(int, int)} to ensure that the adapter index does not change * unexpectedly. */ @Deprecated public void showPrevious(@IdRes int viewId) { addAction(new ViewContentNavigation(viewId, false /* next */)); } Loading