.class Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;
.super Ljava/lang/Object;
.source "AqiCameraShareActivity.java"

# interfaces
.implements Lcom/moji/mjweather/aqi/AqiCameraSharePresenter$AqiCameraShareCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/aqi/AqiCameraShareActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "AqiCameraShareCallbackImpl"
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;


# direct methods
.method private constructor <init>(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)V
    .locals 0

    .line 183
    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;Lcom/moji/mjweather/aqi/AqiCameraShareActivity$1;)V
    .locals 0

    .line 183
    invoke-direct {p0, p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;-><init>(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)V

    return-void
.end method


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

    .line 187
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->d(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Lcom/moji/dialog/MJDialog;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    return-void
.end method

.method public a(II)V
    .locals 2

    .line 241
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    iget-object v0, v0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->a:Lcom/moji/mjweather/aqi/AqiCameraSharePresenter;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/AqiCameraSharePresenter;->c()Z

    move-result v0

    const v1, 0x7f0806b3

    if-eqz v0, :cond_0

    .line 242
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->f(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iput p1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 243
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->f(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    iput p2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 244
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->f(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    goto :goto_0

    .line 246
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->g(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iput p1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 247
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->g(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    iput p2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 248
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->g(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    :goto_0
    return-void
.end method

.method public a(Landroid/graphics/Bitmap;)V
    .locals 1

    .line 197
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    iget-object v0, v0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->a:Lcom/moji/mjweather/aqi/AqiCameraSharePresenter;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/AqiCameraSharePresenter;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 198
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->e(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    .line 200
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->c(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_0
    return-void
.end method

.method public a(Z)V
    .locals 1

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    .line 233
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->f(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    .line 235
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {p1}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->g(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_0
    return-void
.end method

.method public b()V
    .locals 1

    .line 192
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->d(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Lcom/moji/dialog/MJDialog;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->dismiss()V

    return-void
.end method

.method public c()V
    .locals 3

    .line 221
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiCameraShareActivity$AqiCameraShareCallbackImpl;->a:Lcom/moji/mjweather/aqi/AqiCameraShareActivity;

    invoke-static {v0}, Lcom/moji/mjweather/aqi/AqiCameraShareActivity;->b(Lcom/moji/mjweather/aqi/AqiCameraShareActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u5df2\u4fdd\u5b58\u5230\u76f8\u518c"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 222
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->AQI_PIC_SAVE:Lcom/moji/statistics/EVENT_TAG;

    const-string v2, "1"

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    return-void
.end method

.method public d()V
    .locals 3

    .line 227
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->AQI_PIC_SAVE:Lcom/moji/statistics/EVENT_TAG;

    const-string v2, "2"

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    return-void
.end method
