Searched defs:scrollVector (Results 1 - 1 of 1) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java9044 * @param scrollVector The vector that points to the target scroll position
9046 protected void normalize(PointF scrollVector) { argument
9047 final double magnitute = Math.sqrt(scrollVector.x * scrollVector.x + scrollVector.y *
9048 scrollVector.y);
9049 scrollVector.x /= magnitute;
9050 scrollVector.y /= magnitute;

Completed in 49 milliseconds