You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
190 lines
4.3 KiB
190 lines
4.3 KiB
2 years ago
|
.class final Lcom/squareup/picasso/Picasso$1;
|
||
|
.super Landroid/os/Handler;
|
||
|
.source "Picasso.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/squareup/picasso/Picasso;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroid/os/Looper;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 109
|
||
|
invoke-direct {p0, p1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public handleMessage(Landroid/os/Message;)V
|
||
|
.locals 5
|
||
|
|
||
|
.prologue
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 111
|
||
|
iget v0, p1, Landroid/os/Message;->what:I
|
||
|
|
||
|
sparse-switch v0, :sswitch_data_0
|
||
|
|
||
|
.line 138
|
||
|
new-instance v0, Ljava/lang/AssertionError;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "Unknown handler message received: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget v2, p1, Landroid/os/Message;->what:I
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
.line 113
|
||
|
:sswitch_0
|
||
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
.line 115
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v2, v3, :cond_1
|
||
|
|
||
|
.line 116
|
||
|
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lcom/squareup/picasso/BitmapHunter;
|
||
|
|
||
|
.line 117
|
||
|
iget-object v4, v1, Lcom/squareup/picasso/BitmapHunter;->picasso:Lcom/squareup/picasso/Picasso;
|
||
|
|
||
|
invoke-virtual {v4, v1}, Lcom/squareup/picasso/Picasso;->complete(Lcom/squareup/picasso/BitmapHunter;)V
|
||
|
|
||
|
.line 115
|
||
|
add-int/lit8 v1, v2, 0x1
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 122
|
||
|
:sswitch_1
|
||
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Lcom/squareup/picasso/Action;
|
||
|
|
||
|
.line 123
|
||
|
invoke-virtual {v0}, Lcom/squareup/picasso/Action;->getPicasso()Lcom/squareup/picasso/Picasso;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget-boolean v1, v1, Lcom/squareup/picasso/Picasso;->loggingEnabled:Z
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 124
|
||
|
const-string v1, "Main"
|
||
|
|
||
|
const-string v2, "canceled"
|
||
|
|
||
|
iget-object v3, v0, Lcom/squareup/picasso/Action;->request:Lcom/squareup/picasso/Request;
|
||
|
|
||
|
invoke-virtual {v3}, Lcom/squareup/picasso/Request;->logId()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
const-string v4, "target got garbage collected"
|
||
|
|
||
|
invoke-static {v1, v2, v3, v4}, Lcom/squareup/picasso/Utils;->log(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
.line 126
|
||
|
:cond_0
|
||
|
iget-object v1, v0, Lcom/squareup/picasso/Action;->picasso:Lcom/squareup/picasso/Picasso;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/squareup/picasso/Action;->getTarget()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v1, v0}, Lcom/squareup/picasso/Picasso;->access$000(Lcom/squareup/picasso/Picasso;Ljava/lang/Object;)V
|
||
|
|
||
|
.line 140
|
||
|
:cond_1
|
||
|
return-void
|
||
|
|
||
|
.line 130
|
||
|
:sswitch_2
|
||
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
.line 132
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
:goto_1
|
||
|
if-ge v2, v3, :cond_1
|
||
|
|
||
|
.line 133
|
||
|
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lcom/squareup/picasso/Action;
|
||
|
|
||
|
.line 134
|
||
|
iget-object v4, v1, Lcom/squareup/picasso/Action;->picasso:Lcom/squareup/picasso/Picasso;
|
||
|
|
||
|
invoke-virtual {v4, v1}, Lcom/squareup/picasso/Picasso;->resumeAction(Lcom/squareup/picasso/Action;)V
|
||
|
|
||
|
.line 132
|
||
|
add-int/lit8 v1, v2, 0x1
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 111
|
||
|
:sswitch_data_0
|
||
|
.sparse-switch
|
||
|
0x3 -> :sswitch_1
|
||
|
0x8 -> :sswitch_0
|
||
|
0xd -> :sswitch_2
|
||
|
.end sparse-switch
|
||
|
.end method
|