Searched refs:horizontalDiff (Results 1 – 2 of 2) sorted by relevance
2244 int horizontalDiff = 0; in fitWithinBounds() local2248 horizontalDiff = overlapLR - (bounds.right - rootTaskBounds.left); in fitWithinBounds()2250 horizontalDiff = -(overlapLR - (rootTaskBounds.right - bounds.left)); in fitWithinBounds()2259 bounds.offset(horizontalDiff, verticalDiff); in fitWithinBounds()
2900 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition() local2905 if (horizontalDiff >= (viewClippedWidth - 1f)) { in clampHorizontalPosition()2908 } else if (Math.abs(horizontalDiff) <= 1f in clampHorizontalPosition()