122 lines
2.8 KiB
Smali
122 lines
2.8 KiB
Smali
|
.class synthetic Lcom/facebook/imageutils/BitmapUtil$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "BitmapUtil.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/facebook/imageutils/BitmapUtil;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x1008
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field static final synthetic $SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
invoke-static {}, Landroid/graphics/Bitmap$Config;->values()[Landroid/graphics/Bitmap$Config;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
array-length v0, v0
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
sput-object v0, Lcom/facebook/imageutils/BitmapUtil$1;->$SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
:try_start_0
|
||
|
sget-object v0, Lcom/facebook/imageutils/BitmapUtil$1;->$SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->ordinal()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
aput v2, v0, v1
|
||
|
:try_end_0
|
||
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_3
|
||
|
|
||
|
:goto_0
|
||
|
:try_start_1
|
||
|
sget-object v0, Lcom/facebook/imageutils/BitmapUtil$1;->$SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
sget-object v1, Landroid/graphics/Bitmap$Config;->ALPHA_8:Landroid/graphics/Bitmap$Config;
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->ordinal()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, 0x2
|
||
|
|
||
|
aput v2, v0, v1
|
||
|
:try_end_1
|
||
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_2
|
||
|
|
||
|
:goto_1
|
||
|
:try_start_2
|
||
|
sget-object v0, Lcom/facebook/imageutils/BitmapUtil$1;->$SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->ordinal()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, 0x3
|
||
|
|
||
|
aput v2, v0, v1
|
||
|
:try_end_2
|
||
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_1
|
||
|
|
||
|
:goto_2
|
||
|
:try_start_3
|
||
|
sget-object v0, Lcom/facebook/imageutils/BitmapUtil$1;->$SwitchMap$android$graphics$Bitmap$Config:[I
|
||
|
|
||
|
sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->ordinal()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, 0x4
|
||
|
|
||
|
aput v2, v0, v1
|
||
|
:try_end_3
|
||
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_0
|
||
|
|
||
|
:goto_3
|
||
|
return-void
|
||
|
|
||
|
:catch_0
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:catch_1
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:catch_2
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:catch_3
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|