661 lines
13 KiB
Smali
661 lines
13 KiB
Smali
.class public final Ls1/s;
|
|
.super Ljava/lang/Object;
|
|
.source "MenuItemCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Ls1/s$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/lang/String; = "MenuItemCompat"
|
|
|
|
.field public static final b:I = 0x0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final c:I = 0x1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final d:I = 0x2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final e:I = 0x4
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final f:I = 0x8
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->collapseActionView()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static b(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->expandActionView()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static c(Landroid/view/MenuItem;)Ls1/a;
|
|
.locals 1
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->a()Ls1/a;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "MenuItemCompat"
|
|
|
|
const-string v0, "getActionProvider: item does not implement SupportMenuItem; returning null"
|
|
|
|
.line 3
|
|
invoke-static {p0, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static d(Landroid/view/MenuItem;)Landroid/view/View;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static e(Landroid/view/MenuItem;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getAlphabeticModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getAlphabeticModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static f(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static g(Landroid/view/MenuItem;)Landroid/content/res/ColorStateList;
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getIconTintList()Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getIconTintList()Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static h(Landroid/view/MenuItem;)Landroid/graphics/PorterDuff$Mode;
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getIconTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getIconTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static i(Landroid/view/MenuItem;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getNumericModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getNumericModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static j(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0}, Lh1/b;->getTooltipText()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getTooltipText()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static k(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->isActionViewExpanded()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static l(Landroid/view/MenuItem;Ls1/a;)Landroid/view/MenuItem;
|
|
.locals 1
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1}, Lh1/b;->c(Ls1/a;)Lh1/b;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p1, "MenuItemCompat"
|
|
|
|
const-string v0, "setActionProvider: item does not implement SupportMenuItem; ignoring"
|
|
|
|
.line 3
|
|
invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static m(Landroid/view/MenuItem;I)Landroid/view/MenuItem;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setActionView(I)Landroid/view/MenuItem;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static n(Landroid/view/MenuItem;Landroid/view/View;)Landroid/view/MenuItem;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setActionView(Landroid/view/View;)Landroid/view/MenuItem;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static o(Landroid/view/MenuItem;CI)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1, p2}, Lh1/b;->setAlphabeticShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1, p2}, Landroid/view/MenuItem;->setAlphabeticShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static p(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1}, Lh1/b;->setContentDescription(Ljava/lang/CharSequence;)Lh1/b;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setContentDescription(Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static q(Landroid/view/MenuItem;Landroid/content/res/ColorStateList;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1}, Lh1/b;->setIconTintList(Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setIconTintList(Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static r(Landroid/view/MenuItem;Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1}, Lh1/b;->setIconTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setIconTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static s(Landroid/view/MenuItem;CI)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1, p2}, Lh1/b;->setNumericShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1, p2}, Landroid/view/MenuItem;->setNumericShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static t(Landroid/view/MenuItem;Ls1/s$b;)Landroid/view/MenuItem;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ls1/s$a;
|
|
|
|
invoke-direct {v0, p1}, Ls1/s$a;-><init>(Ls1/s$b;)V
|
|
|
|
invoke-interface {p0, v0}, Landroid/view/MenuItem;->setOnActionExpandListener(Landroid/view/MenuItem$OnActionExpandListener;)Landroid/view/MenuItem;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static u(Landroid/view/MenuItem;CCII)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Lh1/b;->setShortcut(CCII)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroid/view/MenuItem;->setShortcut(CCII)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static v(Landroid/view/MenuItem;I)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setShowAsAction(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static w(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Lh1/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p0, Lh1/b;
|
|
|
|
invoke-interface {p0, p1}, Lh1/b;->setTooltipText(Ljava/lang/CharSequence;)Lh1/b;
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setTooltipText(Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|