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.
386 lines
12 KiB
386 lines
12 KiB
.class Lcom/viatech/gallery/PhotoActivity$1; |
|
.super Landroid/os/Handler; |
|
.source "PhotoActivity.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/viatech/gallery/PhotoActivity; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/PhotoActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 188 |
|
iput-object p1, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public handleMessage(Landroid/os/Message;)V |
|
.locals 7 |
|
|
|
.prologue |
|
const-wide/16 v2, 0x1f4 |
|
|
|
const v4, 0x7f0701b0 |
|
|
|
const/4 v1, 0x4 |
|
|
|
const/4 v6, 0x0 |
|
|
|
const/4 v5, 0x1 |
|
|
|
.line 190 |
|
iget v0, p1, Landroid/os/Message;->what:I |
|
|
|
sparse-switch v0, :sswitch_data_0 |
|
|
|
.line 264 |
|
:cond_0 |
|
:goto_0 |
|
return-void |
|
|
|
.line 193 |
|
:sswitch_0 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$000(Lcom/viatech/gallery/PhotoActivity;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 196 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/PhotoActivity;->access$100(Lcom/viatech/gallery/PhotoActivity;Landroid/view/View;)Z |
|
|
|
.line 197 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$200(Lcom/viatech/gallery/PhotoActivity;)Lcom/viatech/camera/animation/BarAnimation; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/animation/BarAnimation;->startOut()V |
|
|
|
.line 198 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$300(Lcom/viatech/gallery/PhotoActivity;)Lcom/viatech/camera/animation/BarAnimation; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/animation/BarAnimation;->startOut()V |
|
|
|
goto :goto_0 |
|
|
|
.line 202 |
|
:sswitch_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$400(Lcom/viatech/gallery/PhotoActivity;)Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 203 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$500(Lcom/viatech/gallery/PhotoActivity;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 204 |
|
invoke-static {v4}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 205 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/PhotoActivity;->access$402(Lcom/viatech/gallery/PhotoActivity;Z)Z |
|
|
|
goto :goto_0 |
|
|
|
.line 210 |
|
:sswitch_2 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$500(Lcom/viatech/gallery/PhotoActivity;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 211 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/PhotoActivity;->access$402(Lcom/viatech/gallery/PhotoActivity;Z)Z |
|
|
|
.line 212 |
|
iget v0, p1, Landroid/os/Message;->arg1:I |
|
|
|
if-nez v0, :cond_1 |
|
|
|
.line 213 |
|
const v0, 0x7f0701b1 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 214 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/PhotoActivity;->finish()V |
|
|
|
goto :goto_0 |
|
|
|
.line 216 |
|
:cond_1 |
|
invoke-static {v4}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 222 |
|
:sswitch_3 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$700(Lcom/viatech/gallery/PhotoActivity;)Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lcom/viatech/util/VPaiPicasso;->localPicasso(Landroid/content/Context;)Lcom/squareup/picasso/Picasso; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v4, "file:// " |
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v4}, Lcom/viatech/gallery/PhotoActivity;->access$600(Lcom/viatech/gallery/PhotoActivity;)Landroid/net/Uri; |
|
|
|
move-result-object v4 |
|
|
|
invoke-virtual {v4}, Landroid/net/Uri;->getPath()Ljava/lang/String; |
|
|
|
move-result-object v4 |
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Lcom/squareup/picasso/Picasso;->invalidate(Ljava/lang/String;)V |
|
|
|
.line 223 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$700(Lcom/viatech/gallery/PhotoActivity;)Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
new-array v1, v5, [Ljava/lang/Object; |
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v4 |
|
|
|
aput-object v4, v1, v6 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/a/b;->a(Landroid/content/Context;[Ljava/lang/Object;)V |
|
|
|
.line 224 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/PhotoActivity;->access$802(Lcom/viatech/gallery/PhotoActivity;Z)Z |
|
|
|
.line 225 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$900(Lcom/viatech/gallery/PhotoActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
const v4, 0x7f070166 |
|
|
|
invoke-virtual {v1, v4}, Lcom/viatech/gallery/PhotoActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 226 |
|
new-instance v0, Lcom/viatech/gallery/PhotoActivity$1$1; |
|
|
|
move-object v1, p0 |
|
|
|
move-wide v4, v2 |
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/viatech/gallery/PhotoActivity$1$1;-><init>(Lcom/viatech/gallery/PhotoActivity$1;JJ)V |
|
|
|
.line 237 |
|
invoke-virtual {v0}, Lcom/viatech/gallery/PhotoActivity$1$1;->start()Landroid/os/CountDownTimer; |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 241 |
|
:sswitch_4 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0, v6}, Lcom/viatech/gallery/PhotoActivity;->access$802(Lcom/viatech/gallery/PhotoActivity;Z)Z |
|
|
|
.line 242 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$900(Lcom/viatech/gallery/PhotoActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
const v2, 0x7f070167 |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/gallery/PhotoActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 243 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$1000(Lcom/viatech/gallery/PhotoActivity;)Landroid/app/AlertDialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 247 |
|
:sswitch_5 |
|
iget v0, p1, Landroid/os/Message;->what:I |
|
|
|
invoke-virtual {p0, v0}, Lcom/viatech/gallery/PhotoActivity$1;->removeMessages(I)V |
|
|
|
.line 248 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Lcom/viatech/Config;->e()I |
|
|
|
move-result v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/PhotoActivity;->access$1200(Lcom/viatech/gallery/PhotoActivity;I)V |
|
|
|
.line 249 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$1300(Lcom/viatech/gallery/PhotoActivity;)Lcom/viatech/camera/adapter/FilterAdapter; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Lcom/viatech/Config;->e()I |
|
|
|
move-result v1 |
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2}, Lcom/viatech/Config;->f()I |
|
|
|
move-result v2 |
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/viatech/camera/adapter/FilterAdapter;->setSelected(II)V |
|
|
|
.line 250 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/PhotoActivity;->access$1400(Lcom/viatech/gallery/PhotoActivity;)Lcom/viatech/camera/adapter/BeautyAdapter; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Lcom/viatech/Config;->f()I |
|
|
|
move-result v1 |
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/camera/adapter/BeautyAdapter;->onSelect(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 254 |
|
:sswitch_6 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
iput-boolean v6, v0, Lcom/viatech/gallery/PhotoActivity;->mIsImageFinished:Z |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 258 |
|
:sswitch_7 |
|
iget-object v0, p0, Lcom/viatech/gallery/PhotoActivity$1;->this$0:Lcom/viatech/gallery/PhotoActivity; |
|
|
|
iput-boolean v5, v0, Lcom/viatech/gallery/PhotoActivity;->mIsImageFinished:Z |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 190 |
|
nop |
|
|
|
:sswitch_data_0 |
|
.sparse-switch |
|
0x115 -> :sswitch_1 |
|
0x116 -> :sswitch_2 |
|
0x117 -> :sswitch_3 |
|
0x120 -> :sswitch_4 |
|
0x121 -> :sswitch_5 |
|
0x122 -> :sswitch_7 |
|
0x123 -> :sswitch_6 |
|
0x1004 -> :sswitch_0 |
|
.end sparse-switch |
|
.end method
|
|
|