APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:For S9
版本号:4.5
包名称:com.jb.gokeyboard.theme.emojiztfors9.getjar

MD5 校验值:27cf44ec6e0720408f5ef017a90a3331

反编译源代码说明

f.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package me.xiaopan.sketch;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.os.Build;
import android.os.Environment;
import android.text.format.Formatter;
import java.io.File;
import java.util.Arrays;
import java.util.List;
import me.xiaopan.sketch.request.i;
import me.xiaopan.sketch.request.o;
import me.xiaopan.sketch.request.z;

public class f implements b {
    protected String a = "SketchMonitor";
    private Context b;

    public f(Context context) {
        this.b = context.getApplicationContext();
    }

    public void a(Exception exc, File file) {
        c.c(this.a, "onInstallDiskCacheError. %s: %s. SDCardState: %s. cacheDir: %s", exc.getClass().getSimpleName(), exc.getMessage(), Environment.getExternalStorageState(), file.getPath());
    }

    public void a(Throwable th, z zVar, int i, int i2, String str) {
        if ((th instanceof UnsatisfiedLinkError) || (th instanceof ExceptionInInitializerError)) {
            c.b("Didn't find “libpl_droidsonroids_gif.so” file, unable to process the GIF images. If you need to decode the GIF figure please go to “https://github.com/xiaopansky/sketch” download “libpl_droidsonroids_gif.so” file and put in your project");
            if (Build.VERSION.SDK_INT >= 21) {
                c.b("abis=%s", Arrays.toString(Build.SUPPORTED_ABIS));
            } else {
                c.c("abi1=%s, abi2=%s", Build.CPU_ABI, Build.CPU_ABI2);
            }
        }
        c.c(this.a, "onDecodeGifImageError. outWidth=%d, outHeight=%d + outMimeType=%s. %s", Integer.valueOf(i), Integer.valueOf(i2), str, zVar.p());
    }

    public void b(Throwable th, z zVar, int i, int i2, String str) {
        if (th instanceof OutOfMemoryError) {
            long maxMemory = Runtime.getRuntime().maxMemory();
            long freeMemory = Runtime.getRuntime().freeMemory();
            long j = Runtime.getRuntime().totalMemory();
            c.c(this.a, "OutOfMemoryError. appMemoryInfo: maxMemory=%s, freeMemory=%s, totalMemory=%s", Formatter.formatFileSize(this.b, maxMemory), Formatter.formatFileSize(this.b, freeMemory), Formatter.formatFileSize(this.b, j));
        }
        c.c(this.a, "onDecodeNormalImageError. outWidth=%d, outHeight=%d, outMimeType=%s. %s", Integer.valueOf(i), Integer.valueOf(i2), str, zVar.p());
    }

    public void a(Throwable th, String str, me.xiaopan.sketch.d.a aVar) {
        if (th instanceof OutOfMemoryError) {
            c.a("OutOfMemoryError. appMemoryInfo: maxMemory=%s, freeMemory=%s, totalMemory=%s", Formatter.formatFileSize(this.b, Runtime.getRuntime().maxMemory()), Formatter.formatFileSize(this.b, Runtime.getRuntime().freeMemory()), Formatter.formatFileSize(this.b, Runtime.getRuntime().totalMemory()));
        }
        c.c(this.a, "onProcessImageError. imageUri: %s. processor: %s", str, aVar.a());
    }

    public void a(o oVar, Throwable th) {
    }

    public void a(IllegalArgumentException illegalArgumentException, List<me.xiaopan.sketch.feature.large.f> list, boolean z) {
        c.b(this.a, "onTileSortError. %s%s", z ? "useLegacyMergeSort. " : "", me.xiaopan.sketch.util.f.a(list));
    }

    public void a(i iVar, me.xiaopan.sketch.b.e eVar) {
        c.b(this.a, "onBitmapRecycledOnDisplay. imageUri=%s, drawable=%s", iVar.q(), eVar.h());
    }

    public void a(String str, int i, int i2, Rect rect, int i3, Bitmap bitmap) {
        c.b(this.a, "onInBitmapExceptionForRegionDecoder. imageUri=%s, imageSize=%dx%d, srcRect=%s, inSampleSize=%d, inBitmapSize=%dx%d, inBitmapByteCount=%d", str, Integer.valueOf(i), Integer.valueOf(i2), rect.toString(), Integer.valueOf(i3), Integer.valueOf(bitmap.getWidth()), Integer.valueOf(bitmap.getHeight()), Integer.valueOf(me.xiaopan.sketch.util.f.a(bitmap)));
    }

    public void a(String str, int i, int i2, int i3, Bitmap bitmap) {
        c.b(this.a, "onInBitmapException. imageUri=%s, imageSize=%dx%d, inSampleSize=%d, inBitmapSize=%dx%d, inBitmapByteCount=%d", str, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(bitmap.getWidth()), Integer.valueOf(bitmap.getHeight()), Integer.valueOf(me.xiaopan.sketch.util.f.a(bitmap)));
    }

    @Override
    public String a() {
        return this.a;
    }
}