Lines Matching refs:extra
414 * <p>Returns the amount of extra space that should be laid out by LayoutManager.</p>
416 * <p>By default, {@link android.support.v7.widget.LinearLayoutManager} lays out 1 extra page
422 * location, where 1) the extra content helps LinearLayoutManager know in advance when its
426 * <p>Extending the extra layout space is especially expensive if done while the user may change
427 * scrolling direction. Changing direction will cause the extra layout space to swap to the
431 * @return The extra space that should be laid out (in pixels).
506 // LLM may decide to layout items for "extra" pixels to account for scrolling target,
510 final int extra = getExtraLayoutSpace(state);
511 // If the previous scroll delta was less than zero, the extra space should be laid out
514 extraForEnd = extra;
517 extraForStart = extra;
525 // extra items in the opposite direction to make sure new items animate nicely