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.
250 lines
8.4 KiB
250 lines
8.4 KiB
.class Lcom/viatech/vpaiphoto/VPaiVideoView$10$1; |
|
.super Ljava/lang/Object; |
|
.source "VPaiVideoView.java" |
|
|
|
# interfaces |
|
.implements Ljava/lang/Runnable; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/vpaiphoto/VPaiVideoView$10;->onClick(Landroid/content/DialogInterface;I)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/vpaiphoto/VPaiVideoView$10;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 2004 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public run()V |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v3, 0x4 |
|
|
|
const/4 v1, 0x0 |
|
|
|
.line 2007 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->e(Lcom/viatech/vpaiphoto/VPaiVideoView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 2008 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->x(Lcom/viatech/vpaiphoto/VPaiVideoView;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 2009 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v1, v1, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v1}, Lcom/viatech/vpaiphoto/VPaiVideoView;->p(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/viatech/gallery/FileInfo; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/cloud/CloudService;->startDeleteFile(Landroid/content/Context;Lcom/viatech/gallery/FileInfo;)V |
|
|
|
.line 2030 |
|
:goto_0 |
|
return-void |
|
|
|
.line 2010 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->j(Lcom/viatech/vpaiphoto/VPaiVideoView;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_2 |
|
|
|
.line 2011 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->B(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/viatech/VrPlayer/VrMediaPlayer; |
|
|
|
move-result-object v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 2012 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->B(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/viatech/VrPlayer/VrMediaPlayer; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/VrPlayer/VrMediaPlayer;->stop()V |
|
|
|
.line 2014 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/vpaiphoto/VPaiVideoView;->a(Lcom/viatech/vpaiphoto/VPaiVideoView;Z)Z |
|
|
|
.line 2015 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->E(Lcom/viatech/vpaiphoto/VPaiVideoView;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 2017 |
|
:cond_2 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->q(Lcom/viatech/vpaiphoto/VPaiVideoView;)Landroid/net/Uri; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "file://" |
|
|
|
const-string v2, "" |
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 2018 |
|
new-instance v1, Ljava/io/File; |
|
|
|
invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V |
|
|
|
.line 2019 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/vpaiphoto/VPaiVideoView;->a(Lcom/viatech/vpaiphoto/VPaiVideoView;Ljava/io/File;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_3 |
|
|
|
.line 2020 |
|
const v0, 0x7f0701b1 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 2021 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->e(Lcom/viatech/vpaiphoto/VPaiVideoView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 2022 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->F(Lcom/viatech/vpaiphoto/VPaiVideoView;)Landroid/app/Activity; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent; |
|
|
|
move-result-object v0 |
|
|
|
.line 2023 |
|
const-string v1, "delete_file" |
|
|
|
iget-object v2, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v2, v2, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v2}, Lcom/viatech/vpaiphoto/VPaiVideoView;->p(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/viatech/gallery/FileInfo; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent; |
|
|
|
.line 2024 |
|
iget-object v1, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v1, v1, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v1, v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->a(Lcom/viatech/vpaiphoto/VPaiVideoView;Landroid/content/Intent;)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 2026 |
|
:cond_3 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$10$1;->a:Lcom/viatech/vpaiphoto/VPaiVideoView$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/vpaiphoto/VPaiVideoView$10;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->e(Lcom/viatech/vpaiphoto/VPaiVideoView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 2027 |
|
const v0, 0x7f0701b0 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto/16 :goto_0 |
|
.end method
|
|
|