Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTask.java2244 int horizontalDiff = 0; in fitWithinBounds() local
2248 horizontalDiff = overlapLR - (bounds.right - rootTaskBounds.left); in fitWithinBounds()
2250 horizontalDiff = -(overlapLR - (rootTaskBounds.right - bounds.left)); in fitWithinBounds()
2259 bounds.offset(horizontalDiff, verticalDiff); in fitWithinBounds()
/frameworks/base/core/java/android/widget/
DEditor.java2900 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition() local
2905 if (horizontalDiff >= (viewClippedWidth - 1f)) { in clampHorizontalPosition()
2908 } else if (Math.abs(horizontalDiff) <= 1f in clampHorizontalPosition()