TableLayout$LayoutParams.smali
.class public Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.super Landroid/view/ViewGroup$MarginLayoutParams;
.source "TableLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/components/TableLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "LayoutParams"
.end annotation
# static fields
.field private static final DEFAULT_HEIGHT:I = -0x2
.field private static final DEFAULT_MARGIN:I = -0x80000000
.field private static final DEFAULT_SPAN:Lim/tpelyyftgw/ui/components/TableLayout$Interval;
.field private static final DEFAULT_SPAN_SIZE:I
.field private static final DEFAULT_WIDTH:I = -0x2
# instance fields
.field public columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.field public rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
# direct methods
.method static constructor <clinit>()V
.registers 3
.line 1554
new-instance v0, Lim/tpelyyftgw/ui/components/TableLayout$Interval;
const/high16 v1, -0x80000000
const v2, -0x7fffffff
invoke-direct {v0, v1, v2}, Lim/tpelyyftgw/ui/components/TableLayout$Interval;-><init>(II)V
sput-object v0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->DEFAULT_SPAN:Lim/tpelyyftgw/ui/components/TableLayout$Interval;
.line 1555
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TableLayout$Interval;->size()I
move-result v0
sput v0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->DEFAULT_SPAN_SIZE:I
return-void
.end method
.method public constructor <init>()V
.registers 3
.line 1572
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
sget-object v1, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-direct {p0, v0, v1}, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;-><init>(Lim/tpelyyftgw/ui/components/TableLayout$Spec;Lim/tpelyyftgw/ui/components/TableLayout$Spec;)V
.line 1573
return-void
.end method
.method private constructor <init>(IIIIIILim/tpelyyftgw/ui/components/TableLayout$Spec;Lim/tpelyyftgw/ui/components/TableLayout$Spec;)V
.registers 10
.param p1, "width" # I
.param p2, "height" # I
.param p3, "left" # I
.param p4, "top" # I
.param p5, "right" # I
.param p6, "bottom" # I
.param p7, "rowSpec" # Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.param p8, "columnSpec" # Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1561
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(II)V
.line 1557
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1558
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1562
invoke-virtual {p0, p3, p4, p5, p6}, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->setMargins(IIII)V
.line 1563
iput-object p7, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1564
iput-object p8, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1565
return-void
.end method
.method public constructor <init>(Landroid/view/ViewGroup$LayoutParams;)V
.registers 3
.param p1, "params" # Landroid/view/ViewGroup$LayoutParams;
.line 1576
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
.line 1557
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1558
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1577
return-void
.end method
.method public constructor <init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
.registers 3
.param p1, "params" # Landroid/view/ViewGroup$MarginLayoutParams;
.line 1580
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
.line 1557
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1558
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1581
return-void
.end method
.method public constructor <init>(Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;)V
.registers 3
.param p1, "source" # Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.line 1584
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
.line 1557
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1558
sget-object v0, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->UNDEFINED:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1585
iget-object v0, p1, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1586
iget-object v0, p1, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1587
return-void
.end method
.method public constructor <init>(Lim/tpelyyftgw/ui/components/TableLayout$Spec;Lim/tpelyyftgw/ui/components/TableLayout$Spec;)V
.registers 12
.param p1, "rowSpec" # Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.param p2, "columnSpec" # Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1568
const/4 v1, -0x2
const/4 v2, -0x2
const/high16 v3, -0x80000000
const/high16 v4, -0x80000000
const/high16 v5, -0x80000000
const/high16 v6, -0x80000000
move-object v0, p0
move-object v7, p1
move-object v8, p2
invoke-direct/range {v0 .. v8}, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;-><init>(IIIIIILim/tpelyyftgw/ui/components/TableLayout$Spec;Lim/tpelyyftgw/ui/components/TableLayout$Spec;)V
.line 1569
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 7
.param p1, "o" # Ljava/lang/Object;
.line 1604
const/4 v0, 0x1
if-ne p0, p1, :cond_4
return v0
.line 1605
:cond_4
const/4 v1, 0x0
if-eqz p1, :cond_2c
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_12
goto :goto_2c
.line 1607
:cond_12
move-object v2, p1
check-cast v2, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.line 1609
.local v2, "that":Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
iget-object v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iget-object v4, v2, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->equals(Ljava/lang/Object;)Z
move-result v3
if-nez v3, :cond_20
return v1
.line 1610
:cond_20
iget-object v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iget-object v4, v2, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->equals(Ljava/lang/Object;)Z
move-result v3
if-nez v3, :cond_2b
return v1
.line 1612
:cond_2b
return v0
.line 1605
.end local v2 # "that":Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
:cond_2c
:goto_2c
return v1
.end method
.method public hashCode()I
.registers 4
.line 1617
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->hashCode()I
move-result v0
.line 1618
.local v0, "result":I
mul-int/lit8 v1, v0, 0x1f
iget-object v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->hashCode()I
move-result v2
add-int/2addr v1, v2
.line 1619
.end local v0 # "result":I
.local v1, "result":I
return v1
.end method
.method final setColumnSpecSpan(Lim/tpelyyftgw/ui/components/TableLayout$Interval;)V
.registers 3
.param p1, "span" # Lim/tpelyyftgw/ui/components/TableLayout$Interval;
.line 1599
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->copyWriteSpan(Lim/tpelyyftgw/ui/components/TableLayout$Interval;)Lim/tpelyyftgw/ui/components/TableLayout$Spec;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1600
return-void
.end method
.method public setGravity(I)V
.registers 4
.param p1, "gravity" # I
.line 1590
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
const/4 v1, 0x0
invoke-static {p1, v1}, Lim/tpelyyftgw/ui/components/TableLayout;->getAlignment(IZ)Lim/tpelyyftgw/ui/components/TableLayout$Alignment;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->copyWriteAlignment(Lim/tpelyyftgw/ui/components/TableLayout$Alignment;)Lim/tpelyyftgw/ui/components/TableLayout$Spec;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1591
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
const/4 v1, 0x1
invoke-static {p1, v1}, Lim/tpelyyftgw/ui/components/TableLayout;->getAlignment(IZ)Lim/tpelyyftgw/ui/components/TableLayout$Alignment;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->copyWriteAlignment(Lim/tpelyyftgw/ui/components/TableLayout$Alignment;)Lim/tpelyyftgw/ui/components/TableLayout$Spec;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->columnSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1592
return-void
.end method
.method final setRowSpecSpan(Lim/tpelyyftgw/ui/components/TableLayout$Interval;)V
.registers 3
.param p1, "span" # Lim/tpelyyftgw/ui/components/TableLayout$Interval;
.line 1595
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->copyWriteSpan(Lim/tpelyyftgw/ui/components/TableLayout$Interval;)Lim/tpelyyftgw/ui/components/TableLayout$Spec;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
.line 1596
return-void
.end method