DiskCacheStrategy$1.smali
.class Lcom/bumptech/glide/load/engine/DiskCacheStrategy$1;
.super Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.source "DiskCacheStrategy.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 15
invoke-direct {p0}, Lcom/bumptech/glide/load/engine/DiskCacheStrategy;-><init>()V
return-void
.end method
# virtual methods
.method public decodeCachedData()Z
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public decodeCachedResource()Z
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public isDataCacheable(Lcom/bumptech/glide/load/DataSource;)Z
.registers 3
.line 18
sget-object v0, Lcom/bumptech/glide/load/DataSource;->REMOTE:Lcom/bumptech/glide/load/DataSource;
if-ne p1, v0, :cond_6
const/4 p1, 0x1
goto :goto_7
:cond_6
const/4 p1, 0x0
:goto_7
return p1
.end method
.method public isResourceCacheable(ZLcom/bumptech/glide/load/DataSource;Lcom/bumptech/glide/load/EncodeStrategy;)Z
.registers 4
.line 24
sget-object p1, Lcom/bumptech/glide/load/DataSource;->RESOURCE_DISK_CACHE:Lcom/bumptech/glide/load/DataSource;
if-eq p2, p1, :cond_a
sget-object p1, Lcom/bumptech/glide/load/DataSource;->MEMORY_CACHE:Lcom/bumptech/glide/load/DataSource;
if-eq p2, p1, :cond_a
const/4 p1, 0x1
goto :goto_b
:cond_a
const/4 p1, 0x0
:goto_b
return p1
.end method