Searched refs:zx (Results 1 – 1 of 1) sorted by relevance
1729 int zx = viewWidth / 2 - w / 2; in calculateMoveOutProgress() local1730 if (left > zx) { in calculateMoveOutProgress()1731 return -(left - zx) / (float) (viewWidth - zx); // progress = (0, -1] in calculateMoveOutProgress()1733 return (left - zx) / (float) (-w - zx); // progress = [0, 1] in calculateMoveOutProgress()