DownsampleStrategy.smali
.class public abstract Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.super Ljava/lang/Object;
.source "DownsampleStrategy.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$SampleSizeRounding;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterInside;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$None;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtMost;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtLeast;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterOutside;,
Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$FitCenter;
}
.end annotation
# static fields
.field public static final AT_LEAST:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final AT_MOST:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final CENTER_INSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final CENTER_OUTSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final DEFAULT:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final FIT_CENTER:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final NONE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.field public static final OPTION:Lcom/bumptech/glide/load/Option;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/load/Option<",
"Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 37
new-instance v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$FitCenter;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$FitCenter;-><init>()V
sput-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->FIT_CENTER:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 51
new-instance v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterOutside;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterOutside;-><init>()V
sput-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_OUTSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 59
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtLeast;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtLeast;-><init>()V
sput-object v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->AT_LEAST:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 67
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtMost;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$AtMost;-><init>()V
sput-object v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->AT_MOST:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 76
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterInside;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$CenterInside;-><init>()V
sput-object v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_INSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 81
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$None;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$None;-><init>()V
sput-object v1, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->NONE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
.line 86
sput-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->DEFAULT:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
const-string v1, "com.bumptech.glide.load.resource.bitmap.Downsampler.DownsampleStrategy"
.line 96
invoke-static {v1, v0}, Lcom/bumptech/glide/load/Option;->memory(Ljava/lang/String;Ljava/lang/Object;)Lcom/bumptech/glide/load/Option;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->OPTION:Lcom/bumptech/glide/load/Option;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract getSampleSizeRounding(IIII)Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy$SampleSizeRounding;
.end method
.method public abstract getScaleFactor(IIII)F
.end method