52 lines
1.4 KiB
Java
52 lines
1.4 KiB
Java
|
package o;
|
||
|
|
||
|
/* renamed from: o.LYm, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C0631LYm extends C0743NnU<vHO> {
|
||
|
public C0631LYm(vHO vho) {
|
||
|
super(vho);
|
||
|
}
|
||
|
|
||
|
@Override // o.C0743NnU
|
||
|
public final String d(int i) {
|
||
|
if (i == 1) {
|
||
|
return d(1, 1, "Icon", "Cursor");
|
||
|
}
|
||
|
if (i == 2) {
|
||
|
Integer j = ((vHO) this.a).j(2);
|
||
|
if (j == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(j.intValue() != 0 ? j.intValue() : 256);
|
||
|
sb.append(" pixels");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
if (i == 3) {
|
||
|
Integer j2 = ((vHO) this.a).j(3);
|
||
|
if (j2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb2 = new StringBuilder();
|
||
|
sb2.append(j2.intValue() != 0 ? j2.intValue() : 256);
|
||
|
sb2.append(" pixels");
|
||
|
return sb2.toString();
|
||
|
}
|
||
|
if (i != 4) {
|
||
|
return super.d(i);
|
||
|
}
|
||
|
Integer j3 = ((vHO) this.a).j(4);
|
||
|
if (j3 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
if (j3.intValue() == 0) {
|
||
|
return "No palette";
|
||
|
}
|
||
|
StringBuilder sb3 = new StringBuilder();
|
||
|
sb3.append(j3);
|
||
|
sb3.append(" colour");
|
||
|
sb3.append(j3.intValue() == 1 ? "" : "s");
|
||
|
return sb3.toString();
|
||
|
}
|
||
|
}
|