Lines Matching refs:dy
240 // Handles motion (dx, dy) in screen space.
242 void handleMotion(int edge, float dx, float dy) {
249 dy * (mCropRect.height() / r.height()));
256 dy = 0;
261 float yDelta = dy * (mCropRect.height() / r.height());
267 // Grows the cropping rectange by (dx, dy) in image space.
268 void moveBy(float dx, float dy) {
271 mCropRect.offset(dx, dy);
288 // Grows the cropping rectange by (dx, dy) in image space.
289 void growBy(float dx, float dy) {
292 dy = dx / mInitialAspectRatio;
293 } else if (dy != 0) {
294 dx = dy * mInitialAspectRatio;
306 dy = dx / mInitialAspectRatio;
309 if (dy > 0F && r.height() + 2 * dy > mImageRect.height()) {
311 dy = adjustment;
313 dx = dy * mInitialAspectRatio;
317 r.inset(-dx, -dy);