h$a.smali
.class public final Lcom/proxy/ad/adbusiness/h/h$a;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/proxy/ad/adbusiness/h/h;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "a"
.end annotation
# instance fields
.field a:Z
.field b:Z
.field c:Ljava/lang/Runnable;
.field final synthetic d:Lcom/proxy/ad/adbusiness/h/h;
.field private e:I
.field private f:I
.field private g:I
.field private h:J
.field private i:J
.field private j:Z
.field private k:Z
# direct methods
.method protected constructor <init>(Lcom/proxy/ad/adbusiness/h/h;)V
.registers 4
iput-object p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->h:J
iput-wide v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->i:J
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->j:Z
iput-boolean p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->a:Z
iput-boolean p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->b:Z
iput-boolean p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->k:Z
new-instance p1, Lcom/proxy/ad/adbusiness/h/h$a$1;
invoke-direct {p1, p0}, Lcom/proxy/ad/adbusiness/h/h$a$1;-><init>(Lcom/proxy/ad/adbusiness/h/h$a;)V
iput-object p1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->c:Ljava/lang/Runnable;
return-void
.end method
.method static synthetic a(Lcom/proxy/ad/adbusiness/h/h$a;)V
.registers 7
iget-wide v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->h:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_e
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
iput-wide v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->h:J
:cond_e
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->o()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/proxy/ad/adsdk/consts/AdConsts;->isBigoAd(Ljava/lang/String;)Z
move-result v0
const/4 v1, 0x1
if-nez v0, :cond_23
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->Y()V
iput-boolean v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->a:Z
return-void
:cond_23
iget-boolean v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->j:Z
if-nez v0, :cond_79
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
iget-object v0, v0, Lcom/proxy/ad/adbusiness/h/h;->I:Landroid/view/View;
iget v2, p0, Lcom/proxy/ad/adbusiness/h/h$a;->g:I
iget-object v3, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v3}, Lcom/proxy/ad/adbusiness/h/h;->aa()F
move-result v3
const/4 v4, 0x0
if-eqz v0, :cond_63
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v5
if-eqz v5, :cond_63
invoke-virtual {v0}, Landroid/view/View;->getWindowVisibility()I
move-result v5
if-nez v5, :cond_63
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v5
if-eqz v5, :cond_49
goto :goto_63
:cond_49
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
move-result v5
if-lez v5, :cond_63
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
move-result v0
if-lez v0, :cond_63
if-nez v2, :cond_59
:goto_57
const/4 v4, 0x1
goto :goto_63
:cond_59
int-to-float v0, v2
const/high16 v2, 0x42c80000 # 100.0f
mul-float v3, v3, v2
cmpg-float v0, v0, v3
if-gtz v0, :cond_63
goto :goto_57
:cond_63
:goto_63
if-nez v4, :cond_79
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->g()I
move-result v0
invoke-static {v0}, Lcom/proxy/ad/adsdk/consts/AdConsts;->isFullScreenAdType(I)Z
move-result v0
if-eqz v0, :cond_7b
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->H()Z
move-result v0
if-nez v0, :cond_7b
:cond_79
iput-boolean v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->j:Z
:cond_7b
iget-boolean v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->j:Z
if-eqz v0, :cond_9d
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
iget-wide v4, p0, Lcom/proxy/ad/adbusiness/h/h$a;->h:J
sub-long/2addr v2, v4
iget v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->e:I
int-to-long v4, v0
cmp-long v0, v2, v4
if-ltz v0, :cond_9d
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->Y()V
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
invoke-virtual {v0, v2, v3}, Lcom/proxy/ad/adbusiness/h/h;->a(J)V
iput-boolean v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->a:Z
:cond_9d
return-void
.end method
.method static synthetic b(Lcom/proxy/ad/adbusiness/h/h$a;)V
.registers 11
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->g()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x6
if-ne v0, v2, :cond_d
iput-boolean v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->b:Z
return-void
:cond_d
iget-wide v2, p0, Lcom/proxy/ad/adbusiness/h/h$a;->i:J
const-wide/16 v4, 0x0
cmp-long v0, v2, v4
if-nez v0, :cond_1b
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
iput-wide v2, p0, Lcom/proxy/ad/adbusiness/h/h$a;->i:J
:cond_1b
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
iget-object v0, v0, Lcom/proxy/ad/adbusiness/h/h;->I:Landroid/view/View;
iget-object v2, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v2}, Lcom/proxy/ad/adbusiness/h/h;->g()I
move-result v2
iget-object v3, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v3}, Lcom/proxy/ad/adbusiness/h/h;->w()I
move-result v3
iget-object v4, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v4}, Lcom/proxy/ad/adbusiness/h/h;->aa()F
move-result v4
const/4 v5, 0x0
if-eqz v0, :cond_8e
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v6
if-eqz v6, :cond_8e
invoke-virtual {v0}, Landroid/view/View;->getWindowVisibility()I
move-result v6
if-nez v6, :cond_8e
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v6
if-eqz v6, :cond_47
goto :goto_8e
:cond_47
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
move-result v6
if-lez v6, :cond_8e
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
move-result v6
if-lez v6, :cond_8e
invoke-virtual {v0}, Landroid/view/View;->getHeight()I
move-result v6
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
move-result v0
mul-int v6, v6, v0
const/16 v0, 0xa
const v7, 0x3e99999a # 0.3f
const v8, 0x3b150
const/high16 v9, 0x3f000000 # 0.5f
if-eq v2, v0, :cond_7a
packed-switch v2, :pswitch_data_ba
goto :goto_8e
:pswitch_6d
if-le v6, v8, :cond_75
cmpl-float v0, v4, v7
if-lez v0, :cond_8e
:goto_73
:pswitch_73
const/4 v5, 0x1
goto :goto_8e
:cond_75
cmpl-float v0, v4, v9
if-lez v0, :cond_8e
goto :goto_73
:cond_7a
:pswitch_7a
const/4 v0, 0x2
if-ne v3, v0, :cond_82
cmpl-float v0, v4, v9
if-lez v0, :cond_8e
goto :goto_73
:cond_82
if-le v6, v8, :cond_89
cmpl-float v0, v4, v7
if-lez v0, :cond_8e
goto :goto_73
:cond_89
cmpl-float v0, v4, v9
if-lez v0, :cond_8e
goto :goto_73
:cond_8e
:goto_8e
if-nez v5, :cond_a4
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->g()I
move-result v0
invoke-static {v0}, Lcom/proxy/ad/adsdk/consts/AdConsts;->isFullScreenAdType(I)Z
move-result v0
if-eqz v0, :cond_b9
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->H()Z
move-result v0
if-nez v0, :cond_b9
:cond_a4
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
iget-wide v4, p0, Lcom/proxy/ad/adbusiness/h/h$a;->i:J
sub-long/2addr v2, v4
iget v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->f:I
int-to-long v4, v0
cmp-long v0, v2, v4
if-ltz v0, :cond_b9
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->Z()V
iput-boolean v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->b:Z
:cond_b9
return-void
:pswitch_data_ba
.packed-switch 0x1
:pswitch_7a
:pswitch_6d
:pswitch_73
:pswitch_73
:pswitch_7a
:pswitch_7a
:pswitch_7a
.end packed-switch
.end method
# virtual methods
.method final a()V
.registers 7
iget-boolean v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->k:Z
if-eqz v0, :cond_5
return-void
:cond_5
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->w()I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_15
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->ad()I
move-result v0
goto :goto_1b
:cond_15
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->af()I
move-result v0
:goto_1b
iput v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->e:I
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->w()I
move-result v0
if-ne v0, v1, :cond_2c
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->ac()I
move-result v0
goto :goto_32
:cond_2c
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->ae()I
move-result v0
:goto_32
iput v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->g:I
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->g()I
move-result v0
iget-object v2, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v2}, Lcom/proxy/ad/adbusiness/h/h;->w()I
move-result v2
const/4 v3, 0x0
const/16 v4, 0xa
const/16 v5, 0x3e8
if-eq v0, v4, :cond_4e
packed-switch v0, :pswitch_data_5e
goto :goto_53
:goto_4b
:pswitch_4b
const/16 v3, 0x3e8
goto :goto_53
:cond_4e
:pswitch_4e
if-eq v2, v1, :cond_51
goto :goto_4b
:cond_51
:pswitch_51
const/16 v3, 0x7d0
:goto_53
iput v3, p0, Lcom/proxy/ad/adbusiness/h/h$a;->f:I
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->c:Ljava/lang/Runnable;
invoke-static {v1, v0}, Lcom/proxy/ad/a/c/b;->a(ILjava/lang/Runnable;)V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->k:Z
return-void
:pswitch_data_5e
.packed-switch 0x1
:pswitch_4e
:pswitch_4b
:pswitch_4b
:pswitch_51
:pswitch_4e
:pswitch_4e
:pswitch_4e
.end packed-switch
.end method
.method public final b()V
.registers 3
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v0}, Lcom/proxy/ad/adbusiness/h/h;->aB()Landroid/view/View;
move-result-object v0
if-nez v0, :cond_9
return-void
:cond_9
iget-object v1, p0, Lcom/proxy/ad/adbusiness/h/h$a;->d:Lcom/proxy/ad/adbusiness/h/h;
invoke-virtual {v1}, Lcom/proxy/ad/adbusiness/h/h;->R()Z
move-result v1
if-eqz v1, :cond_1b
const/4 v0, 0x2
new-instance v1, Lcom/proxy/ad/adbusiness/h/h$a$2;
invoke-direct {v1, p0}, Lcom/proxy/ad/adbusiness/h/h$a$2;-><init>(Lcom/proxy/ad/adbusiness/h/h$a;)V
invoke-static {v0, v1}, Lcom/proxy/ad/a/c/b;->a(ILjava/lang/Runnable;)V
return-void
:cond_1b
new-instance v1, Lcom/proxy/ad/adbusiness/h/h$a$3;
invoke-direct {v1, p0, v0}, Lcom/proxy/ad/adbusiness/h/h$a$3;-><init>(Lcom/proxy/ad/adbusiness/h/h$a;Landroid/view/View;)V
invoke-virtual {v0, v1}, Landroid/view/View;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V
return-void
.end method
.method public final c()V
.registers 2
iget-object v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->c:Ljava/lang/Runnable;
invoke-static {v0}, Lcom/proxy/ad/a/c/b;->a(Ljava/lang/Runnable;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/proxy/ad/adbusiness/h/h$a;->k:Z
return-void
.end method