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.
1217 lines
32 KiB
1217 lines
32 KiB
.class public Lcom/viatech/vpaiphoto/VPaiPhotoView; |
|
.super Landroid/widget/FrameLayout; |
|
.source "VPaiPhotoView.java" |
|
|
|
# interfaces |
|
.implements Lcom/squareup/picasso/Target; |
|
.implements Lcom/via/vpailib/vpaiinterface/IGestureListener; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/viatech/vpaiphoto/VPaiPhotoView$b;, |
|
Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
} |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final b:Ljava/lang/String; |
|
|
|
|
|
# instance fields |
|
.field public a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.field private c:Ljava/lang/String; |
|
|
|
.field private d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
.field private e:I |
|
|
|
.field private f:Z |
|
|
|
.field private g:Z |
|
|
|
.field private h:Z |
|
|
|
.field private i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
.field private j:Landroid/widget/TextView; |
|
|
|
.field private k:Landroid/widget/RelativeLayout; |
|
|
|
.field private l:Landroid/os/Handler; |
|
|
|
.field private m:Ljava/io/File; |
|
|
|
.field private n:Landroid/view/View$OnClickListener; |
|
|
|
.field private o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
|
|
# direct methods |
|
.method static constructor <clinit>()V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 45 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v1, "Vpai_" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-class v1, Lcom/viatech/vpaiphoto/VPaiPhotoView; |
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
sput-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
return-void |
|
.end method |
|
|
|
.method public constructor <init>(Landroid/content/Context;)V |
|
.locals 2 |
|
|
|
.prologue |
|
const/4 v1, 0x1 |
|
|
|
.line 76 |
|
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V |
|
|
|
.line 50 |
|
const/4 v0, 0x0 |
|
|
|
iput-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
.line 51 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g:Z |
|
|
|
.line 52 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
.line 58 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->c:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.line 77 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g()V |
|
|
|
.line 78 |
|
return-void |
|
.end method |
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
|
.locals 2 |
|
|
|
.prologue |
|
const/4 v1, 0x1 |
|
|
|
.line 81 |
|
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
|
|
|
.line 50 |
|
const/4 v0, 0x0 |
|
|
|
iput-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
.line 51 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g:Z |
|
|
|
.line 52 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
.line 58 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->c:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.line 82 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g()V |
|
|
|
.line 83 |
|
return-void |
|
.end method |
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
|
.locals 2 |
|
|
|
.prologue |
|
const/4 v1, 0x1 |
|
|
|
.line 86 |
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
|
|
|
.line 50 |
|
const/4 v0, 0x0 |
|
|
|
iput-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
.line 51 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g:Z |
|
|
|
.line 52 |
|
iput-boolean v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
.line 58 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->c:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.line 87 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g()V |
|
|
|
.line 88 |
|
return-void |
|
.end method |
|
|
|
.method static synthetic a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static synthetic b(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Landroid/os/Handler; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->l:Landroid/os/Handler; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static synthetic c(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
iget-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
return v0 |
|
.end method |
|
|
|
.method static synthetic d(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Ljava/io/File; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->m:Ljava/io/File; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static synthetic e(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 44 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i()V |
|
|
|
return-void |
|
.end method |
|
|
|
.method static synthetic f()Ljava/lang/String; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method private g()V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 92 |
|
const/4 v0, 0x1 |
|
|
|
invoke-virtual {p0, v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->setKeepScreenOn(Z)V |
|
|
|
.line 93 |
|
invoke-virtual {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "layout_inflater" |
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/view/LayoutInflater; |
|
|
|
.line 94 |
|
const v1, 0x7f0300b7 |
|
|
|
invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; |
|
|
|
move-result-object v1 |
|
|
|
.line 95 |
|
const v0, 0x7f0c0271 |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/viatech/community/views/ProgressWheel; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
.line 96 |
|
const v0, 0x7f0c0272 |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/widget/TextView; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
.line 98 |
|
const v0, 0x7f0c02dc |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/widget/RelativeLayout; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->k:Landroid/widget/RelativeLayout; |
|
|
|
.line 99 |
|
const v0, 0x7f0c02db |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
.line 100 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->k:Landroid/widget/RelativeLayout; |
|
|
|
new-instance v1, Lcom/viatech/vpaiphoto/VPaiPhotoView$1; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView$1;-><init>(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V |
|
|
|
.line 106 |
|
return-void |
|
.end method |
|
|
|
.method private h()V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 125 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
new-instance v1, Lcom/viatech/vpaiphoto/VPaiPhotoView$2; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;-><init>(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
|
|
invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setSurfaceTextureListener(Landroid/view/TextureView$SurfaceTextureListener;)V |
|
|
|
.line 153 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
new-instance v1, Lcom/viatech/vpaiphoto/VPaiPhotoView$3; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView$3;-><init>(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
|
|
invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setOnPrepareMediaCallback(Lcom/via/vpailib/vpaiinterface/IOnPrepareMediaCallback;)V |
|
|
|
.line 172 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
invoke-virtual {v0, p0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setOnGestureListener(Lcom/via/vpailib/vpaiinterface/IGestureListener;)V |
|
|
|
.line 174 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
new-instance v1, Lcom/viatech/vpaiphoto/VPaiPhotoView$4; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView$4;-><init>(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
|
|
invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setSaveFileListener(Lcom/via/vpailib/vpaiinterface/ISaveFileListener;)V |
|
|
|
.line 189 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
new-instance v1, Lcom/viatech/vpaiphoto/VPaiPhotoView$5; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView$5;-><init>(Lcom/viatech/vpaiphoto/VPaiPhotoView;)V |
|
|
|
invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setImageListener(Lcom/via/vpailib/vpaiinterface/ILoadImageListener;)V |
|
|
|
.line 204 |
|
return-void |
|
.end method |
|
|
|
.method private i()V |
|
.locals 6 |
|
|
|
.prologue |
|
const/4 v5, 0x0 |
|
|
|
.line 211 |
|
invoke-virtual {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
sget-object v1, Lcom/viatech/Config;->b:Ljava/lang/String; |
|
|
|
invoke-static {v0, v1}, Lcom/via/vpailib/database/FilterData;->getInstance(Landroid/content/Context;Ljava/lang/String;)Lcom/via/vpailib/database/FilterData; |
|
|
|
move-result-object v3 |
|
|
|
.line 212 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->m:Ljava/io/File; |
|
|
|
invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
.line 214 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/Config;->a(Ljava/lang/String;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_3 |
|
|
|
.line 215 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I |
|
|
|
move-result v2 |
|
|
|
add-int/lit8 v2, v2, -0x8 |
|
|
|
invoke-virtual {v1, v5, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v2, ".jpg" |
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 217 |
|
:goto_0 |
|
new-instance v2, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v2, ".original" |
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
.line 218 |
|
invoke-virtual {v3, v2}, Lcom/via/vpailib/database/FilterData;->query(Ljava/lang/String;)Ljava/util/List; |
|
|
|
move-result-object v3 |
|
|
|
.line 220 |
|
iget-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 221 |
|
invoke-interface {v3}, Ljava/util/List;->size()I |
|
|
|
move-result v0 |
|
|
|
if-lez v0, :cond_2 |
|
|
|
.line 222 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v4 |
|
|
|
invoke-interface {v3, v5}, Ljava/util/List;->get(I)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/lang/Integer; |
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I |
|
|
|
move-result v0 |
|
|
|
invoke-virtual {v4, v0}, Lcom/viatech/Config;->d(I)V |
|
|
|
.line 223 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v4 |
|
|
|
const/4 v0, 0x1 |
|
|
|
invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/lang/Integer; |
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I |
|
|
|
move-result v0 |
|
|
|
invoke-virtual {v4, v0}, Lcom/viatech/Config;->e(I)V |
|
|
|
.line 230 |
|
:cond_0 |
|
:goto_1 |
|
new-instance v0, Ljava/io/File; |
|
|
|
invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V |
|
|
|
.line 231 |
|
iget-boolean v3, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
if-nez v3, :cond_1 |
|
|
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
move-object v1, v2 |
|
|
|
.line 234 |
|
:cond_1 |
|
iget-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
invoke-virtual {p0, v1, v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Ljava/lang/String;Z)V |
|
|
|
.line 235 |
|
return-void |
|
|
|
.line 225 |
|
:cond_2 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Lcom/viatech/Config;->d(I)V |
|
|
|
.line 226 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Lcom/viatech/Config;->e(I)V |
|
|
|
goto :goto_1 |
|
|
|
:cond_3 |
|
move-object v0, v1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public a()V |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v2, 0x0 |
|
|
|
.line 238 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->k:Landroid/widget/RelativeLayout; |
|
|
|
const/16 v1, 0x8 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V |
|
|
|
.line 239 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 240 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/community/views/ProgressWheel;->setVisibility(I)V |
|
|
|
.line 242 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->c:Ljava/lang/String; |
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 243 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->c:Ljava/lang/String; |
|
|
|
invoke-virtual {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
iget-object v3, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
invoke-static {v0, p0, v1, v2, v3}, Lcom/viatech/vpaiphoto/a/c;->a(Ljava/lang/String;Lcom/squareup/picasso/Target;Landroid/content/Context;Lcom/viatech/community/views/ProgressWheel;Landroid/widget/TextView;)V |
|
|
|
.line 245 |
|
:cond_0 |
|
return-void |
|
.end method |
|
|
|
.method public a(Ljava/io/File;Landroid/os/Handler;)V |
|
.locals 4 |
|
|
|
.prologue |
|
const/16 v3, 0x8 |
|
|
|
.line 116 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "VPaiPhotoView:file:" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->toString()Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, 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-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 117 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->m:Ljava/io/File; |
|
|
|
.line 118 |
|
iput-object p2, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->l:Landroid/os/Handler; |
|
|
|
.line 119 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 120 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
invoke-virtual {v0, v3}, Lcom/viatech/community/views/ProgressWheel;->setVisibility(I)V |
|
|
|
.line 121 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h()V |
|
|
|
.line 122 |
|
return-void |
|
.end method |
|
|
|
.method public a(Ljava/lang/String;Landroid/os/Handler;)V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 109 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "VPaiPhotoView:url:" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, p1}, 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-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 110 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->c:Ljava/lang/String; |
|
|
|
.line 111 |
|
iput-object p2, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->l:Landroid/os/Handler; |
|
|
|
.line 112 |
|
invoke-direct {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h()V |
|
|
|
.line 113 |
|
return-void |
|
.end method |
|
|
|
.method public a(Ljava/lang/String;Z)V |
|
.locals 3 |
|
|
|
.prologue |
|
const/16 v1, 0x121 |
|
|
|
.line 248 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->l:Landroid/os/Handler; |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 249 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->l:Landroid/os/Handler; |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z |
|
|
|
.line 250 |
|
if-eqz p2, :cond_2 |
|
|
|
.line 252 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "--------loadImage() mFilePath=" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, p1}, 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-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 253 |
|
if-nez p1, :cond_0 |
|
|
|
.line 264 |
|
:goto_0 |
|
return-void |
|
|
|
.line 254 |
|
:cond_0 |
|
const/4 v0, -0x1 |
|
|
|
const v1, 0x7fffffff |
|
|
|
invoke-static {v0, v1, p1}, Lcom/via/vpailib/vpaiinterface/Utils;->makeBitmap(IILjava/lang/String;)Landroid/graphics/Bitmap; |
|
|
|
move-result-object v0 |
|
|
|
.line 255 |
|
if-nez v0, :cond_1 |
|
|
|
.line 256 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
const-string v1, "--------loadImage() bitmap == null" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
goto :goto_0 |
|
|
|
.line 259 |
|
:cond_1 |
|
iget-object v1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
invoke-virtual {v1, v0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->asPhoto(Landroid/graphics/Bitmap;)V |
|
|
|
.line 260 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
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/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setLogoMode(II)V |
|
|
|
goto :goto_0 |
|
|
|
.line 262 |
|
:cond_2 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
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, p1, v1, v2}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->asPhoto(Ljava/lang/String;II)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public b()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 340 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 341 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->onDestroy()V |
|
|
|
.line 343 |
|
:cond_0 |
|
return-void |
|
.end method |
|
|
|
.method public c()V |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v2, 0x0 |
|
|
|
.line 349 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
const-string v1, "onResume()" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 350 |
|
iput-boolean v2, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
.line 352 |
|
iget-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g:Z |
|
|
|
if-nez v0, :cond_0 |
|
|
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->m:Ljava/io/File; |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 353 |
|
invoke-virtual {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a()V |
|
|
|
.line 355 |
|
:cond_0 |
|
iput-boolean v2, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->g:Z |
|
|
|
.line 356 |
|
return-void |
|
.end method |
|
|
|
.method public d()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 359 |
|
const/4 v0, 0x0 |
|
|
|
iput-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->h:Z |
|
|
|
.line 360 |
|
return-void |
|
.end method |
|
|
|
.method public e()V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 366 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
const-string v1, "onPause()" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 367 |
|
const/4 v0, 0x1 |
|
|
|
iput-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
.line 368 |
|
return-void |
|
.end method |
|
|
|
.method public getMediaPlayer()Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 68 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public getPhotoLoadStatus()Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 376 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public onBitmapFailed(Landroid/graphics/drawable/Drawable;)V |
|
.locals 3 |
|
|
|
.prologue |
|
const/16 v2, 0x8 |
|
|
|
.line 308 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->k:Landroid/widget/RelativeLayout; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V |
|
|
|
.line 309 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 310 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/community/views/ProgressWheel;->setVisibility(I)V |
|
|
|
.line 311 |
|
invoke-virtual {p0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lcom/viatech/util/Util;->isNetworkAvailable(Landroid/content/Context;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 313 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->b:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.line 318 |
|
:goto_0 |
|
return-void |
|
|
|
.line 315 |
|
:cond_0 |
|
const v0, 0x7f0700a2 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 316 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->d:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public onBitmapLoaded(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;)V |
|
.locals 3 |
|
|
|
.prologue |
|
const/16 v1, 0x8 |
|
|
|
.line 288 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->j:Landroid/widget/TextView; |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 289 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->i:Lcom/viatech/community/views/ProgressWheel; |
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/community/views/ProgressWheel;->setVisibility(I)V |
|
|
|
.line 290 |
|
const/4 v0, 0x0 |
|
|
|
iput v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->e:I |
|
|
|
.line 291 |
|
iget-boolean v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f:Z |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 304 |
|
:goto_0 |
|
return-void |
|
|
|
.line 294 |
|
:cond_0 |
|
invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 295 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
const-string v1, "onBitmapLoaded:bitmap.isRecycled" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 296 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->b:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
goto :goto_0 |
|
|
|
.line 299 |
|
:cond_1 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->b:Ljava/lang/String; |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "onBitmapLoaded:" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, p1}, 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;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 300 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->d:Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
invoke-virtual {v0, p1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->asPhoto(Landroid/graphics/Bitmap;)V |
|
|
|
.line 303 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public onClick(Landroid/view/MotionEvent;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 268 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->n:Landroid/view/View$OnClickListener; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 269 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->n:Landroid/view/View$OnClickListener; |
|
|
|
invoke-interface {v0, p0}, Landroid/view/View$OnClickListener;->onClick(Landroid/view/View;)V |
|
|
|
.line 271 |
|
:cond_0 |
|
return-void |
|
.end method |
|
|
|
.method public onPrepareLoad(Landroid/graphics/drawable/Drawable;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 322 |
|
sget-object v0, Lcom/viatech/vpaiphoto/VPaiPhotoView$a;->c:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
iput-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView$a; |
|
|
|
.line 323 |
|
return-void |
|
.end method |
|
|
|
.method public onProjectModeChange(I)V |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v2, 0x2 |
|
|
|
const/4 v1, 0x1 |
|
|
|
.line 275 |
|
if-nez p1, :cond_0 |
|
|
|
.line 276 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-interface {v0, v1}, Lcom/viatech/vpaiphoto/VPaiPhotoView$b;->showSphericalMediaPlayerMode(I)V |
|
|
|
.line 284 |
|
:goto_0 |
|
return-void |
|
|
|
.line 277 |
|
:cond_0 |
|
if-ne p1, v1, :cond_1 |
|
|
|
.line 278 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
invoke-interface {v0, v1}, Lcom/viatech/vpaiphoto/VPaiPhotoView$b;->showSphericalMediaPlayerMode(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 279 |
|
:cond_1 |
|
if-ne p1, v2, :cond_2 |
|
|
|
.line 280 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
invoke-interface {v0, v2}, Lcom/viatech/vpaiphoto/VPaiPhotoView$b;->showSphericalMediaPlayerMode(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 282 |
|
:cond_2 |
|
iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
const/4 v1, -0x1 |
|
|
|
invoke-interface {v0, v1}, Lcom/viatech/vpaiphoto/VPaiPhotoView$b;->showSphericalMediaPlayerMode(I)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public setFile(Ljava/io/File;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 207 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->m:Ljava/io/File; |
|
|
|
.line 208 |
|
return-void |
|
.end method |
|
|
|
.method public setOnMotionClickListener(Landroid/view/View$OnClickListener;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 380 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->n:Landroid/view/View$OnClickListener; |
|
|
|
.line 381 |
|
return-void |
|
.end method |
|
|
|
.method public setProjectModeChangeListener(Lcom/viatech/vpaiphoto/VPaiPhotoView$b;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 331 |
|
iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView;->o:Lcom/viatech/vpaiphoto/VPaiPhotoView$b; |
|
|
|
.line 332 |
|
return-void |
|
.end method
|
|
|