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.
176 lines
5.7 KiB
176 lines
5.7 KiB
.class Lcom/viatech/gallery/EditVideoActivity$2; |
|
.super Ljava/lang/Object; |
|
.source "EditVideoActivity.java" |
|
|
|
# interfaces |
|
.implements Landroid/widget/AdapterView$OnItemClickListener; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/gallery/EditVideoActivity;->onCreate(Landroid/os/Bundle;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/EditVideoActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 196 |
|
iput-object p1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V |
|
.locals 4 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Landroid/widget/AdapterView", |
|
"<*>;", |
|
"Landroid/view/View;", |
|
"IJ)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
const/4 v3, 0x1 |
|
|
|
.line 200 |
|
if-ne p3, v3, :cond_0 |
|
|
|
.line 210 |
|
new-instance v0, Landroid/content/Intent; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
const-class v2, Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V |
|
|
|
.line 211 |
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
const/16 v2, 0x64 |
|
|
|
invoke-virtual {v1, v0, v2}, Lcom/viatech/gallery/EditVideoActivity;->startActivityForResult(Landroid/content/Intent;I)V |
|
|
|
.line 227 |
|
:goto_0 |
|
return-void |
|
|
|
.line 213 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$200(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/MusicItemAdaper; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, p3}, Lcom/viatech/gallery/MusicItemAdaper;->getItem(I)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/viatech/gallery/AudioFile; |
|
|
|
.line 214 |
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/EditVideoActivity;->access$200(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/MusicItemAdaper; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/AudioFile;->getAbsolutePath()Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/gallery/MusicItemAdaper;->setCurrent(Ljava/lang/String;)V |
|
|
|
.line 216 |
|
if-ne p3, v3, :cond_1 |
|
|
|
.line 217 |
|
iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/gallery/EditVideoActivity;->access$302(Lcom/viatech/gallery/EditVideoActivity;Z)Z |
|
|
|
.line 218 |
|
iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/EditVideoActivity;->access$402(Lcom/viatech/gallery/EditVideoActivity;Lcom/viatech/gallery/AudioFile;)Lcom/viatech/gallery/AudioFile; |
|
|
|
.line 224 |
|
:goto_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/EditVideoActivity;->access$400(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/EditVideoActivity;->access$500(Lcom/viatech/gallery/EditVideoActivity;Lcom/viatech/gallery/AudioFile;)V |
|
|
|
.line 225 |
|
const-string v0, "EditVideoActivity" |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "mMixAudioFile = " |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$400(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
goto :goto_0 |
|
|
|
.line 220 |
|
:cond_1 |
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
const/4 v2, 0x0 |
|
|
|
invoke-static {v1, v2}, Lcom/viatech/gallery/EditVideoActivity;->access$302(Lcom/viatech/gallery/EditVideoActivity;Z)Z |
|
|
|
.line 221 |
|
iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$2;->this$0:Lcom/viatech/gallery/EditVideoActivity; |
|
|
|
invoke-static {v1, v0}, Lcom/viatech/gallery/EditVideoActivity;->access$402(Lcom/viatech/gallery/EditVideoActivity;Lcom/viatech/gallery/AudioFile;)Lcom/viatech/gallery/AudioFile; |
|
|
|
goto :goto_1 |
|
.end method
|
|
|