Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java634 float overrideX = mTaskIndexOverrideMap.get(taskId, 0f); in updateFocusStateOnScroll() local
635 float newOverrideX = overrideX + deltaScroll; in updateFocusStateOnScroll()
636 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
639 } else if ((overrideX >= x && deltaScroll <= 0f) || in updateFocusStateOnScroll()
640 (overrideX <= x && deltaScroll >= 0f)) { in updateFocusStateOnScroll()
646 newOverrideX = overrideX - deltaTargetScroll; in updateFocusStateOnScroll()
647 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
657 private boolean isInvalidOverrideX(float x, float overrideX, float newOverrideX) { in isInvalidOverrideX() argument
660 return outOfBounds || (overrideX >= x && x >= newOverrideX) || in isInvalidOverrideX()
661 (overrideX <= x && x <= newOverrideX); in isInvalidOverrideX()
[all …]