You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.1 KiB
59 lines
2.1 KiB
package androidx.core.graphics.drawable;
|
|
|
|
import android.content.res.ColorStateList;
|
|
import android.os.Parcelable;
|
|
import p074z0.AbstractC1916a;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class IconCompatParcelizer {
|
|
public static IconCompat read(AbstractC1916a abstractC1916a) {
|
|
IconCompat iconCompat = new IconCompat();
|
|
iconCompat.f1015a = abstractC1916a.m22p(iconCompat.f1015a, 1);
|
|
iconCompat.f1017c = abstractC1916a.m25j(iconCompat.f1017c, 2);
|
|
iconCompat.f1018d = abstractC1916a.m21r(iconCompat.f1018d, 3);
|
|
iconCompat.f1019e = abstractC1916a.m22p(iconCompat.f1019e, 4);
|
|
iconCompat.f1020f = abstractC1916a.m22p(iconCompat.f1020f, 5);
|
|
iconCompat.f1021g = (ColorStateList) abstractC1916a.m21r(iconCompat.f1021g, 6);
|
|
iconCompat.f1023i = abstractC1916a.m20t(iconCompat.f1023i, 7);
|
|
iconCompat.f1024j = abstractC1916a.m20t(iconCompat.f1024j, 8);
|
|
iconCompat.m4492f();
|
|
return iconCompat;
|
|
}
|
|
|
|
public static void write(IconCompat iconCompat, AbstractC1916a abstractC1916a) {
|
|
abstractC1916a.m17x(true, true);
|
|
iconCompat.m4491g(abstractC1916a.m27f());
|
|
int i = iconCompat.f1015a;
|
|
if (-1 != i) {
|
|
abstractC1916a.m37F(i, 1);
|
|
}
|
|
byte[] bArr = iconCompat.f1017c;
|
|
if (bArr != null) {
|
|
abstractC1916a.m39B(bArr, 2);
|
|
}
|
|
Parcelable parcelable = iconCompat.f1018d;
|
|
if (parcelable != null) {
|
|
abstractC1916a.m36H(parcelable, 3);
|
|
}
|
|
int i2 = iconCompat.f1019e;
|
|
if (i2 != 0) {
|
|
abstractC1916a.m37F(i2, 4);
|
|
}
|
|
int i3 = iconCompat.f1020f;
|
|
if (i3 != 0) {
|
|
abstractC1916a.m37F(i3, 5);
|
|
}
|
|
ColorStateList colorStateList = iconCompat.f1021g;
|
|
if (colorStateList != null) {
|
|
abstractC1916a.m36H(colorStateList, 6);
|
|
}
|
|
String str = iconCompat.f1023i;
|
|
if (str != null) {
|
|
abstractC1916a.m35J(str, 7);
|
|
}
|
|
String str2 = iconCompat.f1024j;
|
|
if (str2 != null) {
|
|
abstractC1916a.m35J(str2, 8);
|
|
}
|
|
}
|
|
} |