.class public abstract Lj5/r; .super Lj5/b; .source "ViewTarget.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lj5/r$b; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lj5/b<", "TZ;>;" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation # static fields .field public static final g:Ljava/lang/String; = "ViewTarget" .field public static h:Z .field public static i:I # instance fields .field public final b:Landroid/view/View; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field .field public final c:Lj5/r$b; .field public d:Landroid/view/View$OnAttachStateChangeListener; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public e:Z .field public f:Z # direct methods .method public static constructor ()V .locals 1 .line 1 sget v0, Lcom/bumptech/glide/R$id;->glide_custom_view_target_tag:I sput v0, Lj5/r;->i:I return-void .end method .method public constructor (Landroid/view/View;)V .locals 1 .param p1 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 invoke-direct {p0}, Lj5/b;->()V .line 2 invoke-static {p1}, Lm5/l;->d(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/View; iput-object v0, p0, Lj5/r;->b:Landroid/view/View; .line 3 new-instance v0, Lj5/r$b; invoke-direct {v0, p1}, Lj5/r$b;->(Landroid/view/View;)V iput-object v0, p0, Lj5/r;->c:Lj5/r$b; return-void .end method .method public constructor (Landroid/view/View;Z)V .locals 0 .param p1 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TT;Z)V" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 4 invoke-direct {p0, p1}, Lj5/r;->(Landroid/view/View;)V if-eqz p2, :cond_0 .line 5 invoke-virtual {p0}, Lj5/r;->s()Lj5/r; :cond_0 return-void .end method .method public static r(I)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1 sget-boolean v0, Lj5/r;->h:Z if-nez v0, :cond_0 .line 2 sput p0, Lj5/r;->i:I return-void .line 3 :cond_0 new-instance p0, Ljava/lang/IllegalArgumentException; const-string v0, "You cannot set the tag id more than once or change the tag id after the first request has been made" invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p0 .end method # virtual methods .method public final c()Lj5/r; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()", "Lj5/r<", "TT;TZ;>;" } .end annotation .line 1 iget-object v0, p0, Lj5/r;->d:Landroid/view/View$OnAttachStateChangeListener; if-eqz v0, :cond_0 return-object p0 .line 2 :cond_0 new-instance v0, Lj5/r$a; invoke-direct {v0, p0}, Lj5/r$a;->(Lj5/r;)V iput-object v0, p0, Lj5/r;->d:Landroid/view/View$OnAttachStateChangeListener; .line 3 invoke-virtual {p0}, Lj5/r;->e()V return-object p0 .end method .method public final d()Ljava/lang/Object; .locals 2 .annotation build Landroidx/annotation/Nullable; .end annotation .line 1 iget-object v0, p0, Lj5/r;->b:Landroid/view/View; sget v1, Lj5/r;->i:I invoke-virtual {v0, v1}, Landroid/view/View;->getTag(I)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public final e()V .locals 2 .line 1 iget-object v0, p0, Lj5/r;->d:Landroid/view/View$OnAttachStateChangeListener; if-eqz v0, :cond_1 iget-boolean v1, p0, Lj5/r;->f:Z if-eqz v1, :cond_0 goto :goto_0 .line 2 :cond_0 iget-object v1, p0, Lj5/r;->b:Landroid/view/View; invoke-virtual {v1, v0}, Landroid/view/View;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lj5/r;->f:Z :cond_1 :goto_0 return-void .end method .method public f(Lj5/o;)V .locals 1 .param p1 # Lj5/o; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/CallSuper; .end annotation .line 1 iget-object v0, p0, Lj5/r;->c:Lj5/r$b; invoke-virtual {v0, p1}, Lj5/r$b;->k(Lj5/o;)V return-void .end method .method public getView()Landroid/view/View; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .line 1 iget-object v0, p0, Lj5/r;->b:Landroid/view/View; return-object v0 .end method .method public h(Landroid/graphics/drawable/Drawable;)V .locals 0 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/CallSuper; .end annotation .line 1 invoke-super {p0, p1}, Lj5/b;->h(Landroid/graphics/drawable/Drawable;)V .line 2 invoke-virtual {p0}, Lj5/r;->e()V return-void .end method .method public i()Lcom/bumptech/glide/request/e; .locals 2 .annotation build Landroidx/annotation/Nullable; .end annotation .line 1 invoke-virtual {p0}, Lj5/r;->d()Ljava/lang/Object; move-result-object v0 if-eqz v0, :cond_1 .line 2 instance-of v1, v0, Lcom/bumptech/glide/request/e; if-eqz v1, :cond_0 .line 3 check-cast v0, Lcom/bumptech/glide/request/e; goto :goto_0 .line 4 :cond_0 new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "You must not call setTag() on a view Glide is targeting" invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_1 const/4 v0, 0x0 :goto_0 return-object v0 .end method .method public j(Landroid/graphics/drawable/Drawable;)V .locals 0 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/CallSuper; .end annotation .line 1 invoke-super {p0, p1}, Lj5/b;->j(Landroid/graphics/drawable/Drawable;)V .line 2 iget-object p1, p0, Lj5/r;->c:Lj5/r$b; invoke-virtual {p1}, Lj5/r$b;->b()V .line 3 iget-boolean p1, p0, Lj5/r;->e:Z if-nez p1, :cond_0 .line 4 invoke-virtual {p0}, Lj5/r;->l()V :cond_0 return-void .end method .method public k(Lj5/o;)V .locals 1 .param p1 # Lj5/o; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/CallSuper; .end annotation .line 1 iget-object v0, p0, Lj5/r;->c:Lj5/r$b; invoke-virtual {v0, p1}, Lj5/r$b;->d(Lj5/o;)V return-void .end method .method public final l()V .locals 2 .line 1 iget-object v0, p0, Lj5/r;->d:Landroid/view/View$OnAttachStateChangeListener; if-eqz v0, :cond_1 iget-boolean v1, p0, Lj5/r;->f:Z if-nez v1, :cond_0 goto :goto_0 .line 2 :cond_0 iget-object v1, p0, Lj5/r;->b:Landroid/view/View; invoke-virtual {v1, v0}, Landroid/view/View;->removeOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V const/4 v0, 0x0 .line 3 iput-boolean v0, p0, Lj5/r;->f:Z :cond_1 :goto_0 return-void .end method .method public m(Lcom/bumptech/glide/request/e;)V .locals 0 .param p1 # Lcom/bumptech/glide/request/e; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 1 invoke-virtual {p0, p1}, Lj5/r;->q(Ljava/lang/Object;)V return-void .end method .method public o()V .locals 2 .line 1 invoke-virtual {p0}, Lj5/r;->i()Lcom/bumptech/glide/request/e; move-result-object v0 if-eqz v0, :cond_0 const/4 v1, 0x1 .line 2 iput-boolean v1, p0, Lj5/r;->e:Z .line 3 invoke-interface {v0}, Lcom/bumptech/glide/request/e;->clear()V const/4 v0, 0x0 .line 4 iput-boolean v0, p0, Lj5/r;->e:Z :cond_0 return-void .end method .method public p()V .locals 2 .line 1 invoke-virtual {p0}, Lj5/r;->i()Lcom/bumptech/glide/request/e; move-result-object v0 if-eqz v0, :cond_0 .line 2 invoke-interface {v0}, Lcom/bumptech/glide/request/e;->e()Z move-result v1 if-eqz v1, :cond_0 .line 3 invoke-interface {v0}, Lcom/bumptech/glide/request/e;->h()V :cond_0 return-void .end method .method public final q(Ljava/lang/Object;)V .locals 2 .param p1 # Ljava/lang/Object; .annotation build Landroidx/annotation/Nullable; .end annotation .end param const/4 v0, 0x1 .line 1 sput-boolean v0, Lj5/r;->h:Z .line 2 iget-object v0, p0, Lj5/r;->b:Landroid/view/View; sget v1, Lj5/r;->i:I invoke-virtual {v0, v1, p1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V return-void .end method .method public final s()Lj5/r; .locals 2 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()", "Lj5/r<", "TT;TZ;>;" } .end annotation .line 1 iget-object v0, p0, Lj5/r;->c:Lj5/r$b; const/4 v1, 0x1 iput-boolean v1, v0, Lj5/r$b;->c:Z return-object p0 .end method .method public toString()Ljava/lang/String; .locals 2 const-string v0, "Target for: " .line 1 invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lj5/r;->b:Landroid/view/View; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method