TableLayout$Child.smali
.class public Lim/tpelyyftgw/ui/components/TableLayout$Child;
.super Ljava/lang/Object;
.source "TableLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/components/TableLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "Child"
.end annotation
# instance fields
.field private cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
.field private fixedHeight:I
.field private index:I
.field private layoutParams:Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.field private measuredHeight:I
.field private measuredWidth:I
.field public textHeight:I
.field public textLayout:Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
.field public textLeft:I
.field public textWidth:I
.field public textX:I
.field public textY:I
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/TableLayout;
.field public x:I
.field public y:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lim/tpelyyftgw/ui/components/TableLayout;I)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/TableLayout;
.param p2, "i" # I
.line 96
iput-object p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 97
iput p2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->index:I
.line 98
return-void
.end method
.method static synthetic access$1000(Lim/tpelyyftgw/ui/components/TableLayout$Child;)Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->layoutParams:Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
return-object v0
.end method
.method static synthetic access$1002(Lim/tpelyyftgw/ui/components/TableLayout$Child;Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;)Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.param p1, "x1" # Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.line 78
iput-object p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->layoutParams:Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
return-object p1
.end method
.method static synthetic access$1100(Lim/tpelyyftgw/ui/components/TableLayout$Child;)Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
return-object v0
.end method
.method static synthetic access$1102(Lim/tpelyyftgw/ui/components/TableLayout$Child;Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;)Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.param p1, "x1" # Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
.line 78
iput-object p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
return-object p1
.end method
.method static synthetic access$1300(Lim/tpelyyftgw/ui/components/TableLayout$Child;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->fixedHeight:I
return v0
.end method
.method static synthetic access$1400(Lim/tpelyyftgw/ui/components/TableLayout$Child;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
return v0
.end method
.method static synthetic access$1402(Lim/tpelyyftgw/ui/components/TableLayout$Child;I)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.param p1, "x1" # I
.line 78
iput p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
return p1
.end method
.method static synthetic access$1500(Lim/tpelyyftgw/ui/components/TableLayout$Child;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->index:I
return v0
.end method
.method static synthetic access$1600(Lim/tpelyyftgw/ui/components/TableLayout$Child;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/TableLayout$Child;
.line 78
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
return v0
.end method
# virtual methods
.method public draw(Landroid/graphics/Canvas;)V
.registers 20
.param p1, "canvas" # Landroid/graphics/Canvas;
.line 192
move-object/from16 v0, p0
move-object/from16 v7, p1
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
if-nez v1, :cond_9
.line 193
return-void
.line 196
:cond_9
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v1, v2
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->getMeasuredWidth()I
move-result v2
const/4 v3, 0x1
const/4 v4, 0x0
if-ne v1, v2, :cond_1a
const/4 v1, 0x1
goto :goto_1b
:cond_1a
const/4 v1, 0x0
:goto_1b
move v8, v1
.line 197
.local v8, "isLastX":Z
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v1, v2
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->getMeasuredHeight()I
move-result v2
if-ne v1, v2, :cond_2b
const/4 v1, 0x1
goto :goto_2c
:cond_2b
const/4 v1, 0x0
:goto_2c
move v9, v1
.line 198
.local v9, "isLastY":Z
const/high16 v1, 0x40400000 # 3.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v10
.line 199
.local v10, "rad":I
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->header:Z
const/4 v2, 0x2
if-nez v1, :cond_4d
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->isStriped:Z
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$400(Lim/tpelyyftgw/ui/components/TableLayout;)Z
move-result v1
if-eqz v1, :cond_1aa
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->layoutParams:Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
iget-object v1, v1, Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;->rowSpec:Lim/tpelyyftgw/ui/components/TableLayout$Spec;
iget-object v1, v1, Lim/tpelyyftgw/ui/components/TableLayout$Spec;->span:Lim/tpelyyftgw/ui/components/TableLayout$Interval;
iget v1, v1, Lim/tpelyyftgw/ui/components/TableLayout$Interval;->min:I
rem-int/2addr v1, v2
if-nez v1, :cond_1aa
.line 200
:cond_4d
const/4 v1, 0x0
.line 201
.local v1, "hasCorners":Z
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
const/4 v6, 0x0
if-nez v5, :cond_6a
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v5, :cond_6a
.line 202
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
iget-object v11, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v11}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v11
int-to-float v12, v10
aput v12, v11, v3
aput v12, v5, v4
.line 203
const/4 v1, 0x1
goto :goto_7a
.line 205
:cond_6a
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
iget-object v11, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v11}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v11
aput v6, v11, v3
aput v6, v5, v4
.line 207
:goto_7a
const/4 v3, 0x3
if-eqz v8, :cond_94
iget v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v4, :cond_94
.line 208
iget-object v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v4}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v4
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
int-to-float v11, v10
aput v11, v5, v3
aput v11, v4, v2
.line 209
const/4 v1, 0x1
goto :goto_a4
.line 211
:cond_94
iget-object v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v4}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v4
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
aput v6, v5, v3
aput v6, v4, v2
.line 213
:goto_a4
const/4 v2, 0x5
const/4 v3, 0x4
if-eqz v8, :cond_bd
if-eqz v9, :cond_bd
.line 214
iget-object v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v4}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v4
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
int-to-float v11, v10
aput v11, v5, v2
aput v11, v4, v3
.line 215
const/4 v1, 0x1
goto :goto_cd
.line 217
:cond_bd
iget-object v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v4}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v4
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
aput v6, v5, v2
aput v6, v4, v3
.line 219
:goto_cd
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
const/4 v3, 0x7
const/4 v4, 0x6
if-nez v2, :cond_e9
if-eqz v9, :cond_e9
.line 220
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v2
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
int-to-float v6, v10
aput v6, v5, v3
aput v6, v2, v4
.line 221
const/4 v1, 0x1
move v11, v1
goto :goto_fa
.line 223
:cond_e9
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v2
iget-object v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v5}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v5
aput v6, v5, v3
aput v6, v2, v4
move v11, v1
.line 225
.end local v1 # "hasCorners":Z
.local v11, "hasCorners":Z
:goto_fa
if-eqz v11, :cond_161
.line 226
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v3, v2
iget v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v5, v4
iget v6, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v2, v6
int-to-float v2, v2
iget v6, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v4, v6
int-to-float v4, v4
invoke-virtual {v1, v3, v5, v2, v4}, Landroid/graphics/RectF;->set(FFFF)V
.line 227
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->backgroundPath:Landroid/graphics/Path;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$700(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/Path;
move-result-object v1
invoke-virtual {v1}, Landroid/graphics/Path;->reset()V
.line 228
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->backgroundPath:Landroid/graphics/Path;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$700(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/Path;
move-result-object v1
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v2
iget-object v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->radii:[F
invoke-static {v3}, Lim/tpelyyftgw/ui/components/TableLayout;->access$500(Lim/tpelyyftgw/ui/components/TableLayout;)[F
move-result-object v3
sget-object v4, Landroid/graphics/Path$Direction;->CW:Landroid/graphics/Path$Direction;
invoke-virtual {v1, v2, v3, v4}, Landroid/graphics/Path;->addRoundRect(Landroid/graphics/RectF;[FLandroid/graphics/Path$Direction;)V
.line 229
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->header:Z
if-eqz v1, :cond_14d
.line 230
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->backgroundPath:Landroid/graphics/Path;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$700(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/Path;
move-result-object v1
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v2
invoke-interface {v2}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getHeaderPaint()Landroid/graphics/Paint;
move-result-object v2
invoke-virtual {v7, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
goto :goto_1aa
.line 232
:cond_14d
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->backgroundPath:Landroid/graphics/Path;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$700(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/Path;
move-result-object v1
iget-object v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v2
invoke-interface {v2}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getStripPaint()Landroid/graphics/Paint;
move-result-object v2
invoke-virtual {v7, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
goto :goto_1aa
.line 235
:cond_161
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->header:Z
if-eqz v1, :cond_189
.line 236
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v2, v1
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v4, v3
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v1, v5
int-to-float v5, v1
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v3, v1
int-to-float v6, v3
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v1
invoke-interface {v1}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getHeaderPaint()Landroid/graphics/Paint;
move-result-object v12
move-object/from16 v1, p1
move v3, v4
move v4, v5
move v5, v6
move-object v6, v12
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
goto :goto_1aa
.line 238
:cond_189
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v2, v1
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v4, v3
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v1, v5
int-to-float v5, v1
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v3, v1
int-to-float v6, v3
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v1
invoke-interface {v1}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getStripPaint()Landroid/graphics/Paint;
move-result-object v12
move-object/from16 v1, p1
move v3, v4
move v4, v5
move v5, v6
move-object v6, v12
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 242
.end local v11 # "hasCorners":Z
:cond_1aa
:goto_1aa
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLayout:Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
if-eqz v1, :cond_1c6
.line 243
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 244
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/TableLayout$Child;->getTextX()I
move-result v1
int-to-float v1, v1
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/TableLayout$Child;->getTextY()I
move-result v2
int-to-float v2, v2
invoke-virtual {v7, v1, v2}, Landroid/graphics/Canvas;->translate(FF)V
.line 245
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLayout:Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
invoke-virtual {v1, v7}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->draw(Landroid/graphics/Canvas;)V
.line 246
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 248
:cond_1c6
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->drawLines:Z
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$800(Lim/tpelyyftgw/ui/components/TableLayout;)Z
move-result v1
if-eqz v1, :cond_3e5
.line 249
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v1
invoke-interface {v1}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getLinePaint()Landroid/graphics/Paint;
move-result-object v11
.line 250
.local v11, "linePaint":Landroid/graphics/Paint;
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v1
invoke-interface {v1}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->getLinePaint()Landroid/graphics/Paint;
move-result-object v12
.line 251
.local v12, "halfLinePaint":Landroid/graphics/Paint;
invoke-virtual {v11}, Landroid/graphics/Paint;->getStrokeWidth()F
move-result v1
const/high16 v2, 0x40000000 # 2.0f
div-float v13, v1, v2
.line 252
.local v13, "strokeWidth":F
invoke-virtual {v12}, Landroid/graphics/Paint;->getStrokeWidth()F
move-result v1
div-float v14, v1, v2
.line 256
.local v14, "halfStrokeWidth":F
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
if-nez v1, :cond_225
.line 257
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v2, v1
.line 258
.local v2, "start":F
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v3, v1
int-to-float v3, v3
.line 259
.local v3, "end":F
if-nez v1, :cond_201
.line 260
int-to-float v1, v10
add-float/2addr v2, v1
move v15, v2
goto :goto_202
.line 259
:cond_201
move v15, v2
.line 262
.end local v2 # "start":F
.local v15, "start":F
:goto_202
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->getMeasuredHeight()I
move-result v1
int-to-float v1, v1
cmpl-float v1, v3, v1
if-nez v1, :cond_212
.line 263
int-to-float v1, v10
sub-float/2addr v3, v1
move/from16 v16, v3
goto :goto_214
.line 262
:cond_212
move/from16 v16, v3
.line 265
.end local v3 # "end":F
.local v16, "end":F
:goto_214
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v2, v1
add-float/2addr v2, v13
int-to-float v1, v1
add-float v4, v1, v13
move-object/from16 v1, p1
move v3, v15
move/from16 v5, v16
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
goto :goto_23a
.line 267
.end local v15 # "start":F
.end local v16 # "end":F
:cond_225
int-to-float v2, v1
sub-float/2addr v2, v14
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v4, v3
int-to-float v1, v1
sub-float v5, v1, v14
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v3, v1
int-to-float v6, v3
move-object/from16 v1, p1
move v3, v4
move v4, v5
move v5, v6
move-object v6, v12
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
.line 269
:goto_23a
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v1, :cond_270
.line 270
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v2, v1
.line 271
.restart local v2 # "start":F
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v3, v1
int-to-float v3, v3
.line 272
.restart local v3 # "end":F
if-nez v1, :cond_24b
.line 273
int-to-float v1, v10
add-float/2addr v2, v1
move v15, v2
goto :goto_24c
.line 272
:cond_24b
move v15, v2
.line 275
.end local v2 # "start":F
.restart local v15 # "start":F
:goto_24c
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->getMeasuredWidth()I
move-result v1
int-to-float v1, v1
cmpl-float v1, v3, v1
if-nez v1, :cond_25c
.line 276
int-to-float v1, v10
sub-float/2addr v3, v1
move/from16 v16, v3
goto :goto_25e
.line 275
:cond_25c
move/from16 v16, v3
.line 278
.end local v3 # "end":F
.restart local v16 # "end":F
:goto_25e
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v2, v1
add-float v3, v2, v13
int-to-float v1, v1
add-float v5, v1, v13
move-object/from16 v1, p1
move v2, v15
move/from16 v4, v16
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
goto :goto_286
.line 280
.end local v15 # "start":F
.end local v16 # "end":F
:cond_270
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v3, v2
int-to-float v4, v1
sub-float/2addr v4, v14
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v2, v5
int-to-float v5, v2
int-to-float v1, v1
sub-float v6, v1, v14
move-object/from16 v1, p1
move v2, v3
move v3, v4
move v4, v5
move v5, v6
move-object v6, v12
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
.line 283
:goto_286
if-eqz v8, :cond_290
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v1, :cond_290
.line 284
add-int/2addr v1, v10
int-to-float v1, v1
move v15, v1
.local v1, "start":F
goto :goto_295
.line 286
.end local v1 # "start":F
:cond_290
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v1, v1
sub-float/2addr v1, v13
move v15, v1
.line 288
.restart local v15 # "start":F
:goto_295
if-eqz v8, :cond_2a3
if-eqz v9, :cond_2a3
.line 289
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v1, v2
sub-int/2addr v1, v10
int-to-float v1, v1
move/from16 v16, v1
.local v1, "end":F
goto :goto_2ac
.line 291
.end local v1 # "end":F
:cond_2a3
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int/2addr v1, v2
int-to-float v1, v1
sub-float/2addr v1, v13
move/from16 v16, v1
.line 293
.restart local v16 # "end":F
:goto_2ac
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int v3, v1, v2
int-to-float v3, v3
sub-float/2addr v3, v13
add-int/2addr v1, v2
int-to-float v1, v1
sub-float v4, v1, v13
move-object/from16 v1, p1
move v2, v3
move v3, v15
move/from16 v5, v16
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
.line 295
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
if-nez v1, :cond_2cc
if-eqz v9, :cond_2cc
.line 296
add-int/2addr v1, v10
int-to-float v1, v1
move v15, v1
.end local v15 # "start":F
.local v1, "start":F
goto :goto_2d1
.line 298
.end local v1 # "start":F
.restart local v15 # "start":F
:cond_2cc
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v1, v1
sub-float/2addr v1, v13
move v15, v1
.line 300
:goto_2d1
if-eqz v8, :cond_2df
if-eqz v9, :cond_2df
.line 301
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v1, v2
sub-int/2addr v1, v10
int-to-float v1, v1
move/from16 v16, v1
.end local v16 # "end":F
.local v1, "end":F
goto :goto_2e8
.line 303
.end local v1 # "end":F
.restart local v16 # "end":F
:cond_2df
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int/2addr v1, v2
int-to-float v1, v1
sub-float/2addr v1, v13
move/from16 v16, v1
.line 305
:goto_2e8
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int v3, v1, v2
int-to-float v3, v3
sub-float/2addr v3, v13
add-int/2addr v1, v2
int-to-float v1, v1
sub-float v5, v1, v13
move-object/from16 v1, p1
move v2, v15
move/from16 v4, v16
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
.line 307
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
if-nez v1, :cond_333
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v1, :cond_333
.line 308
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v3, v2
add-float/2addr v3, v13
iget v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v5, v4
add-float/2addr v5, v13
int-to-float v2, v2
add-float/2addr v2, v13
mul-int/lit8 v6, v10, 0x2
int-to-float v6, v6
add-float/2addr v2, v6
int-to-float v4, v4
add-float/2addr v4, v13
mul-int/lit8 v6, v10, 0x2
int-to-float v6, v6
add-float/2addr v4, v6
invoke-virtual {v1, v3, v5, v2, v4}, Landroid/graphics/RectF;->set(FFFF)V
.line 309
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v2
const/high16 v3, -0x3ccc0000 # -180.0f
const/high16 v4, 0x42b40000 # 90.0f
const/4 v5, 0x0
move-object/from16 v1, p1
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V
.line 311
:cond_333
if-eqz v8, :cond_36b
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
if-nez v1, :cond_36b
.line 312
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int v4, v2, v3
int-to-float v4, v4
sub-float/2addr v4, v13
mul-int/lit8 v5, v10, 0x2
int-to-float v5, v5
sub-float/2addr v4, v5
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
int-to-float v6, v5
add-float/2addr v6, v13
add-int/2addr v2, v3
int-to-float v2, v2
sub-float/2addr v2, v13
int-to-float v3, v5
add-float/2addr v3, v13
mul-int/lit8 v5, v10, 0x2
int-to-float v5, v5
add-float/2addr v3, v5
invoke-virtual {v1, v4, v6, v2, v3}, Landroid/graphics/RectF;->set(FFFF)V
.line 313
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v2
const/4 v3, 0x0
const/high16 v4, -0x3d4c0000 # -90.0f
const/4 v5, 0x0
move-object/from16 v1, p1
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V
.line 315
:cond_36b
iget v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
if-nez v1, :cond_3a4
if-eqz v9, :cond_3a4
.line 316
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
int-to-float v3, v2
add-float/2addr v3, v13
iget v4, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int v6, v4, v5
int-to-float v6, v6
sub-float/2addr v6, v13
mul-int/lit8 v7, v10, 0x2
int-to-float v7, v7
sub-float/2addr v6, v7
int-to-float v2, v2
add-float/2addr v2, v13
mul-int/lit8 v7, v10, 0x2
int-to-float v7, v7
add-float/2addr v2, v7
add-int/2addr v4, v5
int-to-float v4, v4
sub-float/2addr v4, v13
invoke-virtual {v1, v3, v6, v2, v4}, Landroid/graphics/RectF;->set(FFFF)V
.line 317
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v2
const/high16 v3, 0x43340000 # 180.0f
const/high16 v4, -0x3d4c0000 # -90.0f
const/4 v5, 0x0
move-object/from16 v1, p1
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V
.line 319
:cond_3a4
if-eqz v8, :cond_3e2
if-eqz v9, :cond_3e2
.line 320
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v3, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
add-int v4, v2, v3
int-to-float v4, v4
sub-float/2addr v4, v13
mul-int/lit8 v5, v10, 0x2
int-to-float v5, v5
sub-float/2addr v4, v5
iget v5, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v6, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
add-int v7, v5, v6
int-to-float v7, v7
sub-float/2addr v7, v13
move/from16 v17, v8
.end local v8 # "isLastX":Z
.local v17, "isLastX":Z
mul-int/lit8 v8, v10, 0x2
int-to-float v8, v8
sub-float/2addr v7, v8
add-int/2addr v2, v3
int-to-float v2, v2
sub-float/2addr v2, v13
add-int/2addr v5, v6
int-to-float v3, v5
sub-float/2addr v3, v13
invoke-virtual {v1, v4, v7, v2, v3}, Landroid/graphics/RectF;->set(FFFF)V
.line 321
iget-object v1, v0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->rect:Landroid/graphics/RectF;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$600(Lim/tpelyyftgw/ui/components/TableLayout;)Landroid/graphics/RectF;
move-result-object v2
const/4 v3, 0x0
const/high16 v4, 0x42b40000 # 90.0f
const/4 v5, 0x0
move-object/from16 v1, p1
move-object v6, v11
invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V
goto :goto_3e7
.line 319
.end local v17 # "isLastX":Z
.restart local v8 # "isLastX":Z
:cond_3e2
move/from16 v17, v8
.end local v8 # "isLastX":Z
.restart local v17 # "isLastX":Z
goto :goto_3e7
.line 248
.end local v11 # "linePaint":Landroid/graphics/Paint;
.end local v12 # "halfLinePaint":Landroid/graphics/Paint;
.end local v13 # "strokeWidth":F
.end local v14 # "halfStrokeWidth":F
.end local v15 # "start":F
.end local v16 # "end":F
.end local v17 # "isLastX":Z
.restart local v8 # "isLastX":Z
:cond_3e5
move/from16 v17, v8
.line 324
.end local v8 # "isLastX":Z
.restart local v17 # "isLastX":Z
:goto_3e7
return-void
.end method
.method public getLayoutParams()Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
.registers 2
.line 101
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->layoutParams:Lim/tpelyyftgw/ui/components/TableLayout$LayoutParams;
return-object v0
.end method
.method public getMeasuredHeight()I
.registers 2
.line 109
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
return v0
.end method
.method public getMeasuredWidth()I
.registers 2
.line 105
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
return v0
.end method
.method public getTextX()I
.registers 3
.line 175
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
add-int/2addr v0, v1
return v0
.end method
.method public getTextY()I
.registers 3
.line 179
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
add-int/2addr v0, v1
return v0
.end method
.method public layout(IIII)V
.registers 5
.param p1, "left" # I
.param p2, "top" # I
.param p3, "right" # I
.param p4, "bottom" # I
.line 170
iput p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->x:I
.line 171
iput p2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->y:I
.line 172
return-void
.end method
.method public measure(IIZ)V
.registers 9
.param p1, "width" # I
.param p2, "height" # I
.param p3, "first" # Z
.line 113
iput p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
.line 114
iput p2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
.line 115
if-eqz p3, :cond_8
.line 116
iput p2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->fixedHeight:I
.line 118
:cond_8
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
if-eqz v0, :cond_c4
.line 119
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->valign_middle:Z
if-eqz v0, :cond_1a
.line 120
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
sub-int/2addr v0, v1
div-int/lit8 v0, v0, 0x2
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
goto :goto_37
.line 121
:cond_1a
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->valign_bottom:Z
if-eqz v0, :cond_2f
.line 122
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
sub-int/2addr v0, v1
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingTop:I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$100(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v1
sub-int/2addr v0, v1
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
goto :goto_37
.line 124
:cond_2f
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingTop:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/TableLayout;->access$100(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
.line 127
:goto_37
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLayout:Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
if-eqz v0, :cond_c4
.line 128
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->getLineCount()I
move-result v0
.line 129
.local v0, "lineCount":I
if-nez p3, :cond_79
const/4 v1, 0x1
if-gt v0, v1, :cond_52
if-lez v0, :cond_79
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->align_center:Z
if-nez v1, :cond_52
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->align_right:Z
if-eqz v1, :cond_79
.line 130
:cond_52
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->delegate:Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$300(Lim/tpelyyftgw/ui/components/TableLayout;)Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
iget-object v4, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingLeft:I
invoke-static {v4}, Lim/tpelyyftgw/ui/components/TableLayout;->access$200(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v4
mul-int/lit8 v4, v4, 0x2
sub-int/2addr v3, v4
invoke-interface {v1, v2, v3}, Lim/tpelyyftgw/ui/components/TableLayout$TableLayoutDelegate;->createTextLayout(Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;I)Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
move-result-object v1
invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/TableLayout$Child;->setTextLayout(Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;)V
.line 131
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
iget-object v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingTop:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$100(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v2
mul-int/lit8 v2, v2, 0x2
add-int/2addr v1, v2
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->fixedHeight:I
.line 134
:cond_79
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLeft:I
if-eqz v1, :cond_bc
.line 135
neg-int v1, v1
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
.line 136
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->align_right:Z
if-eqz v1, :cond_98
.line 137
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
iget v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
iget v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
sub-int/2addr v2, v3
iget-object v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingLeft:I
invoke-static {v3}, Lim/tpelyyftgw/ui/components/TableLayout;->access$200(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v3
sub-int/2addr v2, v3
add-int/2addr v1, v2
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
goto :goto_c4
.line 138
:cond_98
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->align_center:Z
if-eqz v1, :cond_b0
.line 139
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
iget v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredWidth:I
iget v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
sub-int/2addr v2, v3
div-int/lit8 v2, v2, 0x2
int-to-float v2, v2
invoke-static {v2}, Ljava/lang/Math;->round(F)I
move-result v2
add-int/2addr v1, v2
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
goto :goto_c4
.line 141
:cond_b0
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
iget-object v2, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingLeft:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/TableLayout;->access$200(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v2
add-int/2addr v1, v2
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
goto :goto_c4
.line 144
:cond_bc
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingLeft:I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$200(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v1
iput v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textX:I
.line 148
.end local v0 # "lineCount":I
:cond_c4
:goto_c4
return-void
.end method
.method public setFixedHeight(I)V
.registers 4
.param p1, "value" # I
.line 183
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->fixedHeight:I
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
.line 184
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->valign_middle:Z
if-eqz v0, :cond_14
.line 185
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
sub-int/2addr v0, v1
div-int/lit8 v0, v0, 0x2
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
goto :goto_28
.line 186
:cond_14
iget-object v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->cell:Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_pageTableCell;->valign_bottom:Z
if-eqz v0, :cond_28
.line 187
iget v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->measuredHeight:I
iget v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
sub-int/2addr v0, v1
iget-object v1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->this$0:Lim/tpelyyftgw/ui/components/TableLayout;
# getter for: Lim/tpelyyftgw/ui/components/TableLayout;->itemPaddingTop:I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/TableLayout;->access$100(Lim/tpelyyftgw/ui/components/TableLayout;)I
move-result v1
sub-int/2addr v0, v1
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textY:I
.line 189
:cond_28
:goto_28
return-void
.end method
.method public setTextLayout(Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;)V
.registers 8
.param p1, "layout" # Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
.line 151
iput-object p1, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLayout:Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;
.line 153
const/4 v0, 0x0
if-eqz p1, :cond_48
.line 154
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
.line 155
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLeft:I
.line 156
const/4 v0, 0x0
.local v0, "a":I
invoke-virtual {p1}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->getLineCount()I
move-result v1
.local v1, "N":I
:goto_e
if-ge v0, v1, :cond_41
.line 157
invoke-virtual {p1, v0}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->getLineLeft(I)F
move-result v2
.line 158
.local v2, "lineLeft":F
if-nez v0, :cond_1d
float-to-double v3, v2
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
move-result-wide v3
double-to-int v3, v3
goto :goto_29
:cond_1d
iget v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLeft:I
float-to-double v4, v2
invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D
move-result-wide v4
double-to-int v4, v4
invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I
move-result v3
:goto_29
iput v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLeft:I
.line 159
invoke-virtual {p1, v0}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->getLineWidth(I)F
move-result v3
iget v4, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
int-to-float v4, v4
invoke-static {v3, v4}, Ljava/lang/Math;->max(FF)F
move-result v3
float-to-double v3, v3
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
move-result-wide v3
double-to-int v3, v3
iput v3, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
.line 156
.end local v2 # "lineLeft":F
add-int/lit8 v0, v0, 0x1
goto :goto_e
.line 161
.end local v0 # "a":I
.end local v1 # "N":I
:cond_41
invoke-virtual {p1}, Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;->getHeight()I
move-result v0
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
goto :goto_4e
.line 163
:cond_48
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textLeft:I
.line 164
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textWidth:I
.line 165
iput v0, p0, Lim/tpelyyftgw/ui/components/TableLayout$Child;->textHeight:I
.line 167
:goto_4e
return-void
.end method