Searched refs:overrideX (Results 1 – 1 of 1) sorted by relevance
634 float overrideX = mTaskIndexOverrideMap.get(taskId, 0f); in updateFocusStateOnScroll() local635 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() argument660 return outOfBounds || (overrideX >= x && x >= newOverrideX) || in isInvalidOverrideX()661 (overrideX <= x && x <= newOverrideX); in isInvalidOverrideX()[all …]