apkfuckery/com.discord/smali/androidx/appcompat/widget/ActionBarBackgroundDrawable.smali

120 lines
3.4 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/appcompat/widget/ActionBarBackgroundDrawable;
2019-07-24 11:27:29 +00:00
.super Landroid/graphics/drawable/Drawable;
.source "ActionBarBackgroundDrawable.java"
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mContainer:Landroidx/appcompat/widget/ActionBarContainer;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Landroidx/appcompat/widget/ActionBarContainer;)V
.locals 0
invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;->mContainer:Landroidx/appcompat/widget/ActionBarContainer;
return-void
.end method
# virtual methods
.method public draw(Landroid/graphics/Canvas;)V
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;->mContainer:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
iget-boolean v1, v0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-24 11:27:29 +00:00
iget-object v0, v0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_2
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
iget-object v0, v0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_1
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
:cond_1
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;->mContainer:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_2
2019-07-24 11:27:29 +00:00
iget-boolean v0, v0, Landroidx/appcompat/widget/ActionBarContainer;->mIsStacked:Z
if-eqz v0, :cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
2019-07-24 11:27:29 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public getOpacity()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public getOutline(Landroid/graphics/Outline;)V
2019-12-06 03:29:40 +00:00
.locals 2
.param p1 # Landroid/graphics/Outline;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;->mContainer:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
iget-boolean v1, v0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-24 11:27:29 +00:00
iget-object v0, v0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_1
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->getOutline(Landroid/graphics/Outline;)V
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
iget-object v0, v0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_1
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->getOutline(Landroid/graphics/Outline;)V
:cond_1
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setAlpha(I)V
.locals 0
return-void
.end method
.method public setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 0
return-void
.end method