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.java679 float overrideX = mTaskIndexOverrideMap.get(taskId, 0f); in updateFocusStateOnScroll() local
680 float newOverrideX = overrideX + deltaScroll; in updateFocusStateOnScroll()
681 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
684 } else if ((overrideX >= x && deltaScroll <= 0f) || in updateFocusStateOnScroll()
685 (overrideX <= x && deltaScroll >= 0f)) { in updateFocusStateOnScroll()
691 newOverrideX = overrideX - deltaTargetScroll; in updateFocusStateOnScroll()
692 if (isInvalidOverrideX(x, overrideX, newOverrideX)) { in updateFocusStateOnScroll()
702 private boolean isInvalidOverrideX(float x, float overrideX, float newOverrideX) { in isInvalidOverrideX() argument
705 return outOfBounds || (overrideX >= x && x >= newOverrideX) || in isInvalidOverrideX()
706 (overrideX <= x && x <= newOverrideX); in isInvalidOverrideX()
[all …]