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/
DTaskRecord.java1948 int horizontalDiff = 0; in fitWithinBounds() local
1952 horizontalDiff = overlapLR - (bounds.right - stackBounds.left); in fitWithinBounds()
1954 horizontalDiff = -(overlapLR - (stackBounds.right - bounds.left)); in fitWithinBounds()
1963 bounds.offset(horizontalDiff, verticalDiff); in fitWithinBounds()
/frameworks/base/core/java/android/widget/
DEditor.java2512 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition() local
2517 if (horizontalDiff >= (viewClippedWidth - 1f)) { in clampHorizontalPosition()
2520 } else if (Math.abs(horizontalDiff) <= 1f in clampHorizontalPosition()