100 lines
2.6 KiB
Smali
100 lines
2.6 KiB
Smali
.class public Lcom/moji/camera/model/GalleryOptions$Builder;
|
|
.super Ljava/lang/Object;
|
|
.source "GalleryOptions.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/camera/model/GalleryOptions;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 44
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 45
|
|
new-instance v0, Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/moji/camera/model/GalleryOptions;-><init>(Lcom/moji/camera/model/GalleryOptions$1;)V
|
|
|
|
iput-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)Lcom/moji/camera/model/GalleryOptions$Builder;
|
|
.locals 1
|
|
|
|
.line 59
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/camera/model/GalleryOptions;->setLimit(I)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Z)Lcom/moji/camera/model/GalleryOptions$Builder;
|
|
.locals 1
|
|
|
|
.line 49
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/camera/model/GalleryOptions;->setSingle(Z)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a()Lcom/moji/camera/model/GalleryOptions;
|
|
.locals 2
|
|
|
|
.line 64
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/camera/model/GalleryOptions;->getSingle()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 65
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/camera/model/GalleryOptions;->setLimit(I)V
|
|
|
|
.line 67
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b(Z)Lcom/moji/camera/model/GalleryOptions$Builder;
|
|
.locals 1
|
|
|
|
.line 54
|
|
iget-object v0, p0, Lcom/moji/camera/model/GalleryOptions$Builder;->a:Lcom/moji/camera/model/GalleryOptions;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/camera/model/GalleryOptions;->useGallery(Z)V
|
|
|
|
return-object p0
|
|
.end method
|