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

149 lines
3.9 KiB

.class public Lcom/facebook/internal/ImageRequest$Builder;
.super Ljava/lang/Object;
.source "ImageRequest.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/internal/ImageRequest;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
# instance fields
.field private allowCachedRedirects:Z
.field private callback:Lcom/facebook/internal/ImageRequest$Callback;
.field private callerTag:Ljava/lang/Object;
.field private context:Landroid/content/Context;
.field private imageUrl:Landroid/net/Uri;
# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/net/Uri;)V
.locals 1
.prologue
.line 131
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 132
const-string v0, "imageUri"
invoke-static {p2, v0}, Lcom/facebook/internal/Validate;->notNull(Ljava/lang/Object;Ljava/lang/String;)V
.line 133
iput-object p1, p0, Lcom/facebook/internal/ImageRequest$Builder;->context:Landroid/content/Context;
.line 134
iput-object p2, p0, Lcom/facebook/internal/ImageRequest$Builder;->imageUrl:Landroid/net/Uri;
.line 135
return-void
.end method
.method static synthetic access$000(Lcom/facebook/internal/ImageRequest$Builder;)Landroid/content/Context;
.locals 1
.prologue
.line 121
iget-object v0, p0, Lcom/facebook/internal/ImageRequest$Builder;->context:Landroid/content/Context;
return-object v0
.end method
.method static synthetic access$100(Lcom/facebook/internal/ImageRequest$Builder;)Landroid/net/Uri;
.locals 1
.prologue
.line 121
iget-object v0, p0, Lcom/facebook/internal/ImageRequest$Builder;->imageUrl:Landroid/net/Uri;
return-object v0
.end method
.method static synthetic access$200(Lcom/facebook/internal/ImageRequest$Builder;)Lcom/facebook/internal/ImageRequest$Callback;
.locals 1
.prologue
.line 121
iget-object v0, p0, Lcom/facebook/internal/ImageRequest$Builder;->callback:Lcom/facebook/internal/ImageRequest$Callback;
return-object v0
.end method
.method static synthetic access$300(Lcom/facebook/internal/ImageRequest$Builder;)Z
.locals 1
.prologue
.line 121
iget-boolean v0, p0, Lcom/facebook/internal/ImageRequest$Builder;->allowCachedRedirects:Z
return v0
.end method
.method static synthetic access$400(Lcom/facebook/internal/ImageRequest$Builder;)Ljava/lang/Object;
.locals 1
.prologue
.line 121
iget-object v0, p0, Lcom/facebook/internal/ImageRequest$Builder;->callerTag:Ljava/lang/Object;
return-object v0
.end method
# virtual methods
.method public build()Lcom/facebook/internal/ImageRequest;
.locals 2
.prologue
.line 153
new-instance v0, Lcom/facebook/internal/ImageRequest;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/internal/ImageRequest;-><init>(Lcom/facebook/internal/ImageRequest$Builder;Lcom/facebook/internal/ImageRequest$1;)V
return-object v0
.end method
.method public setAllowCachedRedirects(Z)Lcom/facebook/internal/ImageRequest$Builder;
.locals 0
.prologue
.line 148
iput-boolean p1, p0, Lcom/facebook/internal/ImageRequest$Builder;->allowCachedRedirects:Z
.line 149
return-object p0
.end method
.method public setCallback(Lcom/facebook/internal/ImageRequest$Callback;)Lcom/facebook/internal/ImageRequest$Builder;
.locals 0
.prologue
.line 138
iput-object p1, p0, Lcom/facebook/internal/ImageRequest$Builder;->callback:Lcom/facebook/internal/ImageRequest$Callback;
.line 139
return-object p0
.end method
.method public setCallerTag(Ljava/lang/Object;)Lcom/facebook/internal/ImageRequest$Builder;
.locals 0
.prologue
.line 143
iput-object p1, p0, Lcom/facebook/internal/ImageRequest$Builder;->callerTag:Ljava/lang/Object;
.line 144
return-object p0
.end method