CrackMe.apk
Download file
package androidx.core.graphics;
import android.graphics.BlendMode;
import android.graphics.PorterDuff;
class BlendModeUtils {
/* renamed from: androidx.core.graphics.BlendModeUtils$1 reason: invalid class name */
static /* synthetic */ class AnonymousClass1 {
static final /* synthetic */ int[] $SwitchMap$androidx$core$graphics$BlendModeCompat;
/* JADX WARNING: Can't wrap try/catch for region: R(58:0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|(3:57|58|60)) */
/* JADX WARNING: Can't wrap try/catch for region: R(60:0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|60) */
/* JADX WARNING: Failed to process nested try/catch */
/* JADX WARNING: Missing exception handler attribute for start block: B:11:0x003e */
/* JADX WARNING: Missing exception handler attribute for start block: B:13:0x0049 */
/* JADX WARNING: Missing exception handler attribute for start block: B:15:0x0054 */
/* JADX WARNING: Missing exception handler attribute for start block: B:17:0x0060 */
/* JADX WARNING: Missing exception handler attribute for start block: B:19:0x006c */
/* JADX WARNING: Missing exception handler attribute for start block: B:21:0x0078 */
/* JADX WARNING: Missing exception handler attribute for start block: B:23:0x0084 */
/* JADX WARNING: Missing exception handler attribute for start block: B:25:0x0090 */
/* JADX WARNING: Missing exception handler attribute for start block: B:27:0x009c */
/* JADX WARNING: Missing exception handler attribute for start block: B:29:0x00a8 */
/* JADX WARNING: Missing exception handler attribute for start block: B:31:0x00b4 */
/* JADX WARNING: Missing exception handler attribute for start block: B:33:0x00c0 */
/* JADX WARNING: Missing exception handler attribute for start block: B:35:0x00cc */
/* JADX WARNING: Missing exception handler attribute for start block: B:37:0x00d8 */
/* JADX WARNING: Missing exception handler attribute for start block: B:39:0x00e4 */
/* JADX WARNING: Missing exception handler attribute for start block: B:3:0x0012 */
/* JADX WARNING: Missing exception handler attribute for start block: B:41:0x00f0 */
/* JADX WARNING: Missing exception handler attribute for start block: B:43:0x00fc */
/* JADX WARNING: Missing exception handler attribute for start block: B:45:0x0108 */
/* JADX WARNING: Missing exception handler attribute for start block: B:47:0x0114 */
/* JADX WARNING: Missing exception handler attribute for start block: B:49:0x0120 */
/* JADX WARNING: Missing exception handler attribute for start block: B:51:0x012c */
/* JADX WARNING: Missing exception handler attribute for start block: B:53:0x0138 */
/* JADX WARNING: Missing exception handler attribute for start block: B:55:0x0144 */
/* JADX WARNING: Missing exception handler attribute for start block: B:57:0x0150 */
/* JADX WARNING: Missing exception handler attribute for start block: B:5:0x001d */
/* JADX WARNING: Missing exception handler attribute for start block: B:7:0x0028 */
/* JADX WARNING: Missing exception handler attribute for start block: B:9:0x0033 */
static {
/*
androidx.core.graphics.BlendModeCompat[] r0 = androidx.core.graphics.BlendModeCompat.values()
int r0 = r0.length
int[] r0 = new int[r0]
$SwitchMap$androidx$core$graphics$BlendModeCompat = r0
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.CLEAR // Catch:{ NoSuchFieldError -> 0x0012 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0012 }
r2 = 1
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0012 }
L_0x0012:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x001d }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SRC // Catch:{ NoSuchFieldError -> 0x001d }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x001d }
r2 = 2
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x001d }
L_0x001d:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0028 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DST // Catch:{ NoSuchFieldError -> 0x0028 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0028 }
r2 = 3
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0028 }
L_0x0028:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0033 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SRC_OVER // Catch:{ NoSuchFieldError -> 0x0033 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0033 }
r2 = 4
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0033 }
L_0x0033:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x003e }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DST_OVER // Catch:{ NoSuchFieldError -> 0x003e }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x003e }
r2 = 5
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x003e }
L_0x003e:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0049 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SRC_IN // Catch:{ NoSuchFieldError -> 0x0049 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0049 }
r2 = 6
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0049 }
L_0x0049:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0054 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DST_IN // Catch:{ NoSuchFieldError -> 0x0054 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0054 }
r2 = 7
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0054 }
L_0x0054:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0060 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SRC_OUT // Catch:{ NoSuchFieldError -> 0x0060 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0060 }
r2 = 8
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0060 }
L_0x0060:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x006c }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DST_OUT // Catch:{ NoSuchFieldError -> 0x006c }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x006c }
r2 = 9
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x006c }
L_0x006c:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0078 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SRC_ATOP // Catch:{ NoSuchFieldError -> 0x0078 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0078 }
r2 = 10
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0078 }
L_0x0078:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0084 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DST_ATOP // Catch:{ NoSuchFieldError -> 0x0084 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0084 }
r2 = 11
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0084 }
L_0x0084:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0090 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.XOR // Catch:{ NoSuchFieldError -> 0x0090 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0090 }
r2 = 12
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0090 }
L_0x0090:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x009c }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.PLUS // Catch:{ NoSuchFieldError -> 0x009c }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x009c }
r2 = 13
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x009c }
L_0x009c:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00a8 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.MODULATE // Catch:{ NoSuchFieldError -> 0x00a8 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00a8 }
r2 = 14
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00a8 }
L_0x00a8:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00b4 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SCREEN // Catch:{ NoSuchFieldError -> 0x00b4 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00b4 }
r2 = 15
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00b4 }
L_0x00b4:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00c0 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.OVERLAY // Catch:{ NoSuchFieldError -> 0x00c0 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00c0 }
r2 = 16
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00c0 }
L_0x00c0:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00cc }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DARKEN // Catch:{ NoSuchFieldError -> 0x00cc }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00cc }
r2 = 17
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00cc }
L_0x00cc:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00d8 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.LIGHTEN // Catch:{ NoSuchFieldError -> 0x00d8 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00d8 }
r2 = 18
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00d8 }
L_0x00d8:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00e4 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.COLOR_DODGE // Catch:{ NoSuchFieldError -> 0x00e4 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00e4 }
r2 = 19
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00e4 }
L_0x00e4:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00f0 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.COLOR_BURN // Catch:{ NoSuchFieldError -> 0x00f0 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00f0 }
r2 = 20
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00f0 }
L_0x00f0:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x00fc }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.HARD_LIGHT // Catch:{ NoSuchFieldError -> 0x00fc }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x00fc }
r2 = 21
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x00fc }
L_0x00fc:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0108 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SOFT_LIGHT // Catch:{ NoSuchFieldError -> 0x0108 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0108 }
r2 = 22
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0108 }
L_0x0108:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0114 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.DIFFERENCE // Catch:{ NoSuchFieldError -> 0x0114 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0114 }
r2 = 23
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0114 }
L_0x0114:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0120 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.EXCLUSION // Catch:{ NoSuchFieldError -> 0x0120 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0120 }
r2 = 24
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0120 }
L_0x0120:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x012c }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.MULTIPLY // Catch:{ NoSuchFieldError -> 0x012c }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x012c }
r2 = 25
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x012c }
L_0x012c:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0138 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.HUE // Catch:{ NoSuchFieldError -> 0x0138 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0138 }
r2 = 26
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0138 }
L_0x0138:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0144 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.SATURATION // Catch:{ NoSuchFieldError -> 0x0144 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0144 }
r2 = 27
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0144 }
L_0x0144:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x0150 }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.COLOR // Catch:{ NoSuchFieldError -> 0x0150 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0150 }
r2 = 28
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0150 }
L_0x0150:
int[] r0 = $SwitchMap$androidx$core$graphics$BlendModeCompat // Catch:{ NoSuchFieldError -> 0x015c }
androidx.core.graphics.BlendModeCompat r1 = androidx.core.graphics.BlendModeCompat.LUMINOSITY // Catch:{ NoSuchFieldError -> 0x015c }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x015c }
r2 = 29
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x015c }
L_0x015c:
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.core.graphics.BlendModeUtils.AnonymousClass1.<clinit>():void");
}
}
static BlendMode obtainBlendModeFromCompat(BlendModeCompat blendModeCompat) {
switch (AnonymousClass1.$SwitchMap$androidx$core$graphics$BlendModeCompat[blendModeCompat.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;
}
}
static PorterDuff.Mode obtainPorterDuffFromCompat(BlendModeCompat blendModeCompat) {
if (blendModeCompat == null) {
return null;
}
switch (AnonymousClass1.$SwitchMap$androidx$core$graphics$BlendModeCompat[blendModeCompat.ordinal()]) {
case 1:
return PorterDuff.Mode.CLEAR;
case 2:
return PorterDuff.Mode.SRC;
case 3:
return PorterDuff.Mode.DST;
case 4:
return PorterDuff.Mode.SRC_OVER;
case 5:
return PorterDuff.Mode.DST_OVER;
case 6:
return PorterDuff.Mode.SRC_IN;
case 7:
return PorterDuff.Mode.DST_IN;
case 8:
return PorterDuff.Mode.SRC_OUT;
case 9:
return PorterDuff.Mode.DST_OUT;
case 10:
return PorterDuff.Mode.SRC_ATOP;
case 11:
return PorterDuff.Mode.DST_ATOP;
case 12:
return PorterDuff.Mode.XOR;
case 13:
return PorterDuff.Mode.ADD;
case 14:
return PorterDuff.Mode.MULTIPLY;
case 15:
return PorterDuff.Mode.SCREEN;
case 16:
return PorterDuff.Mode.OVERLAY;
case 17:
return PorterDuff.Mode.DARKEN;
case 18:
return PorterDuff.Mode.LIGHTEN;
default:
return null;
}
}
private BlendModeUtils() {
}
}
Download file