Lines Matching defs:offset
125 center += childCountToAdd; // offset item
163 assertRectSetsEqual(config + " trying to over scroll with offset should be no-op",
186 assertEquals(config + " scroll with offset on a visible child should work fine " +
187 " offset:" + finalOffset + " , existing offset:" + startOffset + ", "
200 final int offset = offsetMultiplier
202 scrollToPositionWithOffset(target.mPosition, offset);
205 assertNotNull(logPrefix + " scrolling to a mPosition with offset " + offset
210 + layoutBounds + " with offset " + offset);
214 assertEquals(logPrefix + " when scrolling with offset to an invisible in reverse "
215 + "layout, its end should align with recycler view's end - offset",
216 orientationHelper.getEndAfterPadding() - offset,
220 assertEquals(logPrefix + " when scrolling with offset to an invisible child in normal"
222 + "offset",
223 orientationHelper.getStartAfterPadding() + offset,
327 assertEquals("pending scroll position offset should still be pending",
335 assertEquals("scroll offset should be applied properly",
585 return "scroll to position with positive offset";
599 return "scroll to position with negative offset";
794 void scrollToPositionWithOffset(final int position, final int offset) throws Throwable {
798 mLayoutManager.scrollToPositionWithOffset(position, offset);