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.
134 lines
2.9 KiB
134 lines
2.9 KiB
2 years ago
|
.class Lcom/squareup/picasso/FetchAction;
|
||
|
.super Lcom/squareup/picasso/Action;
|
||
|
.source "FetchAction.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lcom/squareup/picasso/Action",
|
||
|
"<",
|
||
|
"Ljava/lang/Object;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
.field private final target:Ljava/lang/Object;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/squareup/picasso/Picasso;Lcom/squareup/picasso/Request;IILjava/lang/Object;Ljava/lang/String;Lcom/squareup/picasso/Callback;)V
|
||
|
.locals 12
|
||
|
|
||
|
.prologue
|
||
|
.line 27
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
const/4 v11, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move-object v4, p2
|
||
|
|
||
|
move v5, p3
|
||
|
|
||
|
move/from16 v6, p4
|
||
|
|
||
|
move-object/from16 v9, p6
|
||
|
|
||
|
move-object/from16 v10, p5
|
||
|
|
||
|
invoke-direct/range {v1 .. v11}, Lcom/squareup/picasso/Action;-><init>(Lcom/squareup/picasso/Picasso;Ljava/lang/Object;Lcom/squareup/picasso/Request;IIILandroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;Z)V
|
||
|
|
||
|
.line 28
|
||
|
new-instance v1, Ljava/lang/Object;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object v1, p0, Lcom/squareup/picasso/FetchAction;->target:Ljava/lang/Object;
|
||
|
|
||
|
.line 29
|
||
|
move-object/from16 v0, p7
|
||
|
|
||
|
iput-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
.line 30
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method cancel()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 45
|
||
|
invoke-super {p0}, Lcom/squareup/picasso/Action;->cancel()V
|
||
|
|
||
|
.line 46
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
.line 47
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method complete(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 33
|
||
|
iget-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 34
|
||
|
iget-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/squareup/picasso/Callback;->onSuccess()V
|
||
|
|
||
|
.line 36
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method error()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 39
|
||
|
iget-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 40
|
||
|
iget-object v0, p0, Lcom/squareup/picasso/FetchAction;->callback:Lcom/squareup/picasso/Callback;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/squareup/picasso/Callback;->onError()V
|
||
|
|
||
|
.line 42
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method getTarget()Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 50
|
||
|
iget-object v0, p0, Lcom/squareup/picasso/FetchAction;->target:Ljava/lang/Object;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|