Home | History | Annotate | Download | only in media

Lines Matching full:math

416                 srcRect.inset(Math.max(0, dx), Math.max(0, dy));
419 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy));
595 int cropWidth = Math.min(width, height) * 4 / 5;
857 int panDeltaX1 = Math.max(0, getLeft() - r.left);
858 int panDeltaX2 = Math.min(0, getRight() - r.right);
860 int panDeltaY1 = Math.max(0, getTop() - r.top);
861 int panDeltaY2 = Math.min(0, getBottom() - r.bottom);
885 float zoom = Math.min(z1, z2);
887 zoom = Math.max(1F, zoom);
889 if ((Math.abs(zoom - getScale()) / zoom) > .1) {