RequestOptions.smali
.class public Lcom/bumptech/glide/request/RequestOptions;
.super Ljava/lang/Object;
.source "RequestOptions.java"
# interfaces
.implements Ljava/lang/Cloneable;
# static fields
.field private static final DISK_CACHE_STRATEGY:I = 0x4
.field private static final ERROR_ID:I = 0x20
.field private static final ERROR_PLACEHOLDER:I = 0x10
.field private static final FALLBACK:I = 0x2000
.field private static final FALLBACK_ID:I = 0x4000
.field private static final IS_CACHEABLE:I = 0x100
.field private static final ONLY_RETRIEVE_FROM_CACHE:I = 0x80000
.field private static final OVERRIDE:I = 0x200
.field private static final PLACEHOLDER:I = 0x40
.field private static final PLACEHOLDER_ID:I = 0x80
.field private static final PRIORITY:I = 0x8
.field private static final RESOURCE_CLASS:I = 0x1000
.field private static final SIGNATURE:I = 0x400
.field private static final SIZE_MULTIPLIER:I = 0x2
.field private static final THEME:I = 0x8000
.field private static final TRANSFORMATION:I = 0x800
.field private static final TRANSFORMATION_ALLOWED:I = 0x10000
.field private static final TRANSFORMATION_REQUIRED:I = 0x20000
.field private static final UNSET:I = -0x1
.field private static final USE_UNLIMITED_SOURCE_GENERATORS_POOL:I = 0x40000
.field private static centerCropOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static centerInsideOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static circleCropOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static fitCenterOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static noAnimationOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static noTransformOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static skipMemoryCacheFalseOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private static skipMemoryCacheTrueOptions:Lcom/bumptech/glide/request/RequestOptions;
# instance fields
.field private diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.field private errorId:I
.field private errorPlaceholder:Landroid/graphics/drawable/Drawable;
.field private fallbackDrawable:Landroid/graphics/drawable/Drawable;
.field private fallbackId:I
.field private fields:I
.field private isAutoCloneEnabled:Z
.field private isCacheable:Z
.field private isLocked:Z
.field private isTransformationAllowed:Z
.field private isTransformationRequired:Z
.field private onlyRetrieveFromCache:Z
.field private options:Lcom/bumptech/glide/load/Options;
.field private overrideHeight:I
.field private overrideWidth:I
.field private placeholderDrawable:Landroid/graphics/drawable/Drawable;
.field private placeholderId:I
.field private priority:Lcom/bumptech/glide/Priority;
.field private resourceClass:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
.field private signature:Lcom/bumptech/glide/load/Key;
.field private sizeMultiplier:F
.field private theme:Landroid/content/res/Resources$Theme;
.field private transformations:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/load/Transformation<",
"*>;>;"
}
.end annotation
.end field
.field private useUnlimitedSourceGeneratorsPool:Z
# direct methods
.method public constructor <init>()V
.registers 3
.line 39
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/high16 v0, 0x3f800000 # 1.0f
.line 71
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier:F
.line 72
sget-object v0, Lcom/bumptech/glide/load/engine/DiskCacheStrategy;->AUTOMATIC:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.line 73
sget-object v0, Lcom/bumptech/glide/Priority;->NORMAL:Lcom/bumptech/glide/Priority;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->priority:Lcom/bumptech/glide/Priority;
const/4 v0, 0x1
.line 78
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isCacheable:Z
const/4 v1, -0x1
.line 79
iput v1, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
.line 80
iput v1, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
.line 81
invoke-static {}, Lcom/bumptech/glide/signature/EmptySignature;->obtain()Lcom/bumptech/glide/signature/EmptySignature;
move-result-object v1
iput-object v1, p0, Lcom/bumptech/glide/request/RequestOptions;->signature:Lcom/bumptech/glide/load/Key;
.line 83
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
.line 86
new-instance v0, Lcom/bumptech/glide/load/Options;
invoke-direct {v0}, Lcom/bumptech/glide/load/Options;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
.line 87
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
.line 88
const-class v0, Ljava/lang/Object;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->resourceClass:Ljava/lang/Class;
return-void
.end method
.method public static bitmapTransform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/Transformation<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 235
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static centerCropTransform()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 211
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerCropOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 212
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 213
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->centerCrop()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 214
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerCropOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 216
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerCropOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static centerInsideTransform()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 199
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerInsideOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 200
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 201
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->centerInside()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 202
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerInsideOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 204
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->centerInsideOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static circleCropTransform()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 223
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->circleCropOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 224
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 225
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->circleCrop()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 226
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->circleCropOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 228
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->circleCropOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static decodeTypeOf(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 262
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->decode(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static diskCacheStrategyOf(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 106
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static downsampleOf(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 283
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->downsample(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static encodeFormatOf(Landroid/graphics/Bitmap$CompressFormat;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 299
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->encodeFormat(Landroid/graphics/Bitmap$CompressFormat;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static encodeQualityOf(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 291
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->encodeQuality(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static errorOf(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 141
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->error(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static errorOf(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 134
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->error(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static fitCenterTransform()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 187
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->fitCenterOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 188
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 189
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->fitCenter()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 190
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->fitCenterOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 192
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->fitCenterOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static formatOf(Lcom/bumptech/glide/load/DecodeFormat;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 269
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->format(Lcom/bumptech/glide/load/DecodeFormat;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static frameOf(J)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 276
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->frame(J)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method private isSet(I)Z
.registers 3
.line 1191
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
invoke-static {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result p1
return p1
.end method
.method private static isSet(II)Z
.registers 2
and-int/2addr p0, p1
if-eqz p0, :cond_5
const/4 p0, 0x1
goto :goto_6
:cond_5
const/4 p0, 0x0
:goto_6
return p0
.end method
.method public static noAnimation()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 307
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->noAnimationOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 308
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 309
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->dontAnimate()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 310
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->noAnimationOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 312
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->noAnimationOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static noTransformation()Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 242
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->noTransformOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez v0, :cond_13
.line 243
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
.line 244
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->dontTransform()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
.line 245
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sput-object v0, Lcom/bumptech/glide/request/RequestOptions;->noTransformOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 247
:cond_13
sget-object v0, Lcom/bumptech/glide/request/RequestOptions;->noTransformOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object v0
.end method
.method public static option(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/bumptech/glide/load/Option<",
"TT;>;TT;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 255
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static overrideOf(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 1
.line 173
invoke-static {p0, p0}, Lcom/bumptech/glide/request/RequestOptions;->overrideOf(II)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static overrideOf(II)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 165
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->override(II)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static placeholderOf(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 127
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->placeholder(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static placeholderOf(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 120
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->placeholder(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static priorityOf(Lcom/bumptech/glide/Priority;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 113
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->priority(Lcom/bumptech/glide/Priority;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method private selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 1104
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isLocked:Z
if-nez v0, :cond_5
return-object p0
.line 1105
:cond_5
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "You cannot modify locked RequestOptions, consider clone()"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static signatureOf(Lcom/bumptech/glide/load/Key;)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 180
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->signature(Lcom/bumptech/glide/load/Key;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static sizeMultiplierOf(F)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 99
new-instance v0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {v0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier(F)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
return-object p0
.end method
.method public static skipMemoryCacheOf(Z)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
if-eqz p0, :cond_19
.line 149
sget-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheTrueOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez p0, :cond_16
.line 150
new-instance p0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCache(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
sput-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheTrueOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 152
:cond_16
sget-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheTrueOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object p0
.line 154
:cond_19
sget-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheFalseOptions:Lcom/bumptech/glide/request/RequestOptions;
if-nez p0, :cond_2d
.line 155
new-instance p0, Lcom/bumptech/glide/request/RequestOptions;
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;-><init>()V
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCache(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p0
sput-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheFalseOptions:Lcom/bumptech/glide/request/RequestOptions;
.line 157
:cond_2d
sget-object p0, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheFalseOptions:Lcom/bumptech/glide/request/RequestOptions;
return-object p0
.end method
# virtual methods
.method public apply(Lcom/bumptech/glide/request/RequestOptions;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 996
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 997
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->apply(Lcom/bumptech/glide/request/RequestOptions;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 1000
:cond_d
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/4 v1, 0x2
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_1a
.line 1001
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier:F
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier:F
.line 1003
:cond_1a
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v1, 0x40000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_28
.line 1004
iget-boolean v0, p1, Lcom/bumptech/glide/request/RequestOptions;->useUnlimitedSourceGeneratorsPool:Z
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->useUnlimitedSourceGeneratorsPool:Z
.line 1006
:cond_28
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/4 v1, 0x4
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_35
.line 1007
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.line 1009
:cond_35
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x8
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_43
.line 1010
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->priority:Lcom/bumptech/glide/Priority;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->priority:Lcom/bumptech/glide/Priority;
.line 1012
:cond_43
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x10
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_51
.line 1013
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->errorPlaceholder:Landroid/graphics/drawable/Drawable;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->errorPlaceholder:Landroid/graphics/drawable/Drawable;
.line 1015
:cond_51
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x20
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_5f
.line 1016
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->errorId:I
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->errorId:I
.line 1018
:cond_5f
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x40
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_6d
.line 1019
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->placeholderDrawable:Landroid/graphics/drawable/Drawable;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderDrawable:Landroid/graphics/drawable/Drawable;
.line 1021
:cond_6d
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x80
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_7b
.line 1022
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->placeholderId:I
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderId:I
.line 1024
:cond_7b
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x100
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_89
.line 1025
iget-boolean v0, p1, Lcom/bumptech/glide/request/RequestOptions;->isCacheable:Z
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isCacheable:Z
.line 1027
:cond_89
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x200
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_9b
.line 1028
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
.line 1029
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
.line 1031
:cond_9b
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x400
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_a9
.line 1032
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->signature:Lcom/bumptech/glide/load/Key;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->signature:Lcom/bumptech/glide/load/Key;
.line 1034
:cond_a9
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x1000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_b7
.line 1035
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->resourceClass:Ljava/lang/Class;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->resourceClass:Ljava/lang/Class;
.line 1037
:cond_b7
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x2000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_c5
.line 1038
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fallbackDrawable:Landroid/graphics/drawable/Drawable;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackDrawable:Landroid/graphics/drawable/Drawable;
.line 1040
:cond_c5
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x4000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_d3
.line 1041
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fallbackId:I
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackId:I
.line 1043
:cond_d3
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const v1, 0x8000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_e2
.line 1044
iget-object v0, p1, Lcom/bumptech/glide/request/RequestOptions;->theme:Landroid/content/res/Resources$Theme;
iput-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->theme:Landroid/content/res/Resources$Theme;
.line 1046
:cond_e2
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v1, 0x10000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_f0
.line 1047
iget-boolean v0, p1, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
.line 1049
:cond_f0
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v1, 0x20000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_fe
.line 1050
iget-boolean v0, p1, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
.line 1052
:cond_fe
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/16 v1, 0x800
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_10f
.line 1053
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
iget-object v1, p1, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
invoke-interface {v0, v1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
.line 1055
:cond_10f
iget v0, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v1, 0x80000
invoke-static {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->isSet(II)Z
move-result v0
if-eqz v0, :cond_11d
.line 1056
iget-boolean v0, p1, Lcom/bumptech/glide/request/RequestOptions;->onlyRetrieveFromCache:Z
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->onlyRetrieveFromCache:Z
.line 1060
:cond_11d
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
if-nez v0, :cond_135
.line 1061
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->clear()V
.line 1062
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
and-int/lit16 v0, v0, -0x801
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/4 v1, 0x0
.line 1063
iput-boolean v1, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
const v1, -0x20001
and-int/2addr v0, v1
.line 1064
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 1067
:cond_135
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
iget v1, p1, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/2addr v0, v1
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 1068
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
iget-object p1, p1, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/load/Options;->putAll(Lcom/bumptech/glide/load/Options;)V
.line 1070
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public autoClone()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 1094
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isLocked:Z
if-eqz v0, :cond_11
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_9
goto :goto_11
.line 1095
:cond_9
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "You cannot auto lock an already locked options object, try clone() first"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_11
:goto_11
const/4 v0, 0x1
.line 1098
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
.line 1099
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->lock()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public centerCrop()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 750
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_OUTSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CenterCrop;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CenterCrop;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public centerInside()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 802
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_INSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CenterInside;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CenterInside;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public circleCrop()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 827
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_INSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CircleCrop;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CircleCrop;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public clone()Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 633
:try_start_0
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/RequestOptions;
.line 634
new-instance v1, Lcom/bumptech/glide/load/Options;
invoke-direct {v1}, Lcom/bumptech/glide/load/Options;-><init>()V
iput-object v1, v0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
.line 635
iget-object v2, p0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
invoke-virtual {v1, v2}, Lcom/bumptech/glide/load/Options;->putAll(Lcom/bumptech/glide/load/Options;)V
.line 636
new-instance v1, Ljava/util/HashMap;
invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
iput-object v1, v0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
.line 637
iget-object v2, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
invoke-interface {v1, v2}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
const/4 v1, 0x0
.line 638
iput-boolean v1, v0, Lcom/bumptech/glide/request/RequestOptions;->isLocked:Z
.line 639
iput-boolean v1, v0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
:try_end_23
.catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_23} :catch_24
return-object v0
:catch_24
move-exception v0
.line 642
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
.method public bridge synthetic clone()Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
.line 38
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public decode(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 658
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 659
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->decode(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 662
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Class;
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->resourceClass:Ljava/lang/Class;
.line 663
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x1000
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 664
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public diskCacheStrategy(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 383
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 384
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 386
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.line 387
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x4
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 389
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public dontAnimate()Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 986
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 987
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->dontAnimate()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.line 990
:cond_d
sget-object v0, Lcom/bumptech/glide/load/resource/gif/ByteBufferGifDecoder;->DISABLE_ANIMATION:Lcom/bumptech/glide/load/Option;
const/4 v1, 0x1
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v2
invoke-virtual {p0, v0, v2}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
.line 991
sget-object v0, Lcom/bumptech/glide/load/resource/gif/StreamGifDecoder;->DISABLE_ANIMATION:Lcom/bumptech/glide/load/Option;
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v1
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
.line 992
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public dontTransform()Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 965
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 966
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->dontTransform()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.line 969
:cond_d
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->clear()V
.line 970
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
and-int/lit16 v0, v0, -0x801
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/4 v1, 0x0
.line 971
iput-boolean v1, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
const v2, -0x20001
and-int/2addr v0, v2
.line 972
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 973
iput-boolean v1, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
const/high16 v1, 0x10000
or-int/2addr v0, v1
.line 974
iput v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 975
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public downsample(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 724
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/Downsampler;->DOWNSAMPLE_STRATEGY:Lcom/bumptech/glide/load/Option;
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public encodeFormat(Landroid/graphics/Bitmap$CompressFormat;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 684
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/BitmapEncoder;->COMPRESSION_FORMAT:Lcom/bumptech/glide/load/Option;
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public encodeQuality(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 692
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/BitmapEncoder;->COMPRESSION_QUALITY:Lcom/bumptech/glide/load/Option;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public error(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 516
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 517
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->error(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 519
:cond_d
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->errorId:I
.line 520
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x20
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 522
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public error(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 499
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 500
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->error(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 503
:cond_d
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->errorPlaceholder:Landroid/graphics/drawable/Drawable;
.line 504
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x10
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 506
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public fallback(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 482
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 483
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->fallback(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 486
:cond_d
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackId:I
.line 487
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x4000
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 489
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public fallback(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 458
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 459
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->fallback(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 462
:cond_d
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackDrawable:Landroid/graphics/drawable/Drawable;
.line 463
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x2000
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 465
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public fitCenter()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 776
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->FIT_CENTER:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/FitCenter;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/FitCenter;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public format(Lcom/bumptech/glide/load/DecodeFormat;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 706
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/Downsampler;->DECODE_FORMAT:Lcom/bumptech/glide/load/Option;
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public frame(J)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 716
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/VideoBitmapDecoder;->TARGET_FRAME:Lcom/bumptech/glide/load/Option;
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public final getDiskCacheStrategy()Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.registers 2
.line 1127
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategy:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
return-object v0
.end method
.method public final getErrorId()I
.registers 2
.line 1135
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->errorId:I
return v0
.end method
.method public final getErrorPlaceholder()Landroid/graphics/drawable/Drawable;
.registers 2
.line 1131
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->errorPlaceholder:Landroid/graphics/drawable/Drawable;
return-object v0
.end method
.method public final getFallbackDrawable()Landroid/graphics/drawable/Drawable;
.registers 2
.line 1151
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackDrawable:Landroid/graphics/drawable/Drawable;
return-object v0
.end method
.method public final getFallbackId()I
.registers 2
.line 1147
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->fallbackId:I
return v0
.end method
.method public final getOnlyRetrieveFromCache()Z
.registers 2
.line 1199
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->onlyRetrieveFromCache:Z
return v0
.end method
.method public final getOptions()Lcom/bumptech/glide/load/Options;
.registers 2
.line 1119
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
return-object v0
.end method
.method public final getOverrideHeight()I
.registers 2
.line 1183
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
return v0
.end method
.method public final getOverrideWidth()I
.registers 2
.line 1175
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
return v0
.end method
.method public final getPlaceholderDrawable()Landroid/graphics/drawable/Drawable;
.registers 2
.line 1143
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderDrawable:Landroid/graphics/drawable/Drawable;
return-object v0
.end method
.method public final getPlaceholderId()I
.registers 2
.line 1139
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderId:I
return v0
.end method
.method public final getPriority()Lcom/bumptech/glide/Priority;
.registers 2
.line 1171
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->priority:Lcom/bumptech/glide/Priority;
return-object v0
.end method
.method public final getResourceClass()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.line 1123
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->resourceClass:Ljava/lang/Class;
return-object v0
.end method
.method public final getSignature()Lcom/bumptech/glide/load/Key;
.registers 2
.line 1163
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->signature:Lcom/bumptech/glide/load/Key;
return-object v0
.end method
.method public final getSizeMultiplier()F
.registers 2
.line 1187
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier:F
return v0
.end method
.method public final getTheme()Landroid/content/res/Resources$Theme;
.registers 2
.line 1155
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->theme:Landroid/content/res/Resources$Theme;
return-object v0
.end method
.method public final getTransformations()Ljava/util/Map;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/load/Transformation<",
"*>;>;"
}
.end annotation
.line 1111
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
return-object v0
.end method
.method public final getUseUnlimitedSourceGeneratorsPool()Z
.registers 2
.line 1195
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->useUnlimitedSourceGeneratorsPool:Z
return v0
.end method
.method public final isLocked()Z
.registers 2
.line 676
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isLocked:Z
return v0
.end method
.method public final isMemoryCacheable()Z
.registers 2
.line 1159
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isCacheable:Z
return v0
.end method
.method public final isPrioritySet()Z
.registers 2
const/16 v0, 0x8
.line 1167
invoke-direct {p0, v0}, Lcom/bumptech/glide/request/RequestOptions;->isSet(I)Z
move-result v0
return v0
.end method
.method public final isTransformationAllowed()Z
.registers 2
.line 668
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
return v0
.end method
.method public final isTransformationRequired()Z
.registers 2
.line 1115
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
return v0
.end method
.method public final isTransformationSet()Z
.registers 2
const/16 v0, 0x800
.line 672
invoke-direct {p0, v0}, Lcom/bumptech/glide/request/RequestOptions;->isSet(I)Z
move-result v0
return v0
.end method
.method public final isValidOverride()Z
.registers 3
.line 1179
iget v0, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
iget v1, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
invoke-static {v0, v1}, Lcom/bumptech/glide/util/Util;->isValidDimensions(II)Z
move-result v0
return v0
.end method
.method public lock()Lcom/bumptech/glide/request/RequestOptions;
.registers 2
const/4 v0, 0x1
.line 1080
iput-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isLocked:Z
return-object p0
.end method
.method public onlyRetrieveFromCache(Z)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 358
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 359
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->onlyRetrieveFromCache(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 362
:cond_d
iput-boolean p1, p0, Lcom/bumptech/glide/request/RequestOptions;->onlyRetrieveFromCache:Z
.line 363
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v0, 0x80000
or-int/2addr p1, v0
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 365
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public optionalCenterCrop()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 737
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_OUTSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CenterCrop;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CenterCrop;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public optionalCenterInside()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 789
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_INSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CenterInside;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CenterInside;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public optionalCircleCrop()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 814
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->CENTER_OUTSIDE:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/CircleCrop;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/CircleCrop;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public optionalFitCenter()Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 763
sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;->FIT_CENTER:Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/FitCenter;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/bitmap/FitCenter;-><init>()V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
return-object v0
.end method
.method public optionalTransform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/Transformation<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 893
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 894
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 897
:cond_d
const-class v0, Landroid/graphics/Bitmap;
invoke-virtual {p0, v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.line 899
const-class v0, Landroid/graphics/drawable/BitmapDrawable;
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/BitmapDrawableTransformation;
invoke-direct {v1, p1}, Lcom/bumptech/glide/load/resource/bitmap/BitmapDrawableTransformation;-><init>(Lcom/bumptech/glide/load/Transformation;)V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.line 901
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
new-instance v1, Lcom/bumptech/glide/load/resource/gif/GifDrawableTransformation;
invoke-direct {v1, p1}, Lcom/bumptech/glide/load/resource/gif/GifDrawableTransformation;-><init>(Lcom/bumptech/glide/load/Transformation;)V
invoke-virtual {p0, v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.line 902
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method final optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;",
"Lcom/bumptech/glide/load/Transformation<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 834
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 835
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 838
:cond_d
invoke-virtual {p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->downsample(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.line 839
invoke-virtual {p0, p2}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;",
"Lcom/bumptech/glide/load/Transformation<",
"TT;>;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 924
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 925
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 928
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 929
invoke-static {p2}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 930
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->transformations:Ljava/util/Map;
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 931
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x800
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/4 p2, 0x1
.line 932
iput-boolean p2, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationAllowed:Z
const/high16 p2, 0x10000
or-int/2addr p1, p2
.line 933
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 934
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public override(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 2
.line 594
invoke-virtual {p0, p1, p1}, Lcom/bumptech/glide/request/RequestOptions;->override(II)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public override(II)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 574
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 575
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->override(II)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 578
:cond_d
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideWidth:I
.line 579
iput p2, p0, Lcom/bumptech/glide/request/RequestOptions;->overrideHeight:I
.line 580
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x200
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 582
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public placeholder(I)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 434
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 435
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->placeholder(I)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 438
:cond_d
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderId:I
.line 439
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x80
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 441
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public placeholder(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 416
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 417
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->placeholder(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 420
:cond_d
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->placeholderDrawable:Landroid/graphics/drawable/Drawable;
.line 421
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x40
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 423
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public priority(Lcom/bumptech/glide/Priority;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 399
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 400
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->priority(Lcom/bumptech/glide/Priority;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 403
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/Priority;
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->priority:Lcom/bumptech/glide/Priority;
.line 404
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x8
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 406
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/bumptech/glide/load/Option<",
"TT;>;TT;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 647
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 648
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 651
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 652
invoke-static {p2}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 653
iget-object v0, p0, Lcom/bumptech/glide/request/RequestOptions;->options:Lcom/bumptech/glide/load/Options;
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/load/Options;->set(Lcom/bumptech/glide/load/Option;Ljava/lang/Object;)Lcom/bumptech/glide/load/Options;
.line 654
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public signature(Lcom/bumptech/glide/load/Key;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 609
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 610
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->signature(Lcom/bumptech/glide/load/Key;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 613
:cond_d
invoke-static {p1}, Lcom/bumptech/glide/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/load/Key;
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->signature:Lcom/bumptech/glide/load/Key;
.line 614
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x400
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 615
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public sizeMultiplier(F)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 330
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 331
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier(F)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
:cond_d
const/4 v0, 0x0
cmpg-float v0, p1, v0
if-ltz v0, :cond_25
const/high16 v0, 0x3f800000 # 1.0f
cmpl-float v0, p1, v0
if-gtz v0, :cond_25
.line 337
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->sizeMultiplier:F
.line 338
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit8 p1, p1, 0x2
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 340
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 335
:cond_25
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "sizeMultiplier must be between 0 and 1"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public skipMemoryCache(Z)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.line 554
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
const/4 v1, 0x1
if-eqz v0, :cond_e
.line 555
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
invoke-virtual {p1, v1}, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCache(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
:cond_e
xor-int/2addr p1, v1
.line 558
iput-boolean p1, p0, Lcom/bumptech/glide/request/RequestOptions;->isCacheable:Z
.line 559
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
or-int/lit16 p1, p1, 0x100
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 561
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public theme(Landroid/content/res/Resources$Theme;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 534
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 535
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->theme(Landroid/content/res/Resources$Theme;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 538
:cond_d
iput-object p1, p0, Lcom/bumptech/glide/request/RequestOptions;->theme:Landroid/content/res/Resources$Theme;
.line 539
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const v0, 0x8000
or-int/2addr p1, v0
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 541
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public transform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/Transformation<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 869
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 870
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 873
:cond_d
invoke-virtual {p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
const/4 p1, 0x1
.line 874
iput-boolean p1, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
.line 875
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v0, 0x20000
or-int/2addr p1, v0
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 876
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method final transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;",
"Lcom/bumptech/glide/load/Transformation<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 846
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 847
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 850
:cond_d
invoke-virtual {p0, p1}, Lcom/bumptech/glide/request/RequestOptions;->downsample(Lcom/bumptech/glide/load/resource/bitmap/DownsampleStrategy;)Lcom/bumptech/glide/request/RequestOptions;
.line 851
invoke-virtual {p0, p2}, Lcom/bumptech/glide/request/RequestOptions;->transform(Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public transform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;",
"Lcom/bumptech/glide/load/Transformation<",
"TT;>;)",
"Lcom/bumptech/glide/request/RequestOptions;"
}
.end annotation
.line 949
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 950
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->transform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 953
:cond_d
invoke-virtual {p0, p1, p2}, Lcom/bumptech/glide/request/RequestOptions;->optionalTransform(Ljava/lang/Class;Lcom/bumptech/glide/load/Transformation;)Lcom/bumptech/glide/request/RequestOptions;
const/4 p1, 0x1
.line 954
iput-boolean p1, p0, Lcom/bumptech/glide/request/RequestOptions;->isTransformationRequired:Z
.line 955
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 p2, 0x20000
or-int/2addr p1, p2
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 956
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method
.method public useUnlimitedSourceGeneratorsPool(Z)Lcom/bumptech/glide/request/RequestOptions;
.registers 3
.line 344
iget-boolean v0, p0, Lcom/bumptech/glide/request/RequestOptions;->isAutoCloneEnabled:Z
if-eqz v0, :cond_d
.line 345
invoke-virtual {p0}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->useUnlimitedSourceGeneratorsPool(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.line 348
:cond_d
iput-boolean p1, p0, Lcom/bumptech/glide/request/RequestOptions;->useUnlimitedSourceGeneratorsPool:Z
.line 349
iget p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
const/high16 v0, 0x40000
or-int/2addr p1, v0
iput p1, p0, Lcom/bumptech/glide/request/RequestOptions;->fields:I
.line 351
invoke-direct {p0}, Lcom/bumptech/glide/request/RequestOptions;->selfOrThrowIfLocked()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p1
return-object p1
.end method