Home | History | Annotate | Download | only in imageshow

Lines Matching refs:viewHeight

332             boolean reflectRotation, Rect bmapDimens, float viewWidth, float viewHeight) {
335 bmapDimens.height(), viewWidth, viewHeight);
374 float originalHeight, float viewWidth, float viewHeight) {
381 (int) originalHeight, (int) viewWidth, (int) viewHeight);
402 Bitmap photo, int viewWidth, int viewHeight) {
408 viewWidth, viewHeight);
441 int bitmapHeight, int viewWidth, int viewHeight) {
448 float scale = GeometryMathUtils.scale(bw, bh, viewWidth, viewHeight);
450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight);
453 m.postTranslate(viewWidth / 2f, viewHeight / 2f);
469 int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) {
472 float scale = GeometryMathUtils.scale(crop.width(), crop.height(), viewWidth, viewHeight);
475 m.postTranslate(viewWidth / 2f - crop.centerX(), viewHeight / 2f - crop.centerY());
477 crop.offset(viewWidth / 2f - crop.centerX(), viewHeight / 2f - crop.centerY());
485 int viewHeight) {
488 viewWidth, viewHeight);