- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
654 lines
18 KiB
Smali
654 lines
18 KiB
Smali
.class public final Landroidx/core/view/MenuItemCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/view/MenuItemCompat$OnActionExpandListener;,
|
|
Landroidx/core/view/MenuItemCompat$Api26Impl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final SHOW_AS_ACTION_ALWAYS:I = 0x2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW:I = 0x8
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SHOW_AS_ACTION_IF_ROOM:I = 0x1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SHOW_AS_ACTION_NEVER:I = 0x0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SHOW_AS_ACTION_WITH_TEXT:I = 0x4
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final TAG:Ljava/lang/String; = "MenuItemCompat"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 606
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static collapseActionView(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.collapseActionView()"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 281
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->collapseActionView()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static expandActionView(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.expandActionView()"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 261
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->expandActionView()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getActionProvider(Landroid/view/MenuItem;)Landroidx/core/view/ActionProvider;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 235
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 236
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getSupportActionProvider()Landroidx/core/view/ActionProvider;
|
|
|
|
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 240
|
|
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 getActionView(Landroid/view/MenuItem;)Landroid/view/View;
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.getActionView()"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 196
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getAlphabeticModifiers(Landroid/view/MenuItem;)I
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 517
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 519
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getAlphabeticModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 522
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getAlphabeticModifiers(Landroid/view/MenuItem;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getContentDescription(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 353
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 355
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 358
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getContentDescription(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getIconTintList(Landroid/view/MenuItem;)Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 557
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 559
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getIconTintList()Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 562
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getIconTintList(Landroid/view/MenuItem;)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getIconTintMode(Landroid/view/MenuItem;)Landroid/graphics/PorterDuff$Mode;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 596
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 598
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getIconTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 601
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getIconTintMode(Landroid/view/MenuItem;)Landroid/graphics/PorterDuff$Mode;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getNumericModifiers(Landroid/view/MenuItem;)I
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 466
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 468
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getNumericModifiers()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 471
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getNumericModifiers(Landroid/view/MenuItem;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getTooltipText(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 385
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 387
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getTooltipText()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 390
|
|
:cond_0
|
|
invoke-static {p0}, Landroidx/core/view/MenuItemCompat$Api26Impl;->getTooltipText(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static isActionViewExpanded(Landroid/view/MenuItem;)Z
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.isActionViewExpanded()"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 298
|
|
invoke-interface {p0}, Landroid/view/MenuItem;->isActionViewExpanded()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static setActionProvider(Landroid/view/MenuItem;Landroidx/core/view/ActionProvider;)Landroid/view/MenuItem;
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/core/view/ActionProvider;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 217
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 218
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setSupportActionProvider(Landroidx/core/view/ActionProvider;)Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p1, "MenuItemCompat"
|
|
|
|
const-string v0, "setActionProvider: item does not implement SupportMenuItem; ignoring"
|
|
|
|
.line 221
|
|
invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static setActionView(Landroid/view/MenuItem;I)Landroid/view/MenuItem;
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.setActionView(resId)"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 182
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setActionView(I)Landroid/view/MenuItem;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static setActionView(Landroid/view/MenuItem;Landroid/view/View;)Landroid/view/MenuItem;
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.setActionView(view)"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 159
|
|
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 setAlphabeticShortcut(Landroid/view/MenuItem;CI)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 497
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 499
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1, p2}, Landroidx/core/internal/view/SupportMenuItem;->setAlphabeticShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 501
|
|
:cond_0
|
|
invoke-static {p0, p1, p2}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setAlphabeticShortcut(Landroid/view/MenuItem;CI)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setContentDescription(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 338
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 339
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setContentDescription(Ljava/lang/CharSequence;)Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 341
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setContentDescription(Landroid/view/MenuItem;Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setIconTintList(Landroid/view/MenuItem;Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 542
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 544
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setIconTintList(Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 546
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setIconTintList(Landroid/view/MenuItem;Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setIconTintMode(Landroid/view/MenuItem;Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 579
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 581
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setIconTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 583
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setIconTintMode(Landroid/view/MenuItem;Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setNumericShortcut(Landroid/view/MenuItem;CI)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 446
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 448
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1, p2}, Landroidx/core/internal/view/SupportMenuItem;->setNumericShortcut(CI)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 450
|
|
:cond_0
|
|
invoke-static {p0, p1, p2}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setNumericShortcut(Landroid/view/MenuItem;CI)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setOnActionExpandListener(Landroid/view/MenuItem;Landroidx/core/view/MenuItemCompat$OnActionExpandListener;)Landroid/view/MenuItem;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 317
|
|
new-instance v0, Landroidx/core/view/MenuItemCompat$1;
|
|
|
|
invoke-direct {v0, p1}, Landroidx/core/view/MenuItemCompat$1;-><init>(Landroidx/core/view/MenuItemCompat$OnActionExpandListener;)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 setShortcut(Landroid/view/MenuItem;CCII)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 421
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 423
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/internal/view/SupportMenuItem;->setShortcut(CCII)Landroid/view/MenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 426
|
|
:cond_0
|
|
invoke-static {p0, p1, p2, p3, p4}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setShortcut(Landroid/view/MenuItem;CCII)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setShowAsAction(Landroid/view/MenuItem;I)V
|
|
.locals 0
|
|
.annotation runtime Landroidx/annotation/ReplaceWith;
|
|
expression = "item.setShowAsAction(actionEnum)"
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 140
|
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setShowAsAction(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setTooltipText(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/MenuItem;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 370
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 371
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setTooltipText(Ljava/lang/CharSequence;)Landroidx/core/internal/view/SupportMenuItem;
|
|
|
|
goto :goto_0
|
|
|
|
.line 373
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/MenuItemCompat$Api26Impl;->setTooltipText(Landroid/view/MenuItem;Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|