Home | History | Annotate | Download | only in ui

Lines Matching refs:zx

1703             int zx = viewWidth / 2 - w / 2;
1704 if (left > zx) {
1705 return -(left - zx) / (float) (viewWidth - zx); // progress = (0, -1]
1707 return (left - zx) / (float) (-w - zx); // progress = [0, 1]