134 lines
4.7 KiB
Java
134 lines
4.7 KiB
Java
|
package o;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class XNn extends C0743NnU<Wfv> {
|
||
|
public XNn(Wfv wfv) {
|
||
|
super(wfv);
|
||
|
}
|
||
|
|
||
|
@Override // o.C0743NnU
|
||
|
public final String d(int i) {
|
||
|
if (i != 20) {
|
||
|
switch (i) {
|
||
|
case 1:
|
||
|
return d(1, 1, "Single shutter", "Panorama", "Night scene", "Portrait", "Landscape");
|
||
|
case 2:
|
||
|
return d(2, 1, "Economy", "Normal", "Fine");
|
||
|
case 3:
|
||
|
return d(3, 2, "Macro", "Auto focus", "Manual focus", "Infinity");
|
||
|
case 4:
|
||
|
return d(4, 1, "Auto", "On", "Off", "Red eye reduction");
|
||
|
case 5:
|
||
|
Integer j = ((Wfv) this.a).j(5);
|
||
|
if (j == null) {
|
||
|
return null;
|
||
|
}
|
||
|
int intValue = j.intValue();
|
||
|
if (intValue == 11) {
|
||
|
return "Weak";
|
||
|
}
|
||
|
if (intValue == 13) {
|
||
|
return "Normal";
|
||
|
}
|
||
|
if (intValue == 15) {
|
||
|
return "Strong";
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder("Unknown (");
|
||
|
sb.append(j);
|
||
|
sb.append(")");
|
||
|
return sb.toString();
|
||
|
case 6:
|
||
|
if (((Wfv) this.a).j(6) == null) {
|
||
|
return null;
|
||
|
}
|
||
|
return d(r14.intValue());
|
||
|
case 7:
|
||
|
Integer j2 = ((Wfv) this.a).j(7);
|
||
|
if (j2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
int intValue2 = j2.intValue();
|
||
|
if (intValue2 == 1) {
|
||
|
return "Auto";
|
||
|
}
|
||
|
if (intValue2 == 2) {
|
||
|
return "Tungsten";
|
||
|
}
|
||
|
if (intValue2 == 3) {
|
||
|
return "Daylight";
|
||
|
}
|
||
|
if (intValue2 == 4) {
|
||
|
return "Florescent";
|
||
|
}
|
||
|
if (intValue2 == 5) {
|
||
|
return "Shade";
|
||
|
}
|
||
|
if (intValue2 == 129) {
|
||
|
return "Manual";
|
||
|
}
|
||
|
StringBuilder sb2 = new StringBuilder("Unknown (");
|
||
|
sb2.append(j2);
|
||
|
sb2.append(")");
|
||
|
return sb2.toString();
|
||
|
default:
|
||
|
switch (i) {
|
||
|
case 10:
|
||
|
Integer j3 = ((Wfv) this.a).j(10);
|
||
|
if (j3 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
int intValue3 = j3.intValue();
|
||
|
if (intValue3 == 65536) {
|
||
|
return "No digital zoom";
|
||
|
}
|
||
|
if (intValue3 == 65537 || intValue3 == 131072) {
|
||
|
return "2x digital zoom";
|
||
|
}
|
||
|
if (intValue3 == 262144) {
|
||
|
return "4x digital zoom";
|
||
|
}
|
||
|
StringBuilder sb3 = new StringBuilder("Unknown (");
|
||
|
sb3.append(j3);
|
||
|
sb3.append(")");
|
||
|
return sb3.toString();
|
||
|
case 11:
|
||
|
return a(11, "Normal", "Soft", "Hard");
|
||
|
case 12:
|
||
|
return a(12, "Normal", "Low", "High");
|
||
|
case 13:
|
||
|
return a(13, "Normal", "Low", "High");
|
||
|
default:
|
||
|
return super.d(i);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
Integer j4 = ((Wfv) this.a).j(20);
|
||
|
if (j4 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
int intValue4 = j4.intValue();
|
||
|
if (intValue4 == 64) {
|
||
|
return "Normal";
|
||
|
}
|
||
|
if (intValue4 == 80) {
|
||
|
return "Normal (ISO 80 equivalent)";
|
||
|
}
|
||
|
if (intValue4 == 100) {
|
||
|
return "High";
|
||
|
}
|
||
|
if (intValue4 == 125) {
|
||
|
return "+1.0";
|
||
|
}
|
||
|
if (intValue4 == 244) {
|
||
|
return "+3.0";
|
||
|
}
|
||
|
if (intValue4 == 250) {
|
||
|
return "+2.0";
|
||
|
}
|
||
|
StringBuilder sb4 = new StringBuilder("Unknown (");
|
||
|
sb4.append(j4);
|
||
|
sb4.append(")");
|
||
|
return sb4.toString();
|
||
|
}
|
||
|
}
|