what-the-bank/sources/o/Gnf.java

42 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes.dex */
public final class Gnf {
public final String c;
final int e;
private final int[] g;
private static Gnf d = new Gnf(0, "Greyscale", 1, 2, 4, 8, 16);
private static Gnf h = new Gnf(2, "True Color", 8, 16);
private static Gnf b = new Gnf(3, "Indexed Color", 1, 2, 4, 8);
private static Gnf a = new Gnf(4, "Greyscale with Alpha", 8, 16);
private static Gnf i = new Gnf(6, "True Color with Alpha", 8, 16);
public static Gnf d(int i2) {
if (i2 == 0) {
return d;
}
if (i2 == 6) {
return i;
}
if (i2 == 2) {
return h;
}
if (i2 == 3) {
return b;
}
if (i2 == 4) {
return a;
}
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(i2);
sb.append(")");
return new Gnf(i2, sb.toString(), new int[0]);
}
private Gnf(int i2, String str, int... iArr) {
this.e = i2;
this.c = str;
this.g = iArr;
}
}