今奥全景相机
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.

289 lines
7.0 KiB

.class public final Lcom/squareup/picasso/RequestHandler$Result;
.super Ljava/lang/Object;
.source "RequestHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/squareup/picasso/RequestHandler;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Result"
.end annotation
# instance fields
.field private final bitmap:Landroid/graphics/Bitmap;
.field private final exifOrientation:I
.field private final loadedFrom:Lcom/squareup/picasso/Picasso$LoadedFrom;
.field private final response:Lcom/squareup/picasso/Downloader$Response;
.field private final stream:Ljava/io/InputStream;
# direct methods
.method public constructor <init>(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;)V
.locals 6
.prologue
const/4 v2, 0x0
.line 60
const-string v0, "bitmap == null"
invoke-static {p1, v0}, Lcom/squareup/picasso/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/graphics/Bitmap;
const/4 v4, 0x0
move-object v0, p0
move-object v3, p2
move-object v5, v2
invoke-direct/range {v0 .. v5}, Lcom/squareup/picasso/RequestHandler$Result;-><init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.line 61
return-void
.end method
.method public constructor <init>(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;Lcom/squareup/picasso/Downloader$Response;)V
.locals 6
.prologue
.line 64
const-string v0, "bitmap == null"
invoke-static {p1, v0}, Lcom/squareup/picasso/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/graphics/Bitmap;
const/4 v2, 0x0
const/4 v4, 0x0
move-object v0, p0
move-object v3, p2
move-object v5, p3
invoke-direct/range {v0 .. v5}, Lcom/squareup/picasso/RequestHandler$Result;-><init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.line 65
return-void
.end method
.method constructor <init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;I)V
.locals 6
.prologue
.line 76
const/4 v4, 0x0
const/4 v5, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
invoke-direct/range {v0 .. v5}, Lcom/squareup/picasso/RequestHandler$Result;-><init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.line 77
return-void
.end method
.method constructor <init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.locals 3
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 79
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 80
if-eqz p1, :cond_0
move v2, v0
:goto_0
if-eqz p2, :cond_1
:goto_1
xor-int/2addr v0, v2
if-nez v0, :cond_2
.line 81
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:cond_0
move v2, v1
.line 80
goto :goto_0
:cond_1
move v0, v1
goto :goto_1
.line 83
:cond_2
iput-object p1, p0, Lcom/squareup/picasso/RequestHandler$Result;->bitmap:Landroid/graphics/Bitmap;
.line 84
iput-object p2, p0, Lcom/squareup/picasso/RequestHandler$Result;->stream:Ljava/io/InputStream;
.line 85
const-string v0, "loadedFrom == null"
invoke-static {p3, v0}, Lcom/squareup/picasso/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/squareup/picasso/Picasso$LoadedFrom;
iput-object v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->loadedFrom:Lcom/squareup/picasso/Picasso$LoadedFrom;
.line 86
iput p4, p0, Lcom/squareup/picasso/RequestHandler$Result;->exifOrientation:I
.line 87
iput-object p5, p0, Lcom/squareup/picasso/RequestHandler$Result;->response:Lcom/squareup/picasso/Downloader$Response;
.line 88
return-void
.end method
.method public constructor <init>(Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;)V
.locals 6
.prologue
const/4 v1, 0x0
.line 68
const-string v0, "stream == null"
invoke-static {p1, v0}, Lcom/squareup/picasso/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/io/InputStream;
const/4 v4, 0x0
move-object v0, p0
move-object v3, p2
move-object v5, v1
invoke-direct/range {v0 .. v5}, Lcom/squareup/picasso/RequestHandler$Result;-><init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.line 69
return-void
.end method
.method public constructor <init>(Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;Lcom/squareup/picasso/Downloader$Response;)V
.locals 6
.prologue
.line 72
const/4 v1, 0x0
const-string v0, "stream == null"
invoke-static {p1, v0}, Lcom/squareup/picasso/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/io/InputStream;
const/4 v4, 0x0
move-object v0, p0
move-object v3, p2
move-object v5, p3
invoke-direct/range {v0 .. v5}, Lcom/squareup/picasso/RequestHandler$Result;-><init>(Landroid/graphics/Bitmap;Ljava/io/InputStream;Lcom/squareup/picasso/Picasso$LoadedFrom;ILcom/squareup/picasso/Downloader$Response;)V
.line 73
return-void
.end method
# virtual methods
.method public getBitmap()Landroid/graphics/Bitmap;
.locals 1
.prologue
.line 97
iget-object v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->bitmap:Landroid/graphics/Bitmap;
return-object v0
.end method
.method getExifOrientation()I
.locals 1
.prologue
.line 118
iget v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->exifOrientation:I
return v0
.end method
.method public getLoadedFrom()Lcom/squareup/picasso/Picasso$LoadedFrom;
.locals 1
.prologue
.line 110
iget-object v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->loadedFrom:Lcom/squareup/picasso/Picasso$LoadedFrom;
return-object v0
.end method
.method public getResponse()Lcom/squareup/picasso/Downloader$Response;
.locals 1
.prologue
.line 91
iget-object v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->response:Lcom/squareup/picasso/Downloader$Response;
return-object v0
.end method
.method public getStream()Ljava/io/InputStream;
.locals 1
.prologue
.line 102
iget-object v0, p0, Lcom/squareup/picasso/RequestHandler$Result;->stream:Ljava/io/InputStream;
return-object v0
.end method