.class public Lj/d;
.super Lj/a;
.source ""

# interfaces
.implements Landroidx/appcompat/view/menu/e$a;


# instance fields
.field public t:Landroid/content/Context;

.field public u:Landroidx/appcompat/widget/ActionBarContextView;

.field public v:Lj/a$a;

.field public w:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;"
        }
    .end annotation
.end field

.field public x:Z

.field public y:Landroidx/appcompat/view/menu/e;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroidx/appcompat/widget/ActionBarContextView;Lj/a$a;Z)V
    .registers 5

    invoke-direct {p0}, Lj/a;-><init>()V

    iput-object p1, p0, Lj/d;->t:Landroid/content/Context;

    iput-object p2, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    iput-object p3, p0, Lj/d;->v:Lj/a$a;

    new-instance p1, Landroidx/appcompat/view/menu/e;

    invoke-virtual {p2}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    invoke-direct {p1, p2}, Landroidx/appcompat/view/menu/e;-><init>(Landroid/content/Context;)V

    const/4 p2, 0x1

    .line 1
    iput p2, p1, Landroidx/appcompat/view/menu/e;->l:I

    .line 2
    iput-object p1, p0, Lj/d;->y:Landroidx/appcompat/view/menu/e;

    .line 3
    iput-object p0, p1, Landroidx/appcompat/view/menu/e;->e:Landroidx/appcompat/view/menu/e$a;

    return-void
.end method


# virtual methods
.method public a(Landroidx/appcompat/view/menu/e;Landroid/view/MenuItem;)Z
    .registers 3

    iget-object p1, p0, Lj/d;->v:Lj/a$a;

    invoke-interface {p1, p0, p2}, Lj/a$a;->a(Lj/a;Landroid/view/MenuItem;)Z

    move-result p1

    return p1
.end method

.method public b(Landroidx/appcompat/view/menu/e;)V
    .registers 2

    invoke-virtual {p0}, Lj/d;->i()V

    iget-object p1, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    .line 1
    iget-object p1, p1, Landroidx/appcompat/widget/a;->u:Landroidx/appcompat/widget/c;

    if-eqz p1, :cond_c

    invoke-virtual {p1}, Landroidx/appcompat/widget/c;->n()Z

    :cond_c
    return-void
.end method

.method public c()V
    .registers 2

    iget-boolean v0, p0, Lj/d;->x:Z

    if-eqz v0, :cond_5

    return-void

    :cond_5
    const/4 v0, 0x1

    iput-boolean v0, p0, Lj/d;->x:Z

    iget-object v0, p0, Lj/d;->v:Lj/a$a;

    invoke-interface {v0, p0}, Lj/a$a;->c(Lj/a;)V

    return-void
.end method

.method public d()Landroid/view/View;
    .registers 2

    iget-object v0, p0, Lj/d;->w:Ljava/lang/ref/WeakReference;

    if-eqz v0, :cond_b

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    goto :goto_c

    :cond_b
    const/4 v0, 0x0

    :goto_c
    return-object v0
.end method

.method public e()Landroid/view/Menu;
    .registers 2

    iget-object v0, p0, Lj/d;->y:Landroidx/appcompat/view/menu/e;

    return-object v0
.end method

.method public f()Landroid/view/MenuInflater;
    .registers 3

    new-instance v0, Lj/f;

    iget-object v1, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lj/f;-><init>(Landroid/content/Context;)V

    return-object v0
.end method

.method public g()Ljava/lang/CharSequence;
    .registers 2

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContextView;->getSubtitle()Ljava/lang/CharSequence;

    move-result-object v0

    return-object v0
.end method

.method public h()Ljava/lang/CharSequence;
    .registers 2

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContextView;->getTitle()Ljava/lang/CharSequence;

    move-result-object v0

    return-object v0
.end method

.method public i()V
    .registers 3

    iget-object v0, p0, Lj/d;->v:Lj/a$a;

    iget-object v1, p0, Lj/d;->y:Landroidx/appcompat/view/menu/e;

    invoke-interface {v0, p0, v1}, Lj/a$a;->d(Lj/a;Landroid/view/Menu;)Z

    return-void
.end method

.method public j()Z
    .registers 2

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    .line 1
    iget-boolean v0, v0, Landroidx/appcompat/widget/ActionBarContextView;->J:Z

    return v0
.end method

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

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setCustomView(Landroid/view/View;)V

    if-eqz p1, :cond_d

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    goto :goto_e

    :cond_d
    const/4 v0, 0x0

    :goto_e
    iput-object v0, p0, Lj/d;->w:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method public l(I)V
    .registers 3

    iget-object v0, p0, Lj/d;->t:Landroid/content/Context;

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

    move-result-object p1

    .line 1
    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setSubtitle(Ljava/lang/CharSequence;)V

    return-void
.end method

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

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setSubtitle(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public n(I)V
    .registers 3

    iget-object v0, p0, Lj/d;->t:Landroid/content/Context;

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

    move-result-object p1

    .line 1
    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setTitle(Ljava/lang/CharSequence;)V

    return-void
.end method

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

    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setTitle(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public p(Z)V
    .registers 3

    .line 1
    iput-boolean p1, p0, Lj/a;->s:Z

    .line 2
    iget-object v0, p0, Lj/d;->u:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContextView;->setTitleOptional(Z)V

    return-void
.end method
