惠合 v3.0.0版本的 MD5 值为:0eb47ffc7a53a6b708a3b4e3f9ed0e8c
以下内容为反编译后的 hu1.java 源代码,内容仅作参考
package p.a.y.e.a.s.e.net;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.net.Uri;
import com.ehking.sdk.wepay.ui.activity.AuthenticationPhoneActivity;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Objects;
public final class hu1 {
public static final String lite_char = "file:///";
public static final String lite_else = "file:///android_asset/";
private Rect lite_byte;
private boolean lite_case;
private final Uri lite_do;
private final Integer lite_for;
private final Bitmap lite_if;
private boolean lite_int;
private int lite_new;
private int lite_try;
private hu1(int i) {
this.lite_if = null;
this.lite_do = null;
this.lite_for = Integer.valueOf(i);
this.lite_int = true;
}
private hu1(Bitmap bitmap, boolean z) {
this.lite_if = bitmap;
this.lite_do = null;
this.lite_for = null;
this.lite_int = false;
this.lite_new = bitmap.getWidth();
this.lite_try = bitmap.getHeight();
this.lite_case = z;
}
private hu1(Uri uri) {
String uri2 = uri.toString();
if (uri2.startsWith(lite_char) && !new File(uri2.substring(7)).exists()) {
try {
uri = Uri.parse(URLDecoder.decode(uri2, "UTF-8"));
} catch (UnsupportedEncodingException unused) {
}
}
this.lite_if = null;
this.lite_do = uri;
this.lite_for = null;
this.lite_int = true;
}
private void lite_break() {
Rect rect = this.lite_byte;
if (rect != null) {
this.lite_int = true;
this.lite_new = rect.width();
this.lite_try = this.lite_byte.height();
}
}
public static hu1 lite_do(String str) {
Objects.requireNonNull(str, "Asset name must not be null");
return lite_float(lite_else + str);
}
public static hu1 lite_final(Uri uri) {
Objects.requireNonNull(uri, "Uri must not be null");
return new hu1(uri);
}
public static hu1 lite_float(String str) {
Objects.requireNonNull(str, "Uri must not be null");
if (!str.contains("://")) {
if (str.startsWith(AuthenticationPhoneActivity.WHITE_SPACE)) {
str = str.substring(1);
}
str = r5.lite_throws(lite_char, str);
}
return new hu1(Uri.parse(str));
}
public static hu1 lite_for(Bitmap bitmap) {
Objects.requireNonNull(bitmap, "Bitmap must not be null");
return new hu1(bitmap, true);
}
public static hu1 lite_if(Bitmap bitmap) {
Objects.requireNonNull(bitmap, "Bitmap must not be null");
return new hu1(bitmap, false);
}
public static hu1 lite_void(int i) {
return new hu1(i);
}
public final int lite_byte() {
return this.lite_try;
}
public final Rect lite_case() {
return this.lite_byte;
}
public hu1 lite_catch(boolean z) {
this.lite_int = z;
return this;
}
public final int lite_char() {
return this.lite_new;
}
public hu1 lite_class() {
return lite_catch(false);
}
public hu1 lite_const() {
return lite_catch(true);
}
public final boolean lite_else() {
return this.lite_int;
}
public final Uri lite_goto() {
return this.lite_do;
}
public hu1 lite_int(int i, int i2) {
if (this.lite_if == null) {
this.lite_new = i;
this.lite_try = i2;
}
lite_break();
return this;
}
public final boolean lite_long() {
return this.lite_case;
}
public final Bitmap lite_new() {
return this.lite_if;
}
public hu1 lite_this(Rect rect) {
this.lite_byte = rect;
lite_break();
return this;
}
public final Integer lite_try() {
return this.lite_for;
}
}