apkfuckery/com.discord/smali/androidx/appcompat/app/ActionBar.smali

580 lines
14 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public abstract Landroidx/appcompat/app/ActionBar;
.super Ljava/lang/Object;
.source "ActionBar.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/app/ActionBar$LayoutParams;,
Landroidx/appcompat/app/ActionBar$TabListener;,
Landroidx/appcompat/app/ActionBar$Tab;,
Landroidx/appcompat/app/ActionBar$OnMenuVisibilityListener;,
Landroidx/appcompat/app/ActionBar$OnNavigationListener;,
Landroidx/appcompat/app/ActionBar$DisplayOptions;,
Landroidx/appcompat/app/ActionBar$NavigationMode;
}
.end annotation
# static fields
.field public static final DISPLAY_HOME_AS_UP:I = 0x4
.field public static final DISPLAY_SHOW_CUSTOM:I = 0x10
.field public static final DISPLAY_SHOW_HOME:I = 0x2
.field public static final DISPLAY_SHOW_TITLE:I = 0x8
.field public static final DISPLAY_USE_LOGO:I = 0x1
.field public static final NAVIGATION_MODE_LIST:I = 0x1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final NAVIGATION_MODE_STANDARD:I = 0x0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final NAVIGATION_MODE_TABS:I = 0x2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract addOnMenuVisibilityListener(Landroidx/appcompat/app/ActionBar$OnMenuVisibilityListener;)V
.end method
.method public abstract addTab(Landroidx/appcompat/app/ActionBar$Tab;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract addTab(Landroidx/appcompat/app/ActionBar$Tab;I)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract addTab(Landroidx/appcompat/app/ActionBar$Tab;IZ)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract addTab(Landroidx/appcompat/app/ActionBar$Tab;Z)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public closeOptionsMenu()Z
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public collapseActionView()Z
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public dispatchMenuVisibilityChanged(Z)V
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public abstract getCustomView()Landroid/view/View;
.end method
.method public abstract getDisplayOptions()I
.end method
.method public getElevation()F
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public abstract getHeight()I
.end method
.method public getHideOffset()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public abstract getNavigationItemCount()I
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getNavigationMode()I
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getSelectedNavigationIndex()I
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getSelectedTab()Landroidx/appcompat/app/ActionBar$Tab;
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getSubtitle()Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
.end method
.method public abstract getTabAt(I)Landroidx/appcompat/app/ActionBar$Tab;
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getTabCount()I
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public getThemedContext()Landroid/content/Context;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public abstract getTitle()Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
.end method
.method public abstract hide()V
.end method
.method public invalidateOptionsMenu()Z
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public isHideOnContentScrollEnabled()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public abstract isShowing()Z
.end method
.method public isTitleTruncated()Z
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public abstract newTab()Landroidx/appcompat/app/ActionBar$Tab;
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onDestroy()V
2019-07-24 11:27:29 +00:00
.locals 0
return-void
.end method
.method public onKeyShortcut(ILandroid/view/KeyEvent;)Z
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
return p1
.end method
.method public onMenuKeyEvent(Landroid/view/KeyEvent;)Z
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
return p1
.end method
.method public openOptionsMenu()Z
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public abstract removeAllTabs()V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract removeOnMenuVisibilityListener(Landroidx/appcompat/app/ActionBar$OnMenuVisibilityListener;)V
.end method
.method public abstract removeTab(Landroidx/appcompat/app/ActionBar$Tab;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract removeTabAt(I)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
2019-12-06 03:29:40 +00:00
.method public requestFocus()Z
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
return v0
.end method
.method public abstract selectTab(Landroidx/appcompat/app/ActionBar$Tab;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
.end method
.method public abstract setCustomView(I)V
.end method
.method public abstract setCustomView(Landroid/view/View;)V
.end method
.method public abstract setCustomView(Landroid/view/View;Landroidx/appcompat/app/ActionBar$LayoutParams;)V
.end method
.method public setDefaultDisplayHomeAsUpEnabled(Z)V
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public abstract setDisplayHomeAsUpEnabled(Z)V
.end method
.method public abstract setDisplayOptions(I)V
.end method
.method public abstract setDisplayOptions(II)V
.end method
.method public abstract setDisplayShowCustomEnabled(Z)V
.end method
.method public abstract setDisplayShowHomeEnabled(Z)V
.end method
.method public abstract setDisplayShowTitleEnabled(Z)V
.end method
.method public abstract setDisplayUseLogoEnabled(Z)V
.end method
.method public setElevation(F)V
.locals 1
const/4 v0, 0x0
cmpl-float p1, p1, v0
if-nez p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Setting a non-zero elevation is not supported in this action bar configuration."
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setHideOffset(I)V
.locals 1
if-nez p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Setting an explicit action bar hide offset is not supported in this action bar configuration."
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setHideOnContentScrollEnabled(Z)V
.locals 1
if-nez p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Hide on content scroll is not supported in this action bar configuration."
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setHomeActionContentDescription(I)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # I
.annotation build Landroidx/annotation/StringRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setHomeActionContentDescription(Ljava/lang/CharSequence;)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Ljava/lang/CharSequence;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setHomeAsUpIndicator(I)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setHomeAsUpIndicator(Landroid/graphics/drawable/Drawable;)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setHomeButtonEnabled(Z)V
.locals 0
return-void
.end method
.method public abstract setIcon(I)V
2019-12-06 03:29:40 +00:00
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
.end method
.method public abstract setIcon(Landroid/graphics/drawable/Drawable;)V
.end method
.method public abstract setListNavigationCallbacks(Landroid/widget/SpinnerAdapter;Landroidx/appcompat/app/ActionBar$OnNavigationListener;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract setLogo(I)V
2019-12-06 03:29:40 +00:00
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
.end method
.method public abstract setLogo(Landroid/graphics/drawable/Drawable;)V
.end method
.method public abstract setNavigationMode(I)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract setSelectedNavigationItem(I)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public setShowHideAnimationEnabled(Z)V
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setSplitBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 0
return-void
.end method
.method public setStackedBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 0
return-void
.end method
.method public abstract setSubtitle(I)V
.end method
.method public abstract setSubtitle(Ljava/lang/CharSequence;)V
.end method
.method public abstract setTitle(I)V
2019-12-06 03:29:40 +00:00
.param p1 # I
.annotation build Landroidx/annotation/StringRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
.end method
.method public abstract setTitle(Ljava/lang/CharSequence;)V
.end method
.method public setWindowTitle(Ljava/lang/CharSequence;)V
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public abstract show()V
.end method
.method public startActionMode(Landroidx/appcompat/view/ActionMode$Callback;)Landroidx/appcompat/view/ActionMode;
.locals 0
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
return-object p1
.end method