ChatAttachAlert$9.smali
.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;
.super Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
.source "ChatAttachAlert.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/ChatAttachAlert;-><init>(Landroid/content/Context;Lim/tpelyyftgw/ui/actionbar/BaseFragment;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
.line 1104
iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-direct {p0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
return-void
.end method
# virtual methods
.method public getSpanSize(I)I
.registers 5
.param p1, "position" # I
.line 1107
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->access$6800(Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;)I
move-result v0
add-int/lit8 v0, v0, -0x1
if-ne p1, v0, :cond_19
.line 1108
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->layoutManager:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroidx/recyclerview/widget/GridLayoutManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/recyclerview/widget/GridLayoutManager;->getSpanCount()I
move-result v0
return v0
.line 1110
:cond_19
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v1
rem-int v1, p1, v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$9;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v2
add-int/lit8 v2, v2, -0x1
if-eq v1, v2, :cond_38
const/high16 v1, 0x40a00000 # 5.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
goto :goto_39
:cond_38
const/4 v1, 0x0
:goto_39
add-int/2addr v0, v1
return v0
.end method