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

207 lines
6.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* renamed from: o.aID, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1576aID extends C0743NnU<Xde> {
public C1576aID(Xde xde) {
super(xde);
}
@Override // o.C0743NnU
public final String d(int i) {
if (i == 2) {
int[] i2 = ((Xde) this.a).i(2);
if (i2 == null || i2.length != 2) {
return ((Xde) this.a).o(2);
}
StringBuilder sb = new StringBuilder();
sb.append(i2[0]);
sb.append(" x ");
sb.append(i2[1]);
sb.append(" pixels");
return sb.toString();
}
if (i == 3) {
Integer j = ((Xde) this.a).j(3);
if (j == null) {
return null;
}
StringBuilder sb2 = new StringBuilder();
sb2.append(Integer.toString(j.intValue()));
sb2.append(" bytes");
return sb2.toString();
}
if (i == 4) {
return ((Xde) this.a).o(4);
}
if (i == 8) {
return d(8, 1, "Fine", "Super Fine");
}
if (i == 9) {
Integer j2 = ((Xde) this.a).j(9);
if (j2 == null) {
return null;
}
int intValue = j2.intValue();
if (intValue == 0) {
return "640 x 480 pixels";
}
if (intValue == 36) {
return "3008 x 2008 pixels";
}
if (intValue == 4) {
return "1600 x 1200 pixels";
}
if (intValue == 5) {
return "2048 x 1536 pixels";
}
switch (intValue) {
case 20:
return "2288 x 1712 pixels";
case 21:
return "2592 x 1944 pixels";
case 22:
return "2304 x 1728 pixels";
default:
StringBuilder sb3 = new StringBuilder("Unknown (");
sb3.append(j2);
sb3.append(")");
return sb3.toString();
}
}
if (i == 13) {
return a(13, "Normal", "Macro");
}
if (i == 20) {
Integer j3 = ((Xde) this.a).j(20);
if (j3 == null) {
return null;
}
int intValue2 = j3.intValue();
if (intValue2 == 3) {
return "50";
}
if (intValue2 == 4) {
return "64";
}
if (intValue2 == 6) {
return "100";
}
if (intValue2 == 9) {
return "200";
}
StringBuilder sb4 = new StringBuilder("Unknown (");
sb4.append(j3);
sb4.append(")");
return sb4.toString();
}
if (i == 25) {
return a(25, "Auto", "Daylight", "Shade", "Tungsten", "Florescent", "Manual");
}
if (i == 29) {
Double c = ((Xde) this.a).c(29);
if (c == null) {
return null;
}
return d(c.doubleValue() / 10.0d);
}
if (i == 8192) {
byte[] b = ((Xde) this.a).b(8192);
if (b == null) {
return null;
}
StringBuilder sb5 = new StringBuilder(UrlTreeKt.configurablePathSegmentPrefix);
sb5.append(b.length);
sb5.append(" bytes of image data>");
return sb5.toString();
}
if (i == 8226) {
Integer j4 = ((Xde) this.a).j(8226);
if (j4 == null) {
return null;
}
StringBuilder sb6 = new StringBuilder();
sb6.append(Integer.toString(j4.intValue()));
sb6.append(" mm");
return sb6.toString();
}
if (i == 8244) {
return a(8244, "Off");
}
if (i == 12294) {
return ((Xde) this.a).o(12294);
}
if (i == 8209) {
return ((Xde) this.a).o(8209);
}
if (i != 8210) {
switch (i) {
case 31:
return a(31, "-1", "Normal", "+1");
case 32:
return a(32, "-1", "Normal", "+1");
case 33:
return a(33, "-1", "Normal", "+1");
default:
switch (i) {
case com.kofax.kmc.kut.utilities.error.a.sL /* 12288 */:
return d(com.kofax.kmc.kut.utilities.error.a.sL, 2, "Normal");
case 12289:
return d(12289, 1, "Off");
case 12290:
return d(12290, 3, "Fine");
case 12291:
Integer j5 = ((Xde) this.a).j(12291);
if (j5 == null) {
return null;
}
int intValue3 = j5.intValue();
if (intValue3 == 1) {
return "Fixation";
}
if (intValue3 == 6) {
return "Multi-Area Focus";
}
StringBuilder sb7 = new StringBuilder("Unknown (");
sb7.append(j5);
sb7.append(")");
return sb7.toString();
default:
switch (i) {
case 12308:
return a(12308, "Off", "On");
case 12309:
return a(12309, "Off");
case 12310:
return a(12310, "Off");
case 12311:
return a(12311, "Off");
default:
return super.d(i);
}
}
}
}
Integer j6 = ((Xde) this.a).j(8210);
if (j6 == null) {
return null;
}
int intValue4 = j6.intValue();
if (intValue4 == 0) {
return "Manual";
}
if (intValue4 == 1) {
return "Auto";
}
if (intValue4 == 4 || intValue4 == 12) {
return "Flash";
}
StringBuilder sb8 = new StringBuilder("Unknown (");
sb8.append(j6);
sb8.append(")");
return sb8.toString();
}
}