Home | History | Annotate | Download | only in ui

Lines Matching refs:zx

1730             int zx = viewWidth / 2 - w / 2;
1731 if (left > zx) {
1732 return -(left - zx) / (float) (viewWidth - zx); // progress = (0, -1]
1734 return (left - zx) / (float) (-w - zx); // progress = [0, 1]