ImageRequest$RequestLevel.smali
.class public final enum Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.super Ljava/lang/Enum;
.source "ImageRequest.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/request/ImageRequest;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "RequestLevel"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.field public static final enum BITMAP_MEMORY_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.field public static final enum DISK_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.field public static final enum ENCODED_MEMORY_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.field public static final enum FULL_FETCH:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
# instance fields
.field private mValue:I
# direct methods
.method static constructor <clinit>()V
.registers 10
.line 357
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
const-string v1, "FULL_FETCH"
const/4 v2, 0x0
const/4 v3, 0x1
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->FULL_FETCH:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.line 360
new-instance v1, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
const-string v4, "DISK_CACHE"
const/4 v5, 0x2
invoke-direct {v1, v4, v3, v5}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;-><init>(Ljava/lang/String;II)V
sput-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->DISK_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.line 363
new-instance v4, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
const-string v6, "ENCODED_MEMORY_CACHE"
const/4 v7, 0x3
invoke-direct {v4, v6, v5, v7}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;-><init>(Ljava/lang/String;II)V
sput-object v4, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->ENCODED_MEMORY_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.line 366
new-instance v6, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
const-string v8, "BITMAP_MEMORY_CACHE"
const/4 v9, 0x4
invoke-direct {v6, v8, v7, v9}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;-><init>(Ljava/lang/String;II)V
sput-object v6, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->BITMAP_MEMORY_CACHE:Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
new-array v8, v9, [Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
aput-object v0, v8, v2
aput-object v1, v8, v3
aput-object v4, v8, v5
aput-object v6, v8, v7
.line 355
sput-object v8, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->$VALUES:[Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
.registers 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000,
0x0
}
names = {
"$enum$name",
"$enum$ordinal",
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
.line 370
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 371
iput p3, p0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->mValue:I
return-void
.end method
.method public static getMax(Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;)Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.registers 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"requestLevel1",
"requestLevel2"
}
.end annotation
.line 379
invoke-virtual {p0}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->getValue()I
move-result v0
invoke-virtual {p1}, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->getValue()I
move-result v1
if-le v0, v1, :cond_b
goto :goto_c
:cond_b
move-object p0, p1
:goto_c
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.registers 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 355
const-class v0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
return-object p0
.end method
.method public static values()[Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
.registers 1
.line 355
sget-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->$VALUES:[Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
invoke-virtual {v0}, [Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;
return-object v0
.end method
# virtual methods
.method public getValue()I
.registers 2
.line 375
iget v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest$RequestLevel;->mValue:I
return v0
.end method