Lines Matching refs:dy
240 void handleMotion(int edge, float dx, float dy) { in handleMotion() argument
247 dy * (mCropRect.height() / r.height())); in handleMotion()
254 dy = 0; in handleMotion()
259 float yDelta = dy * (mCropRect.height() / r.height()); in handleMotion()
266 void moveBy(float dx, float dy) { in moveBy() argument
269 mCropRect.offset(dx, dy); in moveBy()
287 void growBy(float dx, float dy) { in growBy() argument
290 dy = dx / mInitialAspectRatio; in growBy()
291 } else if (dy != 0) { in growBy()
292 dx = dy * mInitialAspectRatio; in growBy()
304 dy = dx / mInitialAspectRatio; in growBy()
307 if (dy > 0F && r.height() + 2 * dy > mImageRect.height()) { in growBy()
309 dy = adjustment; in growBy()
311 dx = dy * mInitialAspectRatio; in growBy()
315 r.inset(-dx, -dy); in growBy()