1package android.support.v7.recyclerview {
2
3  public final class R {
4    ctor public R();
5  }
6
7  public static final class R.attr {
8    ctor public R.attr();
9    field public static int layoutManager;
10    field public static int reverseLayout;
11    field public static int spanCount;
12    field public static int stackFromEnd;
13  }
14
15  public static final class R.dimen {
16    ctor public R.dimen();
17    field public static int item_touch_helper_max_drag_scroll_per_frame;
18  }
19
20  public static final class R.id {
21    ctor public R.id();
22    field public static int item_touch_helper_previous_elevation;
23  }
24
25  public static final class R.styleable {
26    ctor public R.styleable();
27    field public static final int[] RecyclerView;
28    field public static int RecyclerView_android_orientation;
29    field public static int RecyclerView_layoutManager;
30    field public static int RecyclerView_reverseLayout;
31    field public static int RecyclerView_spanCount;
32    field public static int RecyclerView_stackFromEnd;
33  }
34
35}
36
37package android.support.v7.util {
38
39  public class AsyncListUtil {
40    ctor public AsyncListUtil(java.lang.Class<T>, int, android.support.v7.util.AsyncListUtil.DataCallback<T>, android.support.v7.util.AsyncListUtil.ViewCallback);
41    method public T getItem(int);
42    method public int getItemCount();
43    method public void onRangeChanged();
44    method public void refresh();
45  }
46
47  public static abstract class AsyncListUtil.DataCallback {
48    ctor public AsyncListUtil.DataCallback();
49    method public abstract void fillData(T[], int, int);
50    method public int getMaxCachedTiles();
51    method public void recycleData(T[], int);
52    method public abstract int refreshData();
53  }
54
55  public static abstract class AsyncListUtil.ViewCallback {
56    ctor public AsyncListUtil.ViewCallback();
57    method public void extendRangeInto(int[], int[], int);
58    method public abstract void getItemRangeInto(int[]);
59    method public abstract void onDataRefresh();
60    method public abstract void onItemLoaded(int);
61    field public static final int HINT_SCROLL_ASC = 2; // 0x2
62    field public static final int HINT_SCROLL_DESC = 1; // 0x1
63    field public static final int HINT_SCROLL_NONE = 0; // 0x0
64  }
65
66  public class SortedList {
67    ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>);
68    ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>, int);
69    method public int add(T);
70    method public void addAll(T[], boolean);
71    method public void addAll(T...);
72    method public void addAll(java.util.Collection<T>);
73    method public void beginBatchedUpdates();
74    method public void clear();
75    method public void endBatchedUpdates();
76    method public T get(int) throws java.lang.IndexOutOfBoundsException;
77    method public int indexOf(T);
78    method public void recalculatePositionOfItemAt(int);
79    method public boolean remove(T);
80    method public T removeItemAt(int);
81    method public int size();
82    method public void updateItemAt(int, T);
83    field public static final int INVALID_POSITION = -1; // 0xffffffff
84  }
85
86  public static class SortedList.BatchedCallback extends android.support.v7.util.SortedList.Callback {
87    ctor public SortedList.BatchedCallback(android.support.v7.util.SortedList.Callback<T2>);
88    method public boolean areContentsTheSame(T2, T2);
89    method public boolean areItemsTheSame(T2, T2);
90    method public int compare(T2, T2);
91    method public void dispatchLastEvent();
92    method public void onChanged(int, int);
93    method public void onInserted(int, int);
94    method public void onMoved(int, int);
95    method public void onRemoved(int, int);
96  }
97
98  public static abstract class SortedList.Callback implements java.util.Comparator {
99    ctor public SortedList.Callback();
100    method public abstract boolean areContentsTheSame(T2, T2);
101    method public abstract boolean areItemsTheSame(T2, T2);
102    method public abstract int compare(T2, T2);
103    method public abstract void onChanged(int, int);
104    method public abstract void onInserted(int, int);
105    method public abstract void onMoved(int, int);
106    method public abstract void onRemoved(int, int);
107  }
108
109}
110
111package android.support.v7.widget {
112
113  public class DefaultItemAnimator extends android.support.v7.widget.RecyclerView.ItemAnimator {
114    ctor public DefaultItemAnimator();
115    method public boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder);
116    method public boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
117    method public boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
118    method public boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder);
119    method public void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder);
120    method public void endAnimations();
121    method public boolean isRunning();
122    method public void runPendingAnimations();
123  }
124
125  public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager {
126    ctor public GridLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
127    ctor public GridLayoutManager(android.content.Context, int);
128    ctor public GridLayoutManager(android.content.Context, int, int, boolean);
129    method public int getSpanCount();
130    method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup();
131    method public void setSpanCount(int);
132    method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup);
133    field public static final int DEFAULT_SPAN_COUNT = -1; // 0xffffffff
134  }
135
136  public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widget.GridLayoutManager.SpanSizeLookup {
137    ctor public GridLayoutManager.DefaultSpanSizeLookup();
138    method public int getSpanSize(int);
139  }
140
141  public static class GridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams {
142    ctor public GridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet);
143    ctor public GridLayoutManager.LayoutParams(int, int);
144    ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
145    ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams);
146    ctor public GridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
147    method public int getSpanIndex();
148    method public int getSpanSize();
149    field public static final int INVALID_SPAN_ID = -1; // 0xffffffff
150  }
151
152  public static abstract class GridLayoutManager.SpanSizeLookup {
153    ctor public GridLayoutManager.SpanSizeLookup();
154    method public int getSpanGroupIndex(int, int);
155    method public int getSpanIndex(int, int);
156    method public abstract int getSpanSize(int);
157    method public void invalidateSpanIndexCache();
158    method public boolean isSpanIndexCacheEnabled();
159    method public void setSpanIndexCacheEnabled(boolean);
160  }
161
162  public class LinearLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager implements android.support.v7.widget.helper.ItemTouchHelper.ViewDropHandler {
163    ctor public LinearLayoutManager(android.content.Context);
164    ctor public LinearLayoutManager(android.content.Context, int, boolean);
165    ctor public LinearLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
166    method public android.graphics.PointF computeScrollVectorForPosition(int);
167    method public int findFirstCompletelyVisibleItemPosition();
168    method public int findFirstVisibleItemPosition();
169    method public int findLastCompletelyVisibleItemPosition();
170    method public int findLastVisibleItemPosition();
171    method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
172    method protected int getExtraLayoutSpace(android.support.v7.widget.RecyclerView.State);
173    method public int getOrientation();
174    method public boolean getRecycleChildrenOnDetach();
175    method public boolean getReverseLayout();
176    method public boolean getStackFromEnd();
177    method protected boolean isLayoutRTL();
178    method public boolean isSmoothScrollbarEnabled();
179    method public void prepareForDrop(android.view.View, android.view.View, int, int);
180    method public void scrollToPositionWithOffset(int, int);
181    method public void setOrientation(int);
182    method public void setRecycleChildrenOnDetach(boolean);
183    method public void setReverseLayout(boolean);
184    method public void setSmoothScrollbarEnabled(boolean);
185    method public void setStackFromEnd(boolean);
186    field public static final int HORIZONTAL = 0; // 0x0
187    field public static final int INVALID_OFFSET = -2147483648; // 0x80000000
188    field public static final int VERTICAL = 1; // 0x1
189  }
190
191  protected static class LinearLayoutManager.LayoutChunkResult {
192    ctor protected LinearLayoutManager.LayoutChunkResult();
193    field public int mConsumed;
194    field public boolean mFinished;
195    field public boolean mFocusable;
196    field public boolean mIgnoreConsumed;
197  }
198
199  public abstract class LinearSmoothScroller extends android.support.v7.widget.RecyclerView.SmoothScroller {
200    ctor public LinearSmoothScroller(android.content.Context);
201    method public int calculateDtToFit(int, int, int, int, int);
202    method public int calculateDxToMakeVisible(android.view.View, int);
203    method public int calculateDyToMakeVisible(android.view.View, int);
204    method protected float calculateSpeedPerPixel(android.util.DisplayMetrics);
205    method protected int calculateTimeForDeceleration(int);
206    method protected int calculateTimeForScrolling(int);
207    method public abstract android.graphics.PointF computeScrollVectorForPosition(int);
208    method protected int getHorizontalSnapPreference();
209    method protected int getVerticalSnapPreference();
210    method protected void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
211    method protected void onStart();
212    method protected void onStop();
213    method protected void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
214    method protected void updateActionForInterimTarget(android.support.v7.widget.RecyclerView.SmoothScroller.Action);
215    field public static final int SNAP_TO_ANY = 0; // 0x0
216    field public static final int SNAP_TO_END = 1; // 0x1
217    field public static final int SNAP_TO_START = -1; // 0xffffffff
218    field protected final android.view.animation.DecelerateInterpolator mDecelerateInterpolator;
219    field protected int mInterimTargetDx;
220    field protected int mInterimTargetDy;
221    field protected final android.view.animation.LinearInterpolator mLinearInterpolator;
222    field protected android.graphics.PointF mTargetVector;
223  }
224
225  public abstract class OrientationHelper {
226    method public static android.support.v7.widget.OrientationHelper createHorizontalHelper(android.support.v7.widget.RecyclerView.LayoutManager);
227    method public static android.support.v7.widget.OrientationHelper createOrientationHelper(android.support.v7.widget.RecyclerView.LayoutManager, int);
228    method public static android.support.v7.widget.OrientationHelper createVerticalHelper(android.support.v7.widget.RecyclerView.LayoutManager);
229    method public abstract int getDecoratedEnd(android.view.View);
230    method public abstract int getDecoratedMeasurement(android.view.View);
231    method public abstract int getDecoratedMeasurementInOther(android.view.View);
232    method public abstract int getDecoratedStart(android.view.View);
233    method public abstract int getEnd();
234    method public abstract int getEndAfterPadding();
235    method public abstract int getEndPadding();
236    method public abstract int getStartAfterPadding();
237    method public abstract int getTotalSpace();
238    method public int getTotalSpaceChange();
239    method public abstract void offsetChild(android.view.View, int);
240    method public abstract void offsetChildren(int);
241    method public void onLayoutComplete();
242    field public static final int HORIZONTAL = 0; // 0x0
243    field public static final int VERTICAL = 1; // 0x1
244    field protected final android.support.v7.widget.RecyclerView.LayoutManager mLayoutManager;
245  }
246
247  public class RecyclerView extends android.view.ViewGroup {
248    ctor public RecyclerView(android.content.Context);
249    ctor public RecyclerView(android.content.Context, android.util.AttributeSet);
250    ctor public RecyclerView(android.content.Context, android.util.AttributeSet, int);
251    method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration, int);
252    method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration);
253    method public void addOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener);
254    method public void addOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener);
255    method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
256    method public void clearOnChildAttachStateChangeListeners();
257    method public void clearOnScrollListeners();
258    method public int computeHorizontalScrollExtent();
259    method public int computeHorizontalScrollOffset();
260    method public int computeHorizontalScrollRange();
261    method public int computeVerticalScrollExtent();
262    method public int computeVerticalScrollOffset();
263    method public int computeVerticalScrollRange();
264    method public boolean drawChild(android.graphics.Canvas, android.view.View, long);
265    method public android.view.View findChildViewUnder(float, float);
266    method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForAdapterPosition(int);
267    method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForItemId(long);
268    method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForLayoutPosition(int);
269    method public deprecated android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForPosition(int);
270    method public boolean fling(int, int);
271    method public android.support.v7.widget.RecyclerView.Adapter getAdapter();
272    method public int getChildAdapterPosition(android.view.View);
273    method public long getChildItemId(android.view.View);
274    method public int getChildLayoutPosition(android.view.View);
275    method public deprecated int getChildPosition(android.view.View);
276    method public android.support.v7.widget.RecyclerView.ViewHolder getChildViewHolder(android.view.View);
277    method public android.support.v7.widget.RecyclerViewAccessibilityDelegate getCompatAccessibilityDelegate();
278    method public android.support.v7.widget.RecyclerView.ItemAnimator getItemAnimator();
279    method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager();
280    method public int getMaxFlingVelocity();
281    method public int getMinFlingVelocity();
282    method public android.support.v7.widget.RecyclerView.RecycledViewPool getRecycledViewPool();
283    method public int getScrollState();
284    method public boolean hasFixedSize();
285    method public boolean hasPendingAdapterUpdates();
286    method public void invalidateItemDecorations();
287    method public boolean isAnimating();
288    method public boolean isComputingLayout();
289    method public boolean isLayoutFrozen();
290    method public void offsetChildrenHorizontal(int);
291    method public void offsetChildrenVertical(int);
292    method public void onChildAttachedToWindow(android.view.View);
293    method public void onChildDetachedFromWindow(android.view.View);
294    method public void onDraw(android.graphics.Canvas);
295    method protected void onLayout(boolean, int, int, int, int);
296    method public void onScrollStateChanged(int);
297    method public void onScrolled(int, int);
298    method public void removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration);
299    method public void removeOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener);
300    method public void removeOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener);
301    method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
302    method public void scrollToPosition(int);
303    method public void setAccessibilityDelegateCompat(android.support.v7.widget.RecyclerViewAccessibilityDelegate);
304    method public void setAdapter(android.support.v7.widget.RecyclerView.Adapter);
305    method public void setChildDrawingOrderCallback(android.support.v7.widget.RecyclerView.ChildDrawingOrderCallback);
306    method public void setHasFixedSize(boolean);
307    method public void setItemAnimator(android.support.v7.widget.RecyclerView.ItemAnimator);
308    method public void setItemViewCacheSize(int);
309    method public void setLayoutFrozen(boolean);
310    method public void setLayoutManager(android.support.v7.widget.RecyclerView.LayoutManager);
311    method public deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
312    method public void setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool);
313    method public void setRecyclerListener(android.support.v7.widget.RecyclerView.RecyclerListener);
314    method public void setScrollingTouchSlop(int);
315    method public void setViewCacheExtension(android.support.v7.widget.RecyclerView.ViewCacheExtension);
316    method public void smoothScrollBy(int, int);
317    method public void smoothScrollToPosition(int);
318    method public void stopScroll();
319    method public void swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean);
320    field public static final int HORIZONTAL = 0; // 0x0
321    field public static final int INVALID_TYPE = -1; // 0xffffffff
322    field public static final long NO_ID = -1L; // 0xffffffffffffffffL
323    field public static final int NO_POSITION = -1; // 0xffffffff
324    field public static final int SCROLL_STATE_DRAGGING = 1; // 0x1
325    field public static final int SCROLL_STATE_IDLE = 0; // 0x0
326    field public static final int SCROLL_STATE_SETTLING = 2; // 0x2
327    field public static final int TOUCH_SLOP_DEFAULT = 0; // 0x0
328    field public static final int TOUCH_SLOP_PAGING = 1; // 0x1
329    field public static final int VERTICAL = 1; // 0x1
330  }
331
332  public static abstract class RecyclerView.Adapter {
333    ctor public RecyclerView.Adapter();
334    method public final void bindViewHolder(VH, int);
335    method public final VH createViewHolder(android.view.ViewGroup, int);
336    method public abstract int getItemCount();
337    method public long getItemId(int);
338    method public int getItemViewType(int);
339    method public final boolean hasObservers();
340    method public final boolean hasStableIds();
341    method public final void notifyDataSetChanged();
342    method public final void notifyItemChanged(int);
343    method public final void notifyItemChanged(int, java.lang.Object);
344    method public final void notifyItemInserted(int);
345    method public final void notifyItemMoved(int, int);
346    method public final void notifyItemRangeChanged(int, int);
347    method public final void notifyItemRangeChanged(int, int, java.lang.Object);
348    method public final void notifyItemRangeInserted(int, int);
349    method public final void notifyItemRangeRemoved(int, int);
350    method public final void notifyItemRemoved(int);
351    method public void onAttachedToRecyclerView(android.support.v7.widget.RecyclerView);
352    method public abstract void onBindViewHolder(VH, int);
353    method public void onBindViewHolder(VH, int, java.util.List<java.lang.Object>);
354    method public abstract VH onCreateViewHolder(android.view.ViewGroup, int);
355    method public void onDetachedFromRecyclerView(android.support.v7.widget.RecyclerView);
356    method public boolean onFailedToRecycleView(VH);
357    method public void onViewAttachedToWindow(VH);
358    method public void onViewDetachedFromWindow(VH);
359    method public void onViewRecycled(VH);
360    method public void registerAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver);
361    method public void setHasStableIds(boolean);
362    method public void unregisterAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver);
363  }
364
365  public static abstract class RecyclerView.AdapterDataObserver {
366    ctor public RecyclerView.AdapterDataObserver();
367    method public void onChanged();
368    method public void onItemRangeChanged(int, int);
369    method public void onItemRangeChanged(int, int, java.lang.Object);
370    method public void onItemRangeInserted(int, int);
371    method public void onItemRangeMoved(int, int, int);
372    method public void onItemRangeRemoved(int, int);
373  }
374
375  public static abstract interface RecyclerView.ChildDrawingOrderCallback {
376    method public abstract int onGetChildDrawingOrder(int, int);
377  }
378
379  public static abstract class RecyclerView.ItemAnimator {
380    ctor public RecyclerView.ItemAnimator();
381    method public abstract boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder);
382    method public abstract boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
383    method public abstract boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
384    method public abstract boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder);
385    method public final void dispatchAddFinished(android.support.v7.widget.RecyclerView.ViewHolder);
386    method public final void dispatchAddStarting(android.support.v7.widget.RecyclerView.ViewHolder);
387    method public final void dispatchAnimationsFinished();
388    method public final void dispatchChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
389    method public final void dispatchChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
390    method public final void dispatchMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
391    method public final void dispatchMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
392    method public final void dispatchRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
393    method public final void dispatchRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
394    method public abstract void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder);
395    method public abstract void endAnimations();
396    method public long getAddDuration();
397    method public long getChangeDuration();
398    method public long getMoveDuration();
399    method public long getRemoveDuration();
400    method public boolean getSupportsChangeAnimations();
401    method public abstract boolean isRunning();
402    method public final boolean isRunning(android.support.v7.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener);
403    method public void onAddFinished(android.support.v7.widget.RecyclerView.ViewHolder);
404    method public void onAddStarting(android.support.v7.widget.RecyclerView.ViewHolder);
405    method public void onChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
406    method public void onChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
407    method public void onMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
408    method public void onMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
409    method public void onRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
410    method public void onRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
411    method public abstract void runPendingAnimations();
412    method public void setAddDuration(long);
413    method public void setChangeDuration(long);
414    method public void setMoveDuration(long);
415    method public void setRemoveDuration(long);
416    method public void setSupportsChangeAnimations(boolean);
417  }
418
419  public static abstract interface RecyclerView.ItemAnimator.ItemAnimatorFinishedListener {
420    method public abstract void onAnimationsFinished();
421  }
422
423  public static abstract class RecyclerView.ItemDecoration {
424    ctor public RecyclerView.ItemDecoration();
425    method public deprecated void getItemOffsets(android.graphics.Rect, int, android.support.v7.widget.RecyclerView);
426    method public void getItemOffsets(android.graphics.Rect, android.view.View, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
427    method public void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
428    method public deprecated void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView);
429    method public void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
430    method public deprecated void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView);
431  }
432
433  public static abstract class RecyclerView.LayoutManager {
434    ctor public RecyclerView.LayoutManager();
435    method public void addDisappearingView(android.view.View);
436    method public void addDisappearingView(android.view.View, int);
437    method public void addView(android.view.View);
438    method public void addView(android.view.View, int);
439    method public void assertInLayoutOrScroll(java.lang.String);
440    method public void assertNotInLayoutOrScroll(java.lang.String);
441    method public void attachView(android.view.View, int, android.support.v7.widget.RecyclerView.LayoutParams);
442    method public void attachView(android.view.View, int);
443    method public void attachView(android.view.View);
444    method public void calculateItemDecorationsForChild(android.view.View, android.graphics.Rect);
445    method public boolean canScrollHorizontally();
446    method public boolean canScrollVertically();
447    method public boolean checkLayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
448    method public int computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State);
449    method public int computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State);
450    method public int computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State);
451    method public int computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State);
452    method public int computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State);
453    method public int computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State);
454    method public void detachAndScrapAttachedViews(android.support.v7.widget.RecyclerView.Recycler);
455    method public void detachAndScrapView(android.view.View, android.support.v7.widget.RecyclerView.Recycler);
456    method public void detachAndScrapViewAt(int, android.support.v7.widget.RecyclerView.Recycler);
457    method public void detachView(android.view.View);
458    method public void detachViewAt(int);
459    method public void endAnimation(android.view.View);
460    method public android.view.View findViewByPosition(int);
461    method public abstract android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
462    method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
463    method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.content.Context, android.util.AttributeSet);
464    method public int getBaseline();
465    method public int getBottomDecorationHeight(android.view.View);
466    method public android.view.View getChildAt(int);
467    method public int getChildCount();
468    method public static int getChildMeasureSpec(int, int, int, boolean);
469    method public boolean getClipToPadding();
470    method public int getColumnCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
471    method public int getDecoratedBottom(android.view.View);
472    method public int getDecoratedLeft(android.view.View);
473    method public int getDecoratedMeasuredHeight(android.view.View);
474    method public int getDecoratedMeasuredWidth(android.view.View);
475    method public int getDecoratedRight(android.view.View);
476    method public int getDecoratedTop(android.view.View);
477    method public android.view.View getFocusedChild();
478    method public int getHeight();
479    method public int getItemCount();
480    method public int getItemViewType(android.view.View);
481    method public int getLayoutDirection();
482    method public int getLeftDecorationWidth(android.view.View);
483    method public int getMinimumHeight();
484    method public int getMinimumWidth();
485    method public int getPaddingBottom();
486    method public int getPaddingEnd();
487    method public int getPaddingLeft();
488    method public int getPaddingRight();
489    method public int getPaddingStart();
490    method public int getPaddingTop();
491    method public int getPosition(android.view.View);
492    method public static android.support.v7.widget.RecyclerView.LayoutManager.Properties getProperties(android.content.Context, android.util.AttributeSet, int, int);
493    method public int getRightDecorationWidth(android.view.View);
494    method public int getRowCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
495    method public int getSelectionModeForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
496    method public int getTopDecorationHeight(android.view.View);
497    method public int getWidth();
498    method public boolean hasFocus();
499    method public void ignoreView(android.view.View);
500    method public boolean isAttachedToWindow();
501    method public boolean isFocused();
502    method public boolean isLayoutHierarchical(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
503    method public boolean isSmoothScrolling();
504    method public void layoutDecorated(android.view.View, int, int, int, int);
505    method public void measureChild(android.view.View, int, int);
506    method public void measureChildWithMargins(android.view.View, int, int);
507    method public void moveView(int, int);
508    method public void offsetChildrenHorizontal(int);
509    method public void offsetChildrenVertical(int);
510    method public void onAdapterChanged(android.support.v7.widget.RecyclerView.Adapter, android.support.v7.widget.RecyclerView.Adapter);
511    method public boolean onAddFocusables(android.support.v7.widget.RecyclerView, java.util.ArrayList<android.view.View>, int, int);
512    method public void onAttachedToWindow(android.support.v7.widget.RecyclerView);
513    method public deprecated void onDetachedFromWindow(android.support.v7.widget.RecyclerView);
514    method public void onDetachedFromWindow(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.Recycler);
515    method public android.view.View onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
516    method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
517    method public void onInitializeAccessibilityEvent(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.accessibility.AccessibilityEvent);
518    method public void onInitializeAccessibilityNodeInfo(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat);
519    method public void onInitializeAccessibilityNodeInfoForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat);
520    method public android.view.View onInterceptFocusSearch(android.view.View, int);
521    method public void onItemsAdded(android.support.v7.widget.RecyclerView, int, int);
522    method public void onItemsChanged(android.support.v7.widget.RecyclerView);
523    method public void onItemsMoved(android.support.v7.widget.RecyclerView, int, int, int);
524    method public void onItemsRemoved(android.support.v7.widget.RecyclerView, int, int);
525    method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int);
526    method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int, java.lang.Object);
527    method public void onLayoutChildren(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
528    method public void onMeasure(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, int);
529    method public deprecated boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.view.View, android.view.View);
530    method public boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, android.view.View, android.view.View);
531    method public void onRestoreInstanceState(android.os.Parcelable);
532    method public android.os.Parcelable onSaveInstanceState();
533    method public void onScrollStateChanged(int);
534    method public boolean performAccessibilityAction(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, android.os.Bundle);
535    method public boolean performAccessibilityActionForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, int, android.os.Bundle);
536    method public void postOnAnimation(java.lang.Runnable);
537    method public void removeAllViews();
538    method public void removeAndRecycleAllViews(android.support.v7.widget.RecyclerView.Recycler);
539    method public void removeAndRecycleView(android.view.View, android.support.v7.widget.RecyclerView.Recycler);
540    method public void removeAndRecycleViewAt(int, android.support.v7.widget.RecyclerView.Recycler);
541    method public boolean removeCallbacks(java.lang.Runnable);
542    method public void removeDetachedView(android.view.View);
543    method public void removeView(android.view.View);
544    method public void removeViewAt(int);
545    method public boolean requestChildRectangleOnScreen(android.support.v7.widget.RecyclerView, android.view.View, android.graphics.Rect, boolean);
546    method public void requestLayout();
547    method public void requestSimpleAnimationsInNextLayout();
548    method public int scrollHorizontallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
549    method public void scrollToPosition(int);
550    method public int scrollVerticallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
551    method public void setMeasuredDimension(int, int);
552    method public void smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int);
553    method public void startSmoothScroll(android.support.v7.widget.RecyclerView.SmoothScroller);
554    method public void stopIgnoringView(android.view.View);
555    method public boolean supportsPredictiveItemAnimations();
556  }
557
558  public static class RecyclerView.LayoutManager.Properties {
559    ctor public RecyclerView.LayoutManager.Properties();
560    field public int orientation;
561    field public boolean reverseLayout;
562    field public int spanCount;
563    field public boolean stackFromEnd;
564  }
565
566  public static class RecyclerView.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
567    ctor public RecyclerView.LayoutParams(android.content.Context, android.util.AttributeSet);
568    ctor public RecyclerView.LayoutParams(int, int);
569    ctor public RecyclerView.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
570    ctor public RecyclerView.LayoutParams(android.view.ViewGroup.LayoutParams);
571    ctor public RecyclerView.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
572    method public int getViewAdapterPosition();
573    method public int getViewLayoutPosition();
574    method public deprecated int getViewPosition();
575    method public boolean isItemChanged();
576    method public boolean isItemRemoved();
577    method public boolean isViewInvalid();
578    method public boolean viewNeedsUpdate();
579  }
580
581  public static abstract interface RecyclerView.OnChildAttachStateChangeListener {
582    method public abstract void onChildViewAttachedToWindow(android.view.View);
583    method public abstract void onChildViewDetachedFromWindow(android.view.View);
584  }
585
586  public static abstract interface RecyclerView.OnItemTouchListener {
587    method public abstract boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
588    method public abstract void onRequestDisallowInterceptTouchEvent(boolean);
589    method public abstract void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
590  }
591
592  public static abstract class RecyclerView.OnScrollListener {
593    ctor public RecyclerView.OnScrollListener();
594    method public void onScrollStateChanged(android.support.v7.widget.RecyclerView, int);
595    method public void onScrolled(android.support.v7.widget.RecyclerView, int, int);
596  }
597
598  public static class RecyclerView.RecycledViewPool {
599    ctor public RecyclerView.RecycledViewPool();
600    method public void clear();
601    method public android.support.v7.widget.RecyclerView.ViewHolder getRecycledView(int);
602    method public void putRecycledView(android.support.v7.widget.RecyclerView.ViewHolder);
603    method public void setMaxRecycledViews(int, int);
604  }
605
606  public final class RecyclerView.Recycler {
607    ctor public RecyclerView.Recycler();
608    method public void bindViewToPosition(android.view.View, int);
609    method public void clear();
610    method public int convertPreLayoutPositionToPostLayout(int);
611    method public java.util.List<android.support.v7.widget.RecyclerView.ViewHolder> getScrapList();
612    method public android.view.View getViewForPosition(int);
613    method public void recycleView(android.view.View);
614    method public void setViewCacheSize(int);
615  }
616
617  public static abstract interface RecyclerView.RecyclerListener {
618    method public abstract void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder);
619  }
620
621  public static class RecyclerView.SimpleOnItemTouchListener implements android.support.v7.widget.RecyclerView.OnItemTouchListener {
622    ctor public RecyclerView.SimpleOnItemTouchListener();
623    method public boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
624    method public void onRequestDisallowInterceptTouchEvent(boolean);
625    method public void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
626  }
627
628  public static abstract class RecyclerView.SmoothScroller {
629    ctor public RecyclerView.SmoothScroller();
630    method public android.view.View findViewByPosition(int);
631    method public int getChildCount();
632    method public int getChildPosition(android.view.View);
633    method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager();
634    method public int getTargetPosition();
635    method public deprecated void instantScrollToPosition(int);
636    method public boolean isPendingInitialRun();
637    method public boolean isRunning();
638    method protected void normalize(android.graphics.PointF);
639    method protected void onChildAttachedToWindow(android.view.View);
640    method protected abstract void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
641    method protected abstract void onStart();
642    method protected abstract void onStop();
643    method protected abstract void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
644    method public void setTargetPosition(int);
645    method protected final void stop();
646  }
647
648  public static class RecyclerView.SmoothScroller.Action {
649    ctor public RecyclerView.SmoothScroller.Action(int, int);
650    ctor public RecyclerView.SmoothScroller.Action(int, int, int);
651    ctor public RecyclerView.SmoothScroller.Action(int, int, int, android.view.animation.Interpolator);
652    method public int getDuration();
653    method public int getDx();
654    method public int getDy();
655    method public android.view.animation.Interpolator getInterpolator();
656    method public void jumpTo(int);
657    method public void setDuration(int);
658    method public void setDx(int);
659    method public void setDy(int);
660    method public void setInterpolator(android.view.animation.Interpolator);
661    method public void update(int, int, int, android.view.animation.Interpolator);
662    field public static final int UNDEFINED_DURATION = -2147483648; // 0x80000000
663  }
664
665  public static class RecyclerView.State {
666    ctor public RecyclerView.State();
667    method public boolean didStructureChange();
668    method public T get(int);
669    method public int getItemCount();
670    method public int getTargetScrollPosition();
671    method public boolean hasTargetScrollPosition();
672    method public boolean isPreLayout();
673    method public void onViewIgnored(android.support.v7.widget.RecyclerView.ViewHolder);
674    method public void put(int, java.lang.Object);
675    method public void remove(int);
676    method public boolean willRunPredictiveAnimations();
677    method public boolean willRunSimpleAnimations();
678  }
679
680  public static abstract class RecyclerView.ViewCacheExtension {
681    ctor public RecyclerView.ViewCacheExtension();
682    method public abstract android.view.View getViewForPositionAndType(android.support.v7.widget.RecyclerView.Recycler, int, int);
683  }
684
685  public static abstract class RecyclerView.ViewHolder {
686    ctor public RecyclerView.ViewHolder(android.view.View);
687    method public final int getAdapterPosition();
688    method public final long getItemId();
689    method public final int getItemViewType();
690    method public final int getLayoutPosition();
691    method public final int getOldPosition();
692    method public final deprecated int getPosition();
693    method public final boolean isRecyclable();
694    method public final void setIsRecyclable(boolean);
695    field public final android.view.View itemView;
696  }
697
698  public class RecyclerViewAccessibilityDelegate extends android.support.v4.view.AccessibilityDelegateCompat {
699    ctor public RecyclerViewAccessibilityDelegate(android.support.v7.widget.RecyclerView);
700  }
701
702  public class StaggeredGridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager {
703    ctor public StaggeredGridLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
704    ctor public StaggeredGridLayoutManager(int, int);
705    method public int[] findFirstCompletelyVisibleItemPositions(int[]);
706    method public int[] findFirstVisibleItemPositions(int[]);
707    method public int[] findLastCompletelyVisibleItemPositions(int[]);
708    method public int[] findLastVisibleItemPositions(int[]);
709    method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
710    method public int getGapStrategy();
711    method public int getOrientation();
712    method public boolean getReverseLayout();
713    method public int getSpanCount();
714    method public void invalidateSpanAssignments();
715    method public void scrollToPositionWithOffset(int, int);
716    method public void setGapStrategy(int);
717    method public void setOrientation(int);
718    method public void setReverseLayout(boolean);
719    method public void setSpanCount(int);
720    field public static final deprecated int GAP_HANDLING_LAZY = 1; // 0x1
721    field public static final int GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS = 2; // 0x2
722    field public static final int GAP_HANDLING_NONE = 0; // 0x0
723    field public static final int HORIZONTAL = 0; // 0x0
724    field public static final java.lang.String TAG = "StaggeredGridLayoutManager";
725    field public static final int VERTICAL = 1; // 0x1
726  }
727
728  public static class StaggeredGridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams {
729    ctor public StaggeredGridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet);
730    ctor public StaggeredGridLayoutManager.LayoutParams(int, int);
731    ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
732    ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams);
733    ctor public StaggeredGridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
734    method public final int getSpanIndex();
735    method public boolean isFullSpan();
736    method public void setFullSpan(boolean);
737    field public static final int INVALID_SPAN_ID = -1; // 0xffffffff
738  }
739
740}
741
742package android.support.v7.widget.helper {
743
744  public class ItemTouchHelper extends android.support.v7.widget.RecyclerView.ItemDecoration implements android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener {
745    ctor public ItemTouchHelper(android.support.v7.widget.helper.ItemTouchHelper.Callback);
746    method public void attachToRecyclerView(android.support.v7.widget.RecyclerView);
747    method public void onChildViewAttachedToWindow(android.view.View);
748    method public void onChildViewDetachedFromWindow(android.view.View);
749    method public void startDrag(android.support.v7.widget.RecyclerView.ViewHolder);
750    method public void startSwipe(android.support.v7.widget.RecyclerView.ViewHolder);
751    field public static final int ACTION_STATE_DRAG = 2; // 0x2
752    field public static final int ACTION_STATE_IDLE = 0; // 0x0
753    field public static final int ACTION_STATE_SWIPE = 1; // 0x1
754    field public static final int ANIMATION_TYPE_DRAG = 8; // 0x8
755    field public static final int ANIMATION_TYPE_SWIPE_CANCEL = 4; // 0x4
756    field public static final int ANIMATION_TYPE_SWIPE_SUCCESS = 2; // 0x2
757    field public static final int DOWN = 2; // 0x2
758    field public static final int END = 32; // 0x20
759    field public static final int LEFT = 4; // 0x4
760    field public static final int RIGHT = 8; // 0x8
761    field public static final int START = 16; // 0x10
762    field public static final int UP = 1; // 0x1
763  }
764
765  public static abstract class ItemTouchHelper.Callback {
766    ctor public ItemTouchHelper.Callback();
767    method public boolean canDropOver(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder);
768    method public android.support.v7.widget.RecyclerView.ViewHolder chooseDropTarget(android.support.v7.widget.RecyclerView.ViewHolder, java.util.List<android.support.v7.widget.RecyclerView.ViewHolder>, int, int);
769    method public void clearView(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
770    method public int convertToAbsoluteDirection(int, int);
771    method public static int convertToRelativeDirection(int, int);
772    method public long getAnimationDuration(android.support.v7.widget.RecyclerView, int, float, float);
773    method public int getBoundingBoxMargin();
774    method public static android.support.v7.widget.helper.ItemTouchUIUtil getDefaultUIUtil();
775    method public float getMoveThreshold(android.support.v7.widget.RecyclerView.ViewHolder);
776    method public abstract int getMovementFlags(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
777    method public float getSwipeThreshold(android.support.v7.widget.RecyclerView.ViewHolder);
778    method public int interpolateOutOfBoundsScroll(android.support.v7.widget.RecyclerView, int, int, int, long);
779    method public boolean isItemViewSwipeEnabled();
780    method public boolean isLongPressDragEnabled();
781    method public static int makeFlag(int, int);
782    method public static int makeMovementFlags(int, int);
783    method public void onChildDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, float, float, int, boolean);
784    method public void onChildDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, float, float, int, boolean);
785    method public abstract boolean onMove(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder);
786    method public void onMoved(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, int, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int);
787    method public void onSelectedChanged(android.support.v7.widget.RecyclerView.ViewHolder, int);
788    method public abstract void onSwiped(android.support.v7.widget.RecyclerView.ViewHolder, int);
789    field public static final int DEFAULT_DRAG_ANIMATION_DURATION = 200; // 0xc8
790    field public static final int DEFAULT_SWIPE_ANIMATION_DURATION = 250; // 0xfa
791  }
792
793  public static abstract class ItemTouchHelper.SimpleCallback extends android.support.v7.widget.helper.ItemTouchHelper.Callback {
794    ctor public ItemTouchHelper.SimpleCallback(int, int);
795    method public int getDragDirs(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
796    method public int getMovementFlags(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
797    method public int getSwipeDirs(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
798    method public void setDefaultDragDirs(int);
799    method public void setDefaultSwipeDirs(int);
800  }
801
802  public static abstract interface ItemTouchHelper.ViewDropHandler {
803    method public abstract void prepareForDrop(android.view.View, android.view.View, int, int);
804  }
805
806  public abstract interface ItemTouchUIUtil {
807    method public abstract void clearView(android.view.View);
808    method public abstract void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.view.View, float, float, int, boolean);
809    method public abstract void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.view.View, float, float, int, boolean);
810    method public abstract void onSelected(android.view.View);
811  }
812
813}
814
815package android.support.v7.widget.util {
816
817  public abstract class SortedListAdapterCallback extends android.support.v7.util.SortedList.Callback {
818    ctor public SortedListAdapterCallback(android.support.v7.widget.RecyclerView.Adapter);
819    method public void onChanged(int, int);
820    method public void onInserted(int, int);
821    method public void onMoved(int, int);
822    method public void onRemoved(int, int);
823  }
824
825}
826
827