49 lines
1.4 KiB
Java
49 lines
1.4 KiB
Java
package o;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class vNB extends C0743NnU<hVz> {
|
|
public vNB(hVz hvz) {
|
|
super(hvz);
|
|
}
|
|
|
|
@Override // o.C0743NnU
|
|
public final String d(int i) {
|
|
if (i == 5) {
|
|
Integer j = ((hVz) this.a).j(5);
|
|
if (j == null) {
|
|
return null;
|
|
}
|
|
return String.format("%d.%d", Integer.valueOf((j.intValue() >> 8) & 255), Integer.valueOf(j.intValue() & 255));
|
|
}
|
|
if (i == 10) {
|
|
Integer j2 = ((hVz) this.a).j(10);
|
|
if (j2 == null) {
|
|
return null;
|
|
}
|
|
Object[] objArr = new Object[2];
|
|
objArr[0] = j2;
|
|
objArr[1] = j2.intValue() != 1 ? "s" : "";
|
|
return String.format("%d dot%s", objArr);
|
|
}
|
|
if (i == 7) {
|
|
Integer j3 = ((hVz) this.a).j(7);
|
|
if (j3 == null) {
|
|
return null;
|
|
}
|
|
int intValue = j3.intValue();
|
|
return intValue != 0 ? intValue != 1 ? intValue != 2 ? "unit" : "centimetre" : "inch" : "none";
|
|
}
|
|
if (i != 8) {
|
|
return super.d(i);
|
|
}
|
|
Integer j4 = ((hVz) this.a).j(8);
|
|
if (j4 == null) {
|
|
return null;
|
|
}
|
|
Object[] objArr2 = new Object[2];
|
|
objArr2[0] = j4;
|
|
objArr2[1] = j4.intValue() != 1 ? "s" : "";
|
|
return String.format("%d dot%s", objArr2);
|
|
}
|
|
}
|