Lines Matching defs:offset
120 * Used to keep the offset value when {@link #scrollToPositionWithOffset(int, int)} is
688 // If that is the case, offset it back to 0 so that we use these pre-layout children.
690 // validate this child is at least partially visible. if not, offset it to start
729 // Anchor offset depends on how that child was laid out. Here, we update it
793 * @return The final offset amount for children
804 // move offset according to scroll amount
818 * @return The final offset amount for children
846 private void updateLayoutStateToFillEnd(int itemPosition, int offset) {
847 mLayoutState.mAvailable = mOrientationHelper.getEndAfterPadding() - offset;
852 mLayoutState.mOffset = offset;
860 private void updateLayoutStateToFillStart(int itemPosition, int offset) {
861 mLayoutState.mAvailable = offset - mOrientationHelper.getStartAfterPadding();
866 mLayoutState.mOffset = offset;
909 * Scroll to the specified adapter position with the given offset from resolved layout
923 * @param offset The distance (in pixels) between the start edge of the item view and
928 public void scrollToPositionWithOffset(int position, int offset) {
930 mPendingScrollPositionOffset = offset;
1261 // max offset we should set is mFastScroll + available
1789 * Pixel offset where layout should start
1905 mItemDirection + ", offset:" + mOffset + ", layoutDir:" + mLayoutDirection);