Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java635 float newOverrideX = overrideX + deltaScroll; in updateFocusStateOnScroll() local
636 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
642 mTaskIndexOverrideMap.put(taskId, newOverrideX); in updateFocusStateOnScroll()
646 newOverrideX = overrideX - deltaTargetScroll; in updateFocusStateOnScroll()
647 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
650 mTaskIndexOverrideMap.put(taskId, newOverrideX); in updateFocusStateOnScroll()
657 private boolean isInvalidOverrideX(float x, float overrideX, float newOverrideX) { in isInvalidOverrideX() argument
658 boolean outOfBounds = mUnfocusedRange.getNormalizedX(newOverrideX) < 0f || in isInvalidOverrideX()
659 mUnfocusedRange.getNormalizedX(newOverrideX) > 1f; in isInvalidOverrideX()
660 return outOfBounds || (overrideX >= x && x >= newOverrideX) || in isInvalidOverrideX()
[all …]