DrawableTransitionOptions.smali
.class public final Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.super Lcom/bumptech/glide/TransitionOptions;
.source "DrawableTransitionOptions.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/TransitionOptions<",
"Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
.line 14
invoke-direct {p0}, Lcom/bumptech/glide/TransitionOptions;-><init>()V
return-void
.end method
.method public static with(Lcom/bumptech/glide/request/transition/TransitionFactory;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/transition/TransitionFactory<",
"Landroid/graphics/drawable/Drawable;",
">;)",
"Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;"
}
.end annotation
.line 67
new-instance v0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->transition(Lcom/bumptech/glide/request/transition/TransitionFactory;)Lcom/bumptech/glide/TransitionOptions;
move-result-object p0
check-cast p0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
return-object p0
.end method
.method public static withCrossFade()Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 1
.line 24
new-instance v0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;-><init>()V
invoke-virtual {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade()Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object v0
return-object v0
.end method
.method public static withCrossFade(I)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 34
new-instance v0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(I)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object p0
return-object p0
.end method
.method public static withCrossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 56
new-instance v0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object p0
return-object p0
.end method
.method public static withCrossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 45
new-instance v0, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
invoke-direct {v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;-><init>()V
invoke-virtual {v0, p0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public crossFade()Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 76
new-instance v0, Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;
invoke-direct {v0}, Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;-><init>()V
invoke-virtual {p0, v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object v0
return-object v0
.end method
.method public crossFade(I)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 3
.line 89
new-instance v0, Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;
invoke-direct {v0, p1}, Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;-><init>(I)V
invoke-virtual {p0, v0}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object p1
return-object p1
.end method
.method public crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 108
invoke-virtual {p1}, Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory$Builder;->build()Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
move-result-object p1
return-object p1
.end method
.method public crossFade(Lcom/bumptech/glide/request/transition/DrawableCrossFadeFactory;)Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
.registers 2
.line 99
invoke-virtual {p0, p1}, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;->transition(Lcom/bumptech/glide/request/transition/TransitionFactory;)Lcom/bumptech/glide/TransitionOptions;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/load/resource/drawable/DrawableTransitionOptions;
return-object p1
.end method