AspectRatioUtil.java


/*
* Decompiled with CFR 0_87.
*
* Could not load the following classes:
* android.graphics.Rect
* java.lang.Object
*/
package com.edmodo.cropper.util;
 
import android.graphics.Rect;
 
public class AspectRatioUtil {
public static float calculateAspectRatio(float f, float f2, float f3, float f4) {
return (f3 – f) / (f4 – f2);
}
 
public static float calculateAspectRatio(Rect rect) {
return (float)rect.width() / (float)rect.height();
}
 
public static float calculateBottom(float f, float f2, float f3, float f4) {
return f2 + (f3 – f) / f4;
}
 
public static float calculateHeight(float f, float f2, float f3) {
return (f2 – f) / f3;
}
 
public static float calculateLeft(float f, float f2, float f3, float f4) {
return f2 – f4 * (f3 – f);
}
 
public static float calculateRight(float f, float f2, float f3, float f4) {
return f + f4 * (f3 – f2);
}
 
public static float calculateTop(float f, float f2, float f3, float f4) {
return f3 – (f2 – f) / f4;
}
 
public static float calculateWidth(float f, float f2, float f3) {
return f3 * (f2 – f);
}
}
 

Tentang waluh tarus

NAMA : ZAINUDDIN TONAMA TEMPAT DAN TANGGAL LAHIR: BANJARMASIN, 11 MEI ... ALAMAT SEKARANG: LOA-JANAN ILIR Gg NYIUR RT 8 (lama RT 6) SAMARINDA SEBERANG, SAMARINDA (KALTIM) KODE POS: 75131 (lama 75391) RIWAYAT HIDUP: ............... HP: 085250505146 (NADIAZTONAMA)
Pos ini dipublikasikan di writing. Tandai permalink.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s