Home
last modified time | relevance | path

Searched refs:addedDistance (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java624 final int addedDistance = absDx + absDy; in computeSettleDuration() local
627 (float) absDx / addedDistance; in computeSettleDuration()
629 (float) absDy / addedDistance; in computeSettleDuration()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DStaggeredGridLayoutManager.java3297 void assignCoordinateFromPadding(int addedDistance) {
3299 mOffset = mPrimaryOrientation.getEndAfterPadding() - addedDistance;
3301 mOffset = mPrimaryOrientation.getStartAfterPadding() + addedDistance;