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