.class public Lf/m;
.super Landroid/app/Dialog;
.source ""

# interfaces
.implements Lf/f;


# instance fields
.field public r:Lf/g;

.field public final s:Ll0/e$a;


# direct methods
.method public constructor <init>(Landroid/content/Context;I)V
    .registers 7

    const/4 v0, 0x1

    const v1, 0x7f04012f

    if-nez p2, :cond_15

    .line 1
    new-instance v2, Landroid/util/TypedValue;

    invoke-direct {v2}, Landroid/util/TypedValue;-><init>()V

    invoke-virtual {p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object v3

    invoke-virtual {v3, v1, v2, v0}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z

    iget v2, v2, Landroid/util/TypedValue;->resourceId:I

    goto :goto_16

    :cond_15
    move v2, p2

    .line 2
    :goto_16
    invoke-direct {p0, p1, v2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    new-instance v2, Lf/m$a;

    invoke-direct {v2, p0}, Lf/m$a;-><init>(Lf/m;)V

    iput-object v2, p0, Lf/m;->s:Ll0/e$a;

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v2

    if-nez p2, :cond_34

    .line 3
    new-instance p2, Landroid/util/TypedValue;

    invoke-direct {p2}, Landroid/util/TypedValue;-><init>()V

    invoke-virtual {p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object p1

    invoke-virtual {p1, v1, p2, v0}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z

    iget p2, p2, Landroid/util/TypedValue;->resourceId:I

    .line 4
    :cond_34
    invoke-virtual {v2, p2}, Lf/g;->x(I)V

    const/4 p1, 0x0

    invoke-virtual {v2, p1}, Lf/g;->l(Landroid/os/Bundle;)V

    return-void
.end method


# virtual methods
.method public a()Lf/g;
    .registers 4

    iget-object v0, p0, Lf/m;->r:Lf/g;

    if-nez v0, :cond_15

    sget-object v0, Lf/g;->r:Lr/c;

    .line 1
    new-instance v0, Lf/h;

    .line 2
    invoke-virtual {p0}, Landroid/app/Dialog;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    invoke-direct {v0, v1, v2, p0, p0}, Lf/h;-><init>(Landroid/content/Context;Landroid/view/Window;Lf/f;Ljava/lang/Object;)V

    .line 3
    iput-object v0, p0, Lf/m;->r:Lf/g;

    :cond_15
    iget-object v0, p0, Lf/m;->r:Lf/g;

    return-object v0
.end method

.method public addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .registers 4

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lf/g;->c(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public b(Landroid/view/KeyEvent;)Z
    .registers 2

    invoke-super {p0, p1}, Landroid/app/Dialog;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method public dismiss()V
    .registers 2

    invoke-super {p0}, Landroid/app/Dialog;->dismiss()V

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0}, Lf/g;->m()V

    return-void
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .registers 4

    invoke-virtual {p0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lf/m;->s:Ll0/e$a;

    invoke-static {v1, v0, p0, p1}, Ll0/e;->b(Ll0/e$a;Landroid/view/View;Landroid/view/Window$Callback;Landroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method public f(Lj/a;)V
    .registers 2

    return-void
.end method

.method public findViewById(I)Landroid/view/View;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Landroid/view/View;",
            ">(I)TT;"
        }
    .end annotation

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lf/g;->e(I)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public h(Lj/a$a;)Lj/a;
    .registers 2

    const/4 p1, 0x0

    return-object p1
.end method

.method public invalidateOptionsMenu()V
    .registers 2

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0}, Lf/g;->j()V

    return-void
.end method

.method public j(Lj/a;)V
    .registers 2

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .registers 3

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0}, Lf/g;->i()V

    invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lf/g;->l(Landroid/os/Bundle;)V

    return-void
.end method

.method public onStop()V
    .registers 2

    invoke-super {p0}, Landroid/app/Dialog;->onStop()V

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0}, Lf/g;->r()V

    return-void
.end method

.method public setContentView(I)V
    .registers 3

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lf/g;->u(I)V

    return-void
.end method

.method public setContentView(Landroid/view/View;)V
    .registers 3

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lf/g;->v(Landroid/view/View;)V

    return-void
.end method

.method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .registers 4

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lf/g;->w(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public setTitle(I)V
    .registers 4

    invoke-super {p0, p1}, Landroid/app/Dialog;->setTitle(I)V

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {p0}, Landroid/app/Dialog;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Lf/g;->y(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setTitle(Ljava/lang/CharSequence;)V
    .registers 3

    invoke-super {p0, p1}, Landroid/app/Dialog;->setTitle(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lf/m;->a()Lf/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lf/g;->y(Ljava/lang/CharSequence;)V

    return-void
.end method
