Searched refs:horizontalDiff (Results 1 – 2 of 2) sorted by relevance
1948 int horizontalDiff = 0; in fitWithinBounds() local1952 horizontalDiff = overlapLR - (bounds.right - stackBounds.left); in fitWithinBounds()1954 horizontalDiff = -(overlapLR - (stackBounds.right - bounds.left)); in fitWithinBounds()1963 bounds.offset(horizontalDiff, verticalDiff); in fitWithinBounds()
2512 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition() local2517 if (horizontalDiff >= (viewClippedWidth - 1f)) { in clampHorizontalPosition()2520 } else if (Math.abs(horizontalDiff) <= 1f in clampHorizontalPosition()