MyAlertController$3.smali
.class Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;
.super Ljava/lang/Object;
.source "MyAlertController.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
# instance fields
.field final synthetic this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
# direct methods
.method constructor <init>(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)V
.registers 2
.prologue
.line 748
iput-object p1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onGlobalLayout()V
.registers 5
.prologue
.line 751
iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
# getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->mScrollView:Landroid/widget/ScrollView;
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1300(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/ScrollView;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->getChildAt(I)Landroid/view/View;
move-result-object v0
.line 752
if-eqz v0, :cond_3b
.line 753
invoke-virtual {v0}, Landroid/view/View;->getHeight()I
move-result v1
.line 754
const v0, 0x3f19999a # 0.6f
iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
# getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->mContext:Landroid/content/Context;
invoke-static {v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1200(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/content/Context;
move-result-object v2
invoke-static {v2}, Lcom/cleanmaster/base/util/system/DimenUtils;->getWindowHeight(Landroid/content/Context;)I
move-result v2
int-to-float v2, v2
mul-float/2addr v0, v2
iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
.line 755
# getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->mContext:Landroid/content/Context;
invoke-static {v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1200(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/content/Context;
move-result-object v2
const/high16 v3, 0x430c0000 # 140.0f
invoke-static {v2, v3}, Lcom/cleanmaster/base/util/system/DimenUtils;->dp2px(Landroid/content/Context;F)I
move-result v2
int-to-float v2, v2
sub-float/2addr v0, v2
float-to-int v0, v0
.line 757
if-le v1, v0, :cond_3c
.line 760
:goto_31
iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$3;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;
# getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->mScrollView:Landroid/widget/ScrollView;
invoke-static {v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1300(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/ScrollView;
move-result-object v1
const/4 v2, -0x3
invoke-static {v1, v2, v0}, Lcom/cleanmaster/base/util/system/DimenUtils;->updateLayout(Landroid/view/View;II)V
.line 762
:cond_3b
return-void
:cond_3c
move v0, v1
goto :goto_31
.end method