Loading api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -29826,6 +29826,7 @@ package android.widget { method public int pointToPosition(int, int); method public int pointToPosition(int, int); method public long pointToRowId(int, int); method public long pointToRowId(int, int); method public void reclaimViews(java.util.List<android.view.View>); method public void reclaimViews(java.util.List<android.view.View>); method public boolean scrollListBy(int); method public void setAdapter(android.widget.ListAdapter); method public void setAdapter(android.widget.ListAdapter); method public void setCacheColorHint(int); method public void setCacheColorHint(int); method public void setChoiceMode(int); method public void setChoiceMode(int); core/java/android/widget/AbsListView.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -4835,6 +4835,17 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te } } } } /** * Scrolls the list items within the view by a specified number of pixels. * * @param y the amount of pixels to scroll by vertically * @return true if the list is able to scroll, or false if the list is * already at the beginning/end and unable to scroll any more. */ public boolean scrollListBy(int y) { return !trackMotionScroll(-y, -y); } /** /** * Track a motion scroll * Track a motion scroll * * Loading Loading
api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -29826,6 +29826,7 @@ package android.widget { method public int pointToPosition(int, int); method public int pointToPosition(int, int); method public long pointToRowId(int, int); method public long pointToRowId(int, int); method public void reclaimViews(java.util.List<android.view.View>); method public void reclaimViews(java.util.List<android.view.View>); method public boolean scrollListBy(int); method public void setAdapter(android.widget.ListAdapter); method public void setAdapter(android.widget.ListAdapter); method public void setCacheColorHint(int); method public void setCacheColorHint(int); method public void setChoiceMode(int); method public void setChoiceMode(int);
core/java/android/widget/AbsListView.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -4835,6 +4835,17 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te } } } } /** * Scrolls the list items within the view by a specified number of pixels. * * @param y the amount of pixels to scroll by vertically * @return true if the list is able to scroll, or false if the list is * already at the beginning/end and unable to scroll any more. */ public boolean scrollListBy(int y) { return !trackMotionScroll(-y, -y); } /** /** * Track a motion scroll * Track a motion scroll * * Loading