apkfuckery/com.discord/smali/androidx/appcompat/app/ActionBar.smali
2020-11-12 02:11:44 +00:00

579 lines
14 KiB
Smali

.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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 v0, 0x0
return v0
.end method
.method public collapseActionView()Z
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 v0, 0x0
return v0
.end method
.method public dispatchMenuVisibilityChanged(Z)V
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getSubtitle()Ljava/lang/CharSequence;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.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;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end method
.method public abstract hide()V
.end method
.method public invalidateOptionsMenu()Z
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
return-void
.end method
.method public onDestroy()V
.locals 0
return-void
.end method
.method public onKeyShortcut(ILandroid/view/KeyEvent;)Z
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 p1, 0x0
return p1
.end method
.method public onMenuKeyEvent(Landroid/view/KeyEvent;)Z
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 p1, 0x0
return p1
.end method
.method public openOptionsMenu()Z
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.method public requestFocus()Z
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.param p1 # I
.annotation build Landroidx/annotation/StringRes;
.end annotation
.end param
return-void
.end method
.method public setHomeActionContentDescription(Ljava/lang/CharSequence;)V
.locals 0
.param p1 # Ljava/lang/CharSequence;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
return-void
.end method
.method public setHomeAsUpIndicator(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
return-void
.end method
.method public setHomeAsUpIndicator(Landroid/graphics/drawable/Drawable;)V
.locals 0
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
return-void
.end method
.method public setHomeButtonEnabled(Z)V
.locals 0
return-void
.end method
.method public abstract setIcon(I)V
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
.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
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
.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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.param p1 # I
.annotation build Landroidx/annotation/StringRes;
.end annotation
.end param
.end method
.method public abstract setTitle(Ljava/lang/CharSequence;)V
.end method
.method public setWindowTitle(Ljava/lang/CharSequence;)V
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
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
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method