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