ChatAttachAlert$2.smali
.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;
.super Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;
.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 private ignoreLayout:Z
.field private initialTranslationY:F
.field private lastNotifyWidth:I
.field private rect:Landroid/graphics/RectF;
.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;Landroid/content/Context;)V
.registers 4
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
.param p2, "context" # Landroid/content/Context;
.line 619
iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;-><init>(Landroid/content/Context;)V
.line 622
new-instance v0, Landroid/graphics/RectF;
invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V
iput-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->rect:Landroid/graphics/RectF;
return-void
.end method
.method private onMeasureInternal(II)V
.registers 16
.param p1, "widthMeasureSpec" # I
.param p2, "heightMeasureSpec" # I
.line 713
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v0
.line 714
.local v0, "widthSize":I
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v1
.line 716
.local v1, "heightSize":I
invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->setMeasuredDimension(II)V
.line 717
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v2
mul-int/lit8 v2, v2, 0x2
sub-int/2addr v0, v2
.line 719
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getKeyboardHeight()I
move-result v2
.line 720
.local v2, "keyboardSize":I
const/high16 v3, 0x41a00000 # 20.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
const/high16 v4, 0x40000000 # 2.0f
if-gt v2, v3, :cond_36
.line 721
sget-boolean v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
if-nez v3, :cond_45
.line 722
iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v3
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->getEmojiPadding()I
move-result v3
sub-int/2addr v1, v3
.line 723
invoke-static {v1, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p2
goto :goto_45
.line 726
:cond_36
const/4 v3, 0x1
iput-boolean v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 727
iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v3
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->hideEmojiView()V
.line 728
const/4 v3, 0x0
iput-boolean v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 731
:cond_45
:goto_45
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getChildCount()I
move-result v3
.line 732
.local v3, "childCount":I
const/4 v5, 0x0
move v11, v5
.local v11, "i":I
:goto_4b
if-ge v11, v3, :cond_de
.line 733
invoke-virtual {p0, v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getChildAt(I)Landroid/view/View;
move-result-object v12
.line 734
.local v12, "child":Landroid/view/View;
if-eqz v12, :cond_da
invoke-virtual {v12}, Landroid/view/View;->getVisibility()I
move-result v5
const/16 v6, 0x8
if-ne v5, v6, :cond_5d
.line 735
goto/16 :goto_da
.line 737
:cond_5d
iget-object v5, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v5}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v5
if-eqz v5, :cond_d1
iget-object v5, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v5}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v5
invoke-virtual {v5, v12}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->isPopupView(Landroid/view/View;)Z
move-result v5
if-eqz v5, :cond_d1
.line 738
sget-boolean v5, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
if-nez v5, :cond_8e
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v5
if-eqz v5, :cond_7c
goto :goto_8e
.line 745
:cond_7c
invoke-static {v0, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
invoke-virtual {v12}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
iget v6, v6, Landroid/view/ViewGroup$LayoutParams;->height:I
invoke-static {v6, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v6
invoke-virtual {v12, v5, v6}, Landroid/view/View;->measure(II)V
goto :goto_da
.line 739
:cond_8e
:goto_8e
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v5
if-eqz v5, :cond_bc
.line 740
invoke-static {v0, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v6
if-eqz v6, :cond_a1
const/high16 v6, 0x43480000 # 200.0f
goto :goto_a3
:cond_a1
const/high16 v6, 0x43a00000 # 320.0f
:goto_a3
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
sget v7, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
sub-int v7, v1, v7
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingTop()I
move-result v8
add-int/2addr v7, v8
invoke-static {v6, v7}, Ljava/lang/Math;->min(II)I
move-result v6
invoke-static {v6, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v6
invoke-virtual {v12, v5, v6}, Landroid/view/View;->measure(II)V
goto :goto_da
.line 742
:cond_bc
invoke-static {v0, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
sget v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
sub-int v6, v1, v6
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingTop()I
move-result v7
add-int/2addr v6, v7
invoke-static {v6, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v6
invoke-virtual {v12, v5, v6}, Landroid/view/View;->measure(II)V
goto :goto_da
.line 748
:cond_d1
const/4 v8, 0x0
const/4 v10, 0x0
move-object v5, p0
move-object v6, v12
move v7, p1
move v9, p2
invoke-virtual/range {v5 .. v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->measureChildWithMargins(Landroid/view/View;IIII)V
.line 732
.end local v12 # "child":Landroid/view/View;
:cond_da
:goto_da
add-int/lit8 v11, v11, 0x1
goto/16 :goto_4b
.line 751
.end local v11 # "i":I
:cond_de
return-void
.end method
# virtual methods
.method public synthetic lambda$onMeasure$0$ChatAttachAlert$2()V
.registers 2
.line 684
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsAdapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;->notifyDataSetChanged()V
return-void
.end method
.method public synthetic lambda$onMeasure$1$ChatAttachAlert$2()V
.registers 2
.line 688
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->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-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
return-void
.end method
.method protected onDraw(Landroid/graphics/Canvas;)V
.registers 16
.param p1, "canvas" # Landroid/graphics/Canvas;
.line 841
const/high16 v0, 0x41500000 # 13.0f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v1
const/4 v2, 0x0
if-eqz v1, :cond_22
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->getAlpha()F
move-result v1
const/high16 v3, 0x41d00000 # 26.0f
mul-float v1, v1, v3
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
goto :goto_23
:cond_22
const/4 v1, 0x0
:goto_23
add-int/2addr v0, v1
.line 842
.local v0, "offset":I
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->scrollOffsetY:I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v1
iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v3
sub-int/2addr v1, v3
sub-int/2addr v1, v0
.line 843
.local v1, "top":I
iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->currentSheetAnimationType:I
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4000(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v3
const/4 v4, 0x1
if-ne v3, v4, :cond_48
.line 844
int-to-float v3, v1
iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v4
invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getTranslationY()F
move-result v4
add-float/2addr v3, v4
float-to-int v1, v3
.line 846
:cond_48
const/high16 v3, 0x41a00000 # 20.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
add-int/2addr v3, v1
.line 848
.local v3, "y":I
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredHeight()I
move-result v4
const/high16 v5, 0x41700000 # 15.0f
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
add-int/2addr v4, v5
iget-object v5, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v5}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v5
add-int/2addr v4, v5
.line 849
.local v4, "height":I
const/high16 v5, 0x3f800000 # 1.0f
.line 851
.local v5, "rad":F
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v6
add-int/2addr v6, v1
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v7
const/high16 v8, 0x40800000 # 4.0f
const/high16 v9, 0x3f800000 # 1.0f
if-ge v6, v7, :cond_9a
.line 852
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
add-int/2addr v6, v0
int-to-float v6, v6
.line 853
.local v6, "toMove":F
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v7
sub-int/2addr v7, v1
iget-object v10, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
sub-int/2addr v7, v10
int-to-float v7, v7
div-float/2addr v7, v6
invoke-static {v9, v7}, Ljava/lang/Math;->min(FF)F
move-result v7
.line 854
.local v7, "moveProgress":F
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v10
int-to-float v10, v10
sub-float/2addr v10, v6
.line 856
.local v10, "availableToMove":F
mul-float v11, v10, v7
float-to-int v11, v11
.line 857
.local v11, "diff":I
sub-int/2addr v1, v11
.line 858
sub-int/2addr v3, v11
.line 859
add-int/2addr v4, v11
.line 860
sub-float v5, v9, v7
.line 863
.end local v6 # "toMove":F
.end local v7 # "moveProgress":F
.end local v10 # "availableToMove":F
.end local v11 # "diff":I
:cond_9a
sget v6, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v7, 0x15
if-lt v6, v7, :cond_a9
.line 864
sget v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
add-int/2addr v1, v6
.line 865
sget v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
add-int/2addr v3, v6
.line 866
sget v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
sub-int/2addr v4, v6
.line 869
:cond_a9
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->shadowDrawable:Landroid/graphics/drawable/Drawable;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;
move-result-object v6
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredWidth()I
move-result v7
invoke-virtual {v6, v2, v1, v7, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
.line 870
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->shadowDrawable:Landroid/graphics/drawable/Drawable;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;
move-result-object v2
invoke-virtual {v2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 872
const-string v2, "dialogBackground"
cmpl-float v6, v5, v9
if-eqz v6, :cond_114
.line 873
sget-object v6, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Landroid/graphics/Paint;->setColor(I)V
.line 874
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->rect:Landroid/graphics/RectF;
iget-object v7, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v7
int-to-float v7, v7
iget-object v10, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
add-int/2addr v10, v1
int-to-float v10, v10
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredWidth()I
move-result v11
iget-object v12, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v12}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v12
sub-int/2addr v11, v12
int-to-float v11, v11
iget-object v12, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingTop:I
invoke-static {v12}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$4900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v12
add-int/2addr v12, v1
const/high16 v13, 0x41c00000 # 24.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
add-int/2addr v12, v13
int-to-float v12, v12
invoke-virtual {v6, v7, v10, v11, v12}, Landroid/graphics/RectF;->set(FFFF)V
.line 875
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->rect:Landroid/graphics/RectF;
const/high16 v7, 0x41400000 # 12.0f
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v10
int-to-float v10, v10
mul-float v10, v10, v5
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
int-to-float v7, v7
mul-float v7, v7, v5
sget-object v11, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-virtual {p1, v6, v10, v7, v11}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 878
:cond_114
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v6
if-eqz v6, :cond_12a
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v6
invoke-virtual {v6}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->getAlpha()F
move-result v6
cmpl-float v6, v6, v9
if-eqz v6, :cond_193
:cond_12a
const/4 v6, 0x0
cmpl-float v6, v5, v6
if-eqz v6, :cond_193
.line 879
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v6
if-nez v6, :cond_138
goto :goto_143
:cond_138
iget-object v6, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v6
invoke-virtual {v6}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->getAlpha()F
move-result v6
sub-float/2addr v9, v6
:goto_143
move v6, v9
.line 880
.local v6, "alphaProgress":F
const/high16 v7, 0x42100000 # 36.0f
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
.line 881
.local v7, "w":I
iget-object v9, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->rect:Landroid/graphics/RectF;
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredWidth()I
move-result v10
sub-int/2addr v10, v7
div-int/lit8 v10, v10, 0x2
int-to-float v10, v10
int-to-float v11, v3
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredWidth()I
move-result v12
add-int/2addr v12, v7
div-int/lit8 v12, v12, 0x2
int-to-float v12, v12
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
add-int/2addr v8, v3
int-to-float v8, v8
invoke-virtual {v9, v10, v11, v12, v8}, Landroid/graphics/RectF;->set(FFFF)V
.line 882
const-string v8, "key_sheet_scrollUp"
invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v8
.line 883
.local v8, "color":I
invoke-static {v8}, Landroid/graphics/Color;->alpha(I)I
move-result v9
.line 884
.local v9, "alpha":I
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-virtual {v10, v8}, Landroid/graphics/Paint;->setColor(I)V
.line 885
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
int-to-float v11, v9
mul-float v11, v11, v6
mul-float v11, v11, v5
float-to-int v11, v11
invoke-virtual {v10, v11}, Landroid/graphics/Paint;->setAlpha(I)V
.line 886
iget-object v10, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->rect:Landroid/graphics/RectF;
const/high16 v11, 0x40000000 # 2.0f
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
int-to-float v12, v12
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
int-to-float v11, v11
sget-object v13, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-virtual {p1, v10, v12, v11, v13}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 889
.end local v6 # "alphaProgress":F
.end local v7 # "w":I
.end local v8 # "color":I
.end local v9 # "alpha":I
:cond_193
invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v2
.line 890
.local v2, "color1":I
const/high16 v6, 0x437f0000 # 255.0f
iget-object v7, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBar;
move-result-object v7
invoke-virtual {v7}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getAlpha()F
move-result v7
mul-float v7, v7, v6
float-to-int v6, v7
invoke-static {v2}, Landroid/graphics/Color;->red(I)I
move-result v7
int-to-float v7, v7
const v8, 0x3f4ccccd # 0.8f
mul-float v7, v7, v8
float-to-int v7, v7
invoke-static {v2}, Landroid/graphics/Color;->green(I)I
move-result v9
int-to-float v9, v9
mul-float v9, v9, v8
float-to-int v9, v9
invoke-static {v2}, Landroid/graphics/Color;->blue(I)I
move-result v10
int-to-float v10, v10
mul-float v10, v10, v8
float-to-int v8, v10
invoke-static {v6, v7, v9, v8}, Landroid/graphics/Color;->argb(IIII)I
move-result v6
.line 891
.local v6, "finalColor":I
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-virtual {v7, v6}, Landroid/graphics/Paint;->setColor(I)V
.line 892
iget-object v7, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5000(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v7
int-to-float v9, v7
const/4 v10, 0x0
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredWidth()I
move-result v7
iget-object v8, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v8
sub-int/2addr v7, v8
int-to-float v11, v7
sget v7, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
int-to-float v12, v7
sget-object v13, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
move-object v8, p1
invoke-virtual/range {v8 .. v13}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 893
return-void
.end method
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.registers 6
.param p1, "ev" # Landroid/view/MotionEvent;
.line 628
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->cameraAnimationInProgress:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_a
.line 629
return v1
.line 630
:cond_a
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->cameraOpened:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
if-eqz v0, :cond_19
.line 631
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# invokes: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->processTouchEvent(Landroid/view/MotionEvent;)Z
invoke-static {v0, p1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Landroid/view/MotionEvent;)Z
move-result v0
return v0
.line 632
:cond_19
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result v0
if-nez v0, :cond_52
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->scrollOffsetY:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v0
if-eqz v0, :cond_52
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->scrollOffsetY:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v2
const/high16 v3, 0x42100000 # 36.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v2, v3
int-to-float v2, v2
cmpg-float v0, v0, v2
if-gez v0, :cond_52
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBar;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getAlpha()F
move-result v0
const/4 v2, 0x0
cmpl-float v0, v0, v2
if-nez v0, :cond_52
.line 633
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->dismiss()V
.line 634
return v1
.line 636
:cond_52
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
return v0
.end method
.method protected onLayout(ZIIII)V
.registers 22
.param p1, "changed" # Z
.param p2, "l" # I
.param p3, "t" # I
.param p4, "r" # I
.param p5, "b" # I
.line 755
move-object/from16 v0, p0
iget v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->lastNotifyWidth:I
sub-int v2, p4, p2
if-eq v1, v2, :cond_3a
.line 756
sub-int v1, p4, p2
iput v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->lastNotifyWidth:I
.line 757
iget-object v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v1
if-eqz v1, :cond_1d
.line 758
iget-object v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 760
:cond_1d
iget-object v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->sendPopupWindow:Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
move-result-object v1
if-eqz v1, :cond_3a
iget-object v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->sendPopupWindow:Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;->isShowing()Z
move-result v1
if-eqz v1, :cond_3a
.line 761
iget-object v1, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->sendPopupWindow:Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ActionBarPopupWindow;->dismiss()V
.line 764
:cond_3a
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getChildCount()I
move-result v1
.line 766
.local v1, "count":I
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getKeyboardHeight()I
move-result v2
const/high16 v3, 0x41a00000 # 20.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
const/4 v4, 0x0
if-gt v2, v3, :cond_60
sget-boolean v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
if-nez v2, :cond_60
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v2
if-nez v2, :cond_60
iget-object v2, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->getEmojiPadding()I
move-result v2
goto :goto_61
:cond_60
const/4 v2, 0x0
.line 767
.local v2, "paddingBottom":I
:goto_61
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->setBottomClip(I)V
.line 769
const/4 v3, 0x0
.local v3, "i":I
:goto_65
if-ge v3, v1, :cond_12a
.line 770
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getChildAt(I)Landroid/view/View;
move-result-object v5
.line 771
.local v5, "child":Landroid/view/View;
invoke-virtual {v5}, Landroid/view/View;->getVisibility()I
move-result v6
const/16 v7, 0x8
if-ne v6, v7, :cond_75
.line 772
goto/16 :goto_126
.line 774
:cond_75
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
check-cast v6, Landroid/widget/FrameLayout$LayoutParams;
.line 776
.local v6, "lp":Landroid/widget/FrameLayout$LayoutParams;
invoke-virtual {v5}, Landroid/view/View;->getMeasuredWidth()I
move-result v7
.line 777
.local v7, "width":I
invoke-virtual {v5}, Landroid/view/View;->getMeasuredHeight()I
move-result v8
.line 782
.local v8, "height":I
iget v9, v6, Landroid/widget/FrameLayout$LayoutParams;->gravity:I
.line 783
.local v9, "gravity":I
const/4 v10, -0x1
if-ne v9, v10, :cond_8a
.line 784
const/16 v9, 0x33
.line 787
:cond_8a
and-int/lit8 v10, v9, 0x7
.line 788
.local v10, "absoluteGravity":I
and-int/lit8 v11, v9, 0x70
.line 790
.local v11, "verticalGravity":I
and-int/lit8 v12, v10, 0x7
const/4 v13, 0x1
if-eq v12, v13, :cond_b1
const/4 v13, 0x5
if-eq v12, v13, :cond_9e
.line 799
iget v12, v6, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingLeft()I
move-result v13
add-int/2addr v12, v13
.local v12, "childLeft":I
goto :goto_bd
.line 795
.end local v12 # "childLeft":I
:cond_9e
sub-int v12, p4, p2
sub-int/2addr v12, v7
iget v13, v6, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I
sub-int/2addr v12, v13
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingRight()I
move-result v13
sub-int/2addr v12, v13
iget-object v13, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v13}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v13
sub-int/2addr v12, v13
.line 796
.restart local v12 # "childLeft":I
goto :goto_bd
.line 792
.end local v12 # "childLeft":I
:cond_b1
sub-int v12, p4, p2
sub-int/2addr v12, v7
div-int/lit8 v12, v12, 0x2
iget v13, v6, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I
add-int/2addr v12, v13
iget v13, v6, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I
sub-int/2addr v12, v13
.line 793
.restart local v12 # "childLeft":I
nop
.line 802
:goto_bd
const/16 v13, 0x10
if-eq v11, v13, :cond_dd
const/16 v13, 0x30
if-eq v11, v13, :cond_d5
const/16 v13, 0x50
if-eq v11, v13, :cond_cc
.line 813
iget v13, v6, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
.local v13, "childTop":I
goto :goto_eb
.line 810
.end local v13 # "childTop":I
:cond_cc
sub-int v13, p5, v2
sub-int v13, v13, p3
sub-int/2addr v13, v8
iget v14, v6, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
sub-int/2addr v13, v14
.line 811
.restart local v13 # "childTop":I
goto :goto_eb
.line 804
.end local v13 # "childTop":I
:cond_d5
iget v13, v6, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingTop()I
move-result v14
add-int/2addr v13, v14
.line 805
.restart local v13 # "childTop":I
goto :goto_eb
.line 807
.end local v13 # "childTop":I
:cond_dd
sub-int v13, p5, v2
sub-int v13, v13, p3
sub-int/2addr v13, v8
div-int/lit8 v13, v13, 0x2
iget v14, v6, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
add-int/2addr v13, v14
iget v14, v6, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
sub-int/2addr v13, v14
.line 808
.restart local v13 # "childTop":I
nop
.line 816
:goto_eb
iget-object v14, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v14}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v14
if-eqz v14, :cond_11f
iget-object v14, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v14}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v14
invoke-virtual {v14, v5}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->isPopupView(Landroid/view/View;)Z
move-result v14
if-eqz v14, :cond_11f
.line 817
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v14
if-eqz v14, :cond_110
.line 818
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredHeight()I
move-result v14
invoke-virtual {v5}, Landroid/view/View;->getMeasuredHeight()I
move-result v15
sub-int v13, v14, v15
goto :goto_11f
.line 820
:cond_110
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getMeasuredHeight()I
move-result v14
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getKeyboardHeight()I
move-result v15
add-int/2addr v14, v15
invoke-virtual {v5}, Landroid/view/View;->getMeasuredHeight()I
move-result v15
sub-int v13, v14, v15
.line 823
:cond_11f
:goto_11f
add-int v14, v12, v7
add-int v15, v13, v8
invoke-virtual {v5, v12, v13, v14, v15}, Landroid/view/View;->layout(IIII)V
.line 769
.end local v5 # "child":Landroid/view/View;
.end local v6 # "lp":Landroid/widget/FrameLayout$LayoutParams;
.end local v7 # "width":I
.end local v8 # "height":I
.end local v9 # "gravity":I
.end local v10 # "absoluteGravity":I
.end local v11 # "verticalGravity":I
.end local v12 # "childLeft":I
.end local v13 # "childTop":I
:goto_126
add-int/lit8 v3, v3, 0x1
goto/16 :goto_65
.line 826
.end local v3 # "i":I
:cond_12a
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->notifyHeightChanged()V
.line 827
iget-object v3, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# invokes: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->updateLayout(Z)V
invoke-static {v3, v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)V
.line 828
iget-object v3, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# invokes: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->checkCameraViewPosition()V
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)V
.line 829
return-void
.end method
.method protected onMeasure(II)V
.registers 18
.param p1, "widthMeasureSpec" # I
.param p2, "heightMeasureSpec" # I
.line 651
move-object v0, p0
invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v1
.line 652
.local v1, "totalHeight":I
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v3, 0x0
const/4 v4, 0x1
const/16 v5, 0x15
if-lt v2, v5, :cond_22
.line 653
iput-boolean v4, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 654
iget-object v2, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2000(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v2
sget v5, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
iget-object v6, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v6
invoke-virtual {p0, v2, v5, v6, v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->setPadding(IIII)V
.line 655
iput-boolean v3, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 657
:cond_22
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getPaddingTop()I
move-result v2
sub-int v2, v1, v2
.line 658
.local v2, "availableHeight":I
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->getKeyboardHeight()I
move-result v5
.line 659
.local v5, "keyboardSize":I
sget-boolean v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
const/high16 v7, 0x41a00000 # 20.0f
if-nez v6, :cond_43
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
if-gt v5, v6, :cond_43
.line 660
iget-object v6, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->commentTextView:Lim/tpelyyftgw/ui/components/EditTextEmoji;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/EditTextEmoji;
move-result-object v6
invoke-virtual {v6}, Lim/tpelyyftgw/ui/components/EditTextEmoji;->getEmojiPadding()I
move-result v6
sub-int/2addr v2, v6
.line 662
:cond_43
invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v6
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->backgroundPaddingLeft:I
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v8
mul-int/lit8 v8, v8, 0x2
sub-int/2addr v6, v8
.line 663
.local v6, "availableWidth":I
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v8
const/high16 v9, 0x40400000 # 3.0f
const/4 v10, 0x4
if-eqz v8, :cond_6d
.line 664
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v8, v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2402(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 665
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v8
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
neg-int v9, v9
invoke-virtual {v8, v9}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setAdditionalYOffset(I)V
goto :goto_9a
.line 666
:cond_6d
sget-object v8, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v8, v8, Landroid/graphics/Point;->x:I
sget-object v11, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v11, v11, Landroid/graphics/Point;->y:I
if-le v8, v11, :cond_86
.line 667
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v8, v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2402(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 668
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v8
invoke-virtual {v8, v3}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setAdditionalYOffset(I)V
goto :goto_9a
.line 670
:cond_86
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
const/4 v11, 0x3
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v8, v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2402(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 671
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedMenuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
move-result-object v8
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
neg-int v9, v9
invoke-virtual {v8, v9}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setAdditionalYOffset(I)V
.line 673
:goto_9a
iget-object v8, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v8
invoke-virtual {v8}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v8
check-cast v8, Landroid/widget/FrameLayout$LayoutParams;
.line 674
.local v8, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v9
iput v9, v8, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
.line 676
iget-object v9, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->actionBarShadow:Landroid/view/View;
invoke-static {v9}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/view/View;
move-result-object v9
invoke-virtual {v9}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v9
move-object v8, v9
check-cast v8, Landroid/widget/FrameLayout$LayoutParams;
.line 677
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v9
iput v9, v8, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
.line 679
iput-boolean v4, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 680
iget-object v9, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
const/high16 v11, 0x41400000 # 12.0f
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
sub-int v11, v6, v11
const/high16 v12, 0x41200000 # 10.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v11, v12
iget-object v12, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v12}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v12
div-int/2addr v11, v12
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v9, v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2702(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 681
iget-object v9, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsAdapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;
invoke-static {v9}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;
move-result-object v9
invoke-virtual {v9}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$ButtonsAdapter;->getItemCount()I
move-result v9
invoke-static {v10, v9}, Ljava/lang/Math;->min(II)I
move-result v9
div-int v9, v6, v9
.line 682
.local v9, "newSize":I
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->attachItemSize:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
if-eq v10, v9, :cond_101
.line 683
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->attachItemSize:I
invoke-static {v10, v9}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1402(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 684
new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$2$6AIEs0U1oqI9szElvLbgPiS3tIg;
invoke-direct {v10, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$2$6AIEs0U1oqI9szElvLbgPiS3tIg;-><init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;)V
invoke-static {v10}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V
.line 686
:cond_101
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->lastItemSize:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
iget-object v11, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v11
if-eq v10, v11, :cond_120
.line 687
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v11
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->lastItemSize:I
invoke-static {v10, v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2902(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 688
new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$2$ZZ_NZ66M6sR7b4Hf7-xrCaBWfmI;
invoke-direct {v10, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$2$ZZ_NZ66M6sR7b4Hf7-xrCaBWfmI;-><init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;)V
invoke-static {v10}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V
.line 690
:cond_120
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->dropDown:Landroid/widget/TextView;
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3000(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/TextView;
move-result-object v10
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v11
if-nez v11, :cond_138
sget-object v11, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v11, v11, Landroid/graphics/Point;->x:I
sget-object v12, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v12, v12, Landroid/graphics/Point;->y:I
if-le v11, v12, :cond_138
const/high16 v7, 0x41900000 # 18.0f
:cond_138
invoke-virtual {v10, v7}, Landroid/widget/TextView;->setTextSize(F)V
.line 691
iget-object v7, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->layoutManager:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroidx/recyclerview/widget/GridLayoutManager;
move-result-object v7
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
iget-object v11, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v11
mul-int v10, v10, v11
const/high16 v11, 0x40a00000 # 5.0f
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
iget-object v13, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v13}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v13
sub-int/2addr v13, v4
mul-int v12, v12, v13
add-int/2addr v10, v12
invoke-virtual {v7, v10}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V
.line 692
iget-object v7, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v7
invoke-virtual {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->getItemCount()I
move-result v7
sub-int/2addr v7, v4
int-to-float v4, v7
iget-object v7, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemsPerRow:I
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v7
int-to-float v7, v7
div-float/2addr v4, v7
float-to-double v12, v4
invoke-static {v12, v13}, Ljava/lang/Math;->ceil(D)D
move-result-wide v12
double-to-int v4, v12
.line 693
.local v4, "rows":I
iget-object v7, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->itemSize:I
invoke-static {v7}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v7
mul-int v7, v7, v4
add-int/lit8 v10, v4, -0x1
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
mul-int v10, v10, v11
add-int/2addr v7, v10
.line 694
.local v7, "contentSize":I
sub-int v10, v2, v7
invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I
move-result v11
sub-int/2addr v10, v11
const/high16 v11, 0x42700000 # 60.0f
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
sub-int/2addr v10, v11
invoke-static {v3, v10}, Ljava/lang/Math;->max(II)I
move-result v9
.line 695
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridExtraSpace:I
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v10
if-eq v10, v9, :cond_1b5
.line 696
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridExtraSpace:I
invoke-static {v10, v9}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3302(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 697
iget-object v10, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v10
invoke-virtual {v10}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 700
:cond_1b5
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z
move-result v10
if-nez v10, :cond_1c8
sget-object v10, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v10, v10, Landroid/graphics/Point;->x:I
sget-object v11, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v11, v11, Landroid/graphics/Point;->y:I
if-le v10, v11, :cond_1c8
.line 701
div-int/lit8 v10, v2, 0x6
.local v10, "padding":I
goto :goto_1cc
.line 703
.end local v10 # "padding":I
:cond_1c8
div-int/lit8 v10, v2, 0x5
mul-int/lit8 v10, v10, 0x2
.line 705
.restart local v10 # "padding":I
:goto_1cc
iget-object v11, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v11
invoke-virtual {v11}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getPaddingTop()I
move-result v11
if-eq v11, v10, :cond_1f1
.line 706
iget-object v11, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v11}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v11
const/high16 v12, 0x40c00000 # 6.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
const/high16 v14, 0x42400000 # 48.0f
invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
invoke-virtual {v11, v13, v10, v12, v14}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setPadding(IIII)V
.line 708
:cond_1f1
iput-boolean v3, v0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
.line 709
const/high16 v3, 0x40000000 # 2.0f
invoke-static {v1, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v3
move/from16 v11, p1
invoke-direct {p0, v11, v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->onMeasureInternal(II)V
.line 710
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 4
.param p1, "event" # Landroid/view/MotionEvent;
.line 641
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->cameraAnimationInProgress:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_a
.line 642
return v1
.line 643
:cond_a
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->cameraOpened:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
if-eqz v0, :cond_19
.line 644
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# invokes: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->processTouchEvent(Landroid/view/MotionEvent;)Z
invoke-static {v0, p1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Landroid/view/MotionEvent;)Z
move-result v0
return v0
.line 646
:cond_19
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->isDismissed()Z
move-result v0
if-nez v0, :cond_28
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
if-eqz v0, :cond_28
goto :goto_29
:cond_28
const/4 v1, 0x0
:goto_29
return v1
.end method
.method public requestLayout()V
.registers 2
.line 833
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->ignoreLayout:Z
if-eqz v0, :cond_5
.line 834
return-void
.line 836
:cond_5
invoke-super {p0}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->requestLayout()V
.line 837
return-void
.end method
.method public setTranslationY(F)V
.registers 11
.param p1, "translationY" # F
.line 897
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->currentSheetAnimationType:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v0
if-nez v0, :cond_a
.line 898
iput p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->initialTranslationY:F
.line 900
:cond_a
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->currentSheetAnimationType:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_a9
.line 901
const/4 v0, 0x0
cmpg-float v1, p1, v0
if-gez v1, :cond_84
.line 902
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v1
invoke-virtual {v1, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V
.line 903
const v1, -0x42333333 # -0.1f
const/high16 v2, 0x42200000 # 40.0f
div-float v2, p1, v2
mul-float v2, v2, v1
.line 904
.local v2, "scale":F
const/4 v1, 0x0
.local v1, "a":I
iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v3
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I
move-result v3
.local v3, "N":I
:goto_35
if-ge v1, v3, :cond_79
.line 905
iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v4
invoke-virtual {v4, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;
move-result-object v4
.line 906
.local v4, "child":Landroid/view/View;
instance-of v5, v4, Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;
const/high16 v6, 0x3f800000 # 1.0f
if-eqz v5, :cond_5c
.line 907
move-object v5, v4
check-cast v5, Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;
.line 908
.local v5, "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;
invoke-virtual {v5}, Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;->getImageView()Landroid/widget/ImageView;
move-result-object v7
add-float v8, v2, v6
invoke-virtual {v7, v8}, Landroid/widget/ImageView;->setScaleX(F)V
.line 909
invoke-virtual {v5}, Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;->getImageView()Landroid/widget/ImageView;
move-result-object v7
add-float/2addr v6, v2
invoke-virtual {v7, v6}, Landroid/widget/ImageView;->setScaleY(F)V
.end local v5 # "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachCameraCell;
goto :goto_75
.line 910
:cond_5c
instance-of v5, v4, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
if-eqz v5, :cond_75
.line 911
move-object v5, v4
check-cast v5, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
.line 912
.local v5, "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
invoke-virtual {v5}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;->getCheckBox()Lim/tpelyyftgw/ui/components/CheckBox2;
move-result-object v7
add-float v8, v2, v6
invoke-virtual {v7, v8}, Lim/tpelyyftgw/ui/components/CheckBox2;->setScaleX(F)V
.line 913
invoke-virtual {v5}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;->getCheckBox()Lim/tpelyyftgw/ui/components/CheckBox2;
move-result-object v7
add-float/2addr v6, v2
invoke-virtual {v7, v6}, Lim/tpelyyftgw/ui/components/CheckBox2;->setScaleY(F)V
goto :goto_76
.line 910
.end local v5 # "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
:cond_75
:goto_75
nop
.line 904
.end local v4 # "child":Landroid/view/View;
:goto_76
add-int/lit8 v1, v1, 0x1
goto :goto_35
.line 916
.end local v1 # "a":I
.end local v3 # "N":I
:cond_79
const/4 p1, 0x0
.line 917
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v1
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V
.line 918
.end local v2 # "scale":F
goto :goto_a9
.line 919
:cond_84
iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v1
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V
.line 920
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
neg-float v1, p1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getMeasuredHeight()I
move-result v2
int-to-float v2, v2
iget v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->initialTranslationY:F
div-float v3, p1, v3
mul-float v2, v2, v3
add-float/2addr v1, v2
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V
.line 923
:cond_a9
:goto_a9
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->setTranslationY(F)V
.line 924
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$2;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# invokes: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->checkCameraViewPosition()V
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)V
.line 925
return-void
.end method