Lines Matching refs:State

364     final State mState = new State();
1316 * {@link LayoutManager#smoothScrollToPosition(RecyclerView, State, int)} and create a
1321 * {@link LayoutManager#smoothScrollToPosition(RecyclerView, State, int)} in your
1325 * @see LayoutManager#smoothScrollToPosition(RecyclerView, State, int)
1466 * {@link RecyclerView.LayoutManager#computeHorizontalScrollOffset(RecyclerView.State)} in your
1490 * {@link RecyclerView.LayoutManager#computeHorizontalScrollExtent(RecyclerView.State)} in your
1494 * @see RecyclerView.LayoutManager#computeHorizontalScrollExtent(RecyclerView.State)
1510 * {@link RecyclerView.LayoutManager#computeHorizontalScrollRange(RecyclerView.State)} in your
1514 * @see RecyclerView.LayoutManager#computeHorizontalScrollRange(RecyclerView.State)
1531 * {@link RecyclerView.LayoutManager#computeVerticalScrollOffset(RecyclerView.State)} in your
1553 * {@link RecyclerView.LayoutManager#computeVerticalScrollExtent(RecyclerView.State)} in your
1557 * @see RecyclerView.LayoutManager#computeVerticalScrollExtent(RecyclerView.State)
1573 * {@link RecyclerView.LayoutManager#computeVerticalScrollRange(RecyclerView.State)} in your
1577 * @see RecyclerView.LayoutManager#computeVerticalScrollRange(RecyclerView.State)
1614 * dropped; {@link LayoutManager#onFocusSearchFailed(View, int, Recycler, State)} will not be
1620 * RecyclerView, State, int)}.
4433 * less than {@link State#getItemCount()}.
4437 throw new IndexOutOfBoundsException("invalid position " + position + ". State "
5839 * rules as outlined in {@link #onLayoutChildren(Recycler, State)}.
5850 * then there will be two calls to {@link #onLayoutChildren(Recycler, State)} to
5973 * normal layout operation during {@link #onLayoutChildren(Recycler, State)}, the
5983 * {@link #onLayoutChildren(Recycler, State)}. Supporting predictive animations
5984 * means that {@link #onLayoutChildren(Recycler, State)} will be called twice;
6015 public void onLayoutChildren(Recycler recycler, State state) {
6016 Log.e(TAG, "You must override onLayoutChildren(Recycler recycler, State state) ");
6104 public int scrollHorizontallyBy(int dx, Recycler recycler, State state) {
6121 public int scrollVerticallyBy(int dy, Recycler recycler, State state) {
6163 * @param state Current State of RecyclerView
6166 public void smoothScrollToPosition(RecyclerView recyclerView, State state,
6218 * To be called only during {@link #onLayoutChildren(Recycler, State)} to add a view
6235 * To be called only during {@link #onLayoutChildren(Recycler, State)} to add a view
6728 * Note that this number is not necessarily equal to {@link State#getItemCount()}. In
6729 * methods where State is available, you should use {@link State#getItemCount()} instead.
6730 * For more details, check the documentation for {@link State#getItemCount()}.
6733 * @see State#getItemCount()
7193 State state) {
7201 * then {@link #onFocusSearchFailed(View, int, RecyclerView.Recycler, RecyclerView.State)}
7277 * @deprecated Use {@link #onRequestChildFocus(RecyclerView, State, View, View)}
7302 public boolean onRequestChildFocus(RecyclerView parent, State state, View child,
7436 public int computeHorizontalScrollExtent(State state) {
7447 * @param state Current State of RecyclerView where you can find total item count
7451 public int computeHorizontalScrollOffset(State state) {
7462 * @param state Current State of RecyclerView where you can find total item count
7466 public int computeHorizontalScrollRange(State state) {
7481 public int computeVerticalScrollExtent(State state) {
7492 * @param state Current State of RecyclerView where you can find total item count
7496 public int computeVerticalScrollOffset(State state) {
7507 * @param state Current State of RecyclerView where you can find total item count
7511 public int computeVerticalScrollRange(State state) {
7529 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) {
7630 * {@link #getRowCountForAccessibility(RecyclerView.Recycler, RecyclerView.State)},
7631 * {@link #getColumnCountForAccessibility(RecyclerView.Recycler, RecyclerView.State)},
7632 * {@link #isLayoutHierarchical(RecyclerView.Recycler, RecyclerView.State)} and
7633 * {@link #getSelectionModeForAccessibility(RecyclerView.Recycler, RecyclerView.State)} for
7642 * @see #getRowCountForAccessibility(RecyclerView.Recycler, RecyclerView.State)
7643 * @see #getColumnCountForAccessibility(RecyclerView.Recycler, RecyclerView.State)
7644 * @see #isLayoutHierarchical(RecyclerView.Recycler, RecyclerView.State)
7645 * @see #getSelectionModeForAccessibility(RecyclerView.Recycler, RecyclerView.State)
7647 public void onInitializeAccessibilityNodeInfo(Recycler recycler, State state,
7684 public void onInitializeAccessibilityEvent(Recycler recycler, State state,
7725 public void onInitializeAccessibilityNodeInfoForItem(Recycler recycler, State state,
7764 public int getSelectionModeForAccessibility(Recycler recycler, State state) {
7780 public int getRowCountForAccessibility(Recycler recycler, State state) {
7799 public int getColumnCountForAccessibility(Recycler recycler, State state) {
7816 public boolean isLayoutHierarchical(Recycler recycler, State state) {
7836 public boolean performAccessibilityAction(Recycler recycler, State state, int action,
7888 public boolean performAccessibilityActionForItem(Recycler recycler, State state, View view,
7937 * views (in {@link ItemDecoration#onDraw(Canvas, RecyclerView, RecyclerView.State) onDraw()}
7939 * RecyclerView.State)}.</p>
7951 public void onDraw(Canvas c, RecyclerView parent, State state) {
7957 * Override {@link #onDraw(Canvas, RecyclerView, RecyclerView.State)}
7972 public void onDrawOver(Canvas c, RecyclerView parent, State state) {
7978 * Override {@link #onDrawOver(Canvas, RecyclerView, RecyclerView.State)}
7987 * Use {@link #getItemOffsets(Rect, View, RecyclerView, State)}
8014 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State state) {
8363 * positions. All methods in {@link RecyclerView.LayoutManager}, {@link RecyclerView.State},
8883 * {@link #onTargetFound(android.view.View, RecyclerView.State, SmoothScroller.Action)} or
8884 * {@link #onSeekTargetStep(int, int, RecyclerView.State, SmoothScroller.Action)} until
8921 * {@link #onTargetFound(android.view.View, RecyclerView.State, SmoothScroller.Action)} or
8922 * {@link #onSeekTargetStep(int, int, RecyclerView.State, SmoothScroller.Action)}.
9076 abstract protected void onSeekTargetStep(int dx, int dy, State state, Action action);
9087 abstract protected void onTargetFound(View targetView, State state, Action action);
9367 * position or view focus. State object can also keep arbitrary data, identified by resource
9370 * To provide a well defined data bus between components, RecyclerView passes the same State
9372 * <p>If you implement custom components, you can use State's put/get/remove methods to pass
9375 public static class State {
9414 State reset() {
9585 return "State{" +