.class public Lcom/moji/mjweather/scenestore/SceneVideoFragment;
.super Lcom/moji/mjweather/scenestore/DetailPageFragment;
.source "SceneVideoFragment.java"


# instance fields
.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 28
    invoke-direct {p0}, Lcom/moji/mjweather/scenestore/DetailPageFragment;-><init>()V

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/mjweather/scenestore/SceneVideoFragment;
    .locals 3

    .line 33
    new-instance v0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;

    invoke-direct {v0}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;-><init>()V

    .line 34
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string v2, "param1"

    .line 35
    invoke-virtual {v1, v2, p0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p0, "param2"

    .line 36
    invoke-virtual {v1, p0, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 37
    invoke-virtual {v0, v1}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->setArguments(Landroid/os/Bundle;)V

    return-object v0
.end method

.method static synthetic a(Lcom/moji/mjweather/scenestore/SceneVideoFragment;)Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;
    .locals 0

    .line 18
    iget-object p0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    return-object p0
.end method

.method private a(Landroid/view/View;)V
    .locals 4

    const v0, 0x7f090c7b

    .line 86
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    iput-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    .line 87
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    iget-object v1, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->setPreviewImage(Ljava/lang/String;)V

    .line 88
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->h(Z)Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    .line 89
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    invoke-virtual {v0, v1}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->i(Z)Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    .line 90
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    invoke-virtual {v0, v1}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->f(Z)Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    .line 91
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    iget-object v2, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->d:Ljava/lang/String;

    new-array v3, v1, [Ljava/lang/Object;

    invoke-virtual {v0, v2, v1, v3}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->a(Ljava/lang/String;I[Ljava/lang/Object;)Z

    .line 93
    invoke-static {}, Lcom/moji/tool/DeviceTool;->D()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 94
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    new-instance v1, Lcom/moji/mjweather/scenestore/SceneVideoFragment$1;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/scenestore/SceneVideoFragment$1;-><init>(Lcom/moji/mjweather/scenestore/SceneVideoFragment;)V

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 102
    :cond_0
    new-instance v0, Lcom/moji/mjweather/scenestore/SceneVideoFragment$2;

    invoke-direct {v0, p0, p1}, Lcom/moji/mjweather/scenestore/SceneVideoFragment$2;-><init>(Lcom/moji/mjweather/scenestore/SceneVideoFragment;Landroid/view/View;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 0

    .line 81
    invoke-super {p0}, Lcom/moji/mjweather/scenestore/DetailPageFragment;->a()V

    return-void
.end method

.method public b()V
    .locals 2

    .line 73
    invoke-super {p0}, Lcom/moji/mjweather/scenestore/DetailPageFragment;->b()V

    .line 74
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    iget v0, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->g:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    .line 75
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    invoke-virtual {v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->i()V

    :cond_0
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 43
    invoke-super {p0, p1}, Lcom/moji/mjweather/scenestore/DetailPageFragment;->onCreate(Landroid/os/Bundle;)V

    .line 44
    invoke-virtual {p0}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 45
    invoke-virtual {p0}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    const-string v0, "param1"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->d:Ljava/lang/String;

    .line 46
    invoke-virtual {p0}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    const-string v0, "param2"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->e:Ljava/lang/String;

    :cond_0
    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 1

    const p3, 0x7f0b0133

    const/4 v0, 0x0

    .line 54
    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 55
    invoke-direct {p0, p1}, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->a(Landroid/view/View;)V

    return-object p1
.end method

.method public onDestroy()V
    .locals 2

    .line 64
    invoke-super {p0}, Lcom/moji/mjweather/scenestore/DetailPageFragment;->onDestroy()V

    .line 65
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    iget v0, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->g:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    .line 66
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/SceneVideoFragment;->f:Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;

    invoke-virtual {v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->i()V

    .line 67
    invoke-static {}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;->s()V

    :cond_0
    return-void
.end method
