apkfuckery/com.discord/smali/androidx/appcompat/widget/Toolbar$LayoutParams.smali
2020-05-17 12:40:10 +00:00

164 lines
4.5 KiB
Smali

.class public Landroidx/appcompat/widget/Toolbar$LayoutParams;
.super Landroidx/appcompat/app/ActionBar$LayoutParams;
.source "Toolbar.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/Toolbar;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "LayoutParams"
.end annotation
# static fields
.field public static final CUSTOM:I = 0x0
.field public static final EXPANDED:I = 0x2
.field public static final SYSTEM:I = 0x1
# instance fields
.field public mViewType:I
# direct methods
.method public constructor <init>(I)V
.locals 2
const/4 v0, -0x2
const/4 v1, -0x1
invoke-direct {p0, v0, v1, p1}, Landroidx/appcompat/widget/Toolbar$LayoutParams;-><init>(III)V
return-void
.end method
.method public constructor <init>(II)V
.locals 0
invoke-direct {p0, p1, p2}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(II)V
const/4 p1, 0x0
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
const p1, 0x800013
iput p1, p0, Landroidx/appcompat/app/ActionBar$LayoutParams;->gravity:I
return-void
.end method
.method public constructor <init>(III)V
.locals 0
invoke-direct {p0, p1, p2}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(II)V
const/4 p1, 0x0
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
iput p3, p0, Landroidx/appcompat/app/ActionBar$LayoutParams;->gravity:I
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0, p1, p2}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 p1, 0x0
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
return-void
.end method
.method public constructor <init>(Landroid/view/ViewGroup$LayoutParams;)V
.locals 0
invoke-direct {p0, p1}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
const/4 p1, 0x0
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
return-void
.end method
.method public constructor <init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
.locals 1
invoke-direct {p0, p1}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
const/4 v0, 0x0
iput v0, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/Toolbar$LayoutParams;->copyMarginsFromCompat(Landroid/view/ViewGroup$MarginLayoutParams;)V
return-void
.end method
.method public constructor <init>(Landroidx/appcompat/app/ActionBar$LayoutParams;)V
.locals 0
invoke-direct {p0, p1}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(Landroidx/appcompat/app/ActionBar$LayoutParams;)V
const/4 p1, 0x0
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
return-void
.end method
.method public constructor <init>(Landroidx/appcompat/widget/Toolbar$LayoutParams;)V
.locals 1
invoke-direct {p0, p1}, Landroidx/appcompat/app/ActionBar$LayoutParams;-><init>(Landroidx/appcompat/app/ActionBar$LayoutParams;)V
const/4 v0, 0x0
iput v0, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
iget p1, p1, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
iput p1, p0, Landroidx/appcompat/widget/Toolbar$LayoutParams;->mViewType:I
return-void
.end method
# virtual methods
.method public copyMarginsFromCompat(Landroid/view/ViewGroup$MarginLayoutParams;)V
.locals 1
iget v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
iput v0, p0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
iget v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iput v0, p0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iget v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
iput v0, p0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
iget p1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
iput p1, p0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
return-void
.end method