Searched refs:newOverrideX (Results 1 – 1 of 1) sorted by relevance
635 float newOverrideX = overrideX + deltaScroll; in updateFocusStateOnScroll() local636 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() argument658 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 …]