Home | History | Annotate | Download | only in imageshow

Lines Matching refs:dX

227         float dx = rotatedRect[0] - rotatedRect[2];
228 float angle = (float) (Math.atan(dy / dx) * 180 / Math.PI);
344 private RectF fixedCornerResize(RectF r, int moving_corner, float dx, float dy) {
348 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx, r.top + r.height()
351 newCrop = new RectF(r.right - r.width() + dx, r.top, r.right, r.top + r.height()
354 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy,
358 + r.width() + dx, r.bottom);
363 private void moveEdges(float dX, float dY) {
380 mBounded.moveInner(-dX, -dY);
385 float dx = 0;
389 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
395 dx = Math.max(crop.right + dX, crop.left + minWidthHeight)
418 dx, dy
422 dx = sp * bUnit[0];
424 RectF newCrop = fixedCornerResize(crop, movingEdges, dx, dy);
432 crop.left += dx;
438 crop.right += dx;