204 lines
6.6 KiB
Java
204 lines
6.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.BlendMode;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
final class sKs {
|
||
|
|
||
|
/* renamed from: o.sKs$2, reason: invalid class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
static /* synthetic */ class AnonymousClass2 {
|
||
|
static final int[] a;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[EnumC0706MsT.values().length];
|
||
|
a = iArr;
|
||
|
try {
|
||
|
iArr[EnumC0706MsT.CLEAR.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SRC.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DST.ordinal()] = 3;
|
||
|
} catch (NoSuchFieldError unused3) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SRC_OVER.ordinal()] = 4;
|
||
|
} catch (NoSuchFieldError unused4) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DST_OVER.ordinal()] = 5;
|
||
|
} catch (NoSuchFieldError unused5) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SRC_IN.ordinal()] = 6;
|
||
|
} catch (NoSuchFieldError unused6) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DST_IN.ordinal()] = 7;
|
||
|
} catch (NoSuchFieldError unused7) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SRC_OUT.ordinal()] = 8;
|
||
|
} catch (NoSuchFieldError unused8) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DST_OUT.ordinal()] = 9;
|
||
|
} catch (NoSuchFieldError unused9) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SRC_ATOP.ordinal()] = 10;
|
||
|
} catch (NoSuchFieldError unused10) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DST_ATOP.ordinal()] = 11;
|
||
|
} catch (NoSuchFieldError unused11) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.XOR.ordinal()] = 12;
|
||
|
} catch (NoSuchFieldError unused12) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.PLUS.ordinal()] = 13;
|
||
|
} catch (NoSuchFieldError unused13) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.MODULATE.ordinal()] = 14;
|
||
|
} catch (NoSuchFieldError unused14) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SCREEN.ordinal()] = 15;
|
||
|
} catch (NoSuchFieldError unused15) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.OVERLAY.ordinal()] = 16;
|
||
|
} catch (NoSuchFieldError unused16) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DARKEN.ordinal()] = 17;
|
||
|
} catch (NoSuchFieldError unused17) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.LIGHTEN.ordinal()] = 18;
|
||
|
} catch (NoSuchFieldError unused18) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.COLOR_DODGE.ordinal()] = 19;
|
||
|
} catch (NoSuchFieldError unused19) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.COLOR_BURN.ordinal()] = 20;
|
||
|
} catch (NoSuchFieldError unused20) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.HARD_LIGHT.ordinal()] = 21;
|
||
|
} catch (NoSuchFieldError unused21) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SOFT_LIGHT.ordinal()] = 22;
|
||
|
} catch (NoSuchFieldError unused22) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.DIFFERENCE.ordinal()] = 23;
|
||
|
} catch (NoSuchFieldError unused23) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.EXCLUSION.ordinal()] = 24;
|
||
|
} catch (NoSuchFieldError unused24) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.MULTIPLY.ordinal()] = 25;
|
||
|
} catch (NoSuchFieldError unused25) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.HUE.ordinal()] = 26;
|
||
|
} catch (NoSuchFieldError unused26) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.SATURATION.ordinal()] = 27;
|
||
|
} catch (NoSuchFieldError unused27) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.COLOR.ordinal()] = 28;
|
||
|
} catch (NoSuchFieldError unused28) {
|
||
|
}
|
||
|
try {
|
||
|
a[EnumC0706MsT.LUMINOSITY.ordinal()] = 29;
|
||
|
} catch (NoSuchFieldError unused29) {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static class Sts {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static Object e(EnumC0706MsT enumC0706MsT) {
|
||
|
switch (AnonymousClass2.a[enumC0706MsT.ordinal()]) {
|
||
|
case 1:
|
||
|
return BlendMode.CLEAR;
|
||
|
case 2:
|
||
|
return BlendMode.SRC;
|
||
|
case 3:
|
||
|
return BlendMode.DST;
|
||
|
case 4:
|
||
|
return BlendMode.SRC_OVER;
|
||
|
case 5:
|
||
|
return BlendMode.DST_OVER;
|
||
|
case 6:
|
||
|
return BlendMode.SRC_IN;
|
||
|
case 7:
|
||
|
return BlendMode.DST_IN;
|
||
|
case 8:
|
||
|
return BlendMode.SRC_OUT;
|
||
|
case 9:
|
||
|
return BlendMode.DST_OUT;
|
||
|
case 10:
|
||
|
return BlendMode.SRC_ATOP;
|
||
|
case 11:
|
||
|
return BlendMode.DST_ATOP;
|
||
|
case 12:
|
||
|
return BlendMode.XOR;
|
||
|
case 13:
|
||
|
return BlendMode.PLUS;
|
||
|
case 14:
|
||
|
return BlendMode.MODULATE;
|
||
|
case 15:
|
||
|
return BlendMode.SCREEN;
|
||
|
case 16:
|
||
|
return BlendMode.OVERLAY;
|
||
|
case 17:
|
||
|
return BlendMode.DARKEN;
|
||
|
case 18:
|
||
|
return BlendMode.LIGHTEN;
|
||
|
case 19:
|
||
|
return BlendMode.COLOR_DODGE;
|
||
|
case 20:
|
||
|
return BlendMode.COLOR_BURN;
|
||
|
case 21:
|
||
|
return BlendMode.HARD_LIGHT;
|
||
|
case 22:
|
||
|
return BlendMode.SOFT_LIGHT;
|
||
|
case 23:
|
||
|
return BlendMode.DIFFERENCE;
|
||
|
case 24:
|
||
|
return BlendMode.EXCLUSION;
|
||
|
case 25:
|
||
|
return BlendMode.MULTIPLY;
|
||
|
case 26:
|
||
|
return BlendMode.HUE;
|
||
|
case 27:
|
||
|
return BlendMode.SATURATION;
|
||
|
case 28:
|
||
|
return BlendMode.COLOR;
|
||
|
case 29:
|
||
|
return BlendMode.LUMINOSITY;
|
||
|
default:
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|