AnimatedOverlayServiceConnection.smali
.class public Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/content/ServiceConnection;
# instance fields
.field private f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
.field private g:Landroid/view/View;
.field private h:I
.field private i:Z
.field private j:Z
# direct methods
.method public constructor <init>(Landroid/view/View;)V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->h:I
iput-object p1, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->g:Landroid/view/View;
return-void
.end method
.method public constructor <init>(Landroid/view/View;I)V
.registers 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->h:I
iput-object p1, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->g:Landroid/view/View;
iput p2, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->h:I
return-void
.end method
.method private d()V
.registers 10
const/4 v8, 0x0
iget-object v1, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->g:Landroid/view/View;
const/4 v8, 0x1
if-eqz v1, :cond_2e
const/4 v8, 0x4
iget-boolean v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->j:Z
if-nez v0, :cond_2e
const/4 v8, 0x4
iget-object v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
const/4 v8, 0x6
if-eqz v0, :cond_2e
iget v2, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->h:I
const/4 v8, 0x5
if-nez v2, :cond_26
const/4 v8, 0x4
const/4 v2, 0x0
const/4 v3, 0x0
const/16 v4, 0x11
const/4 v8, 0x0
const/high16 v5, 0x3f800000 # 1.0f
const/4 v8, 0x6
const/4 v6, 0x1
const/4 v8, 0x2
const/4 v7, 0x0
invoke-virtual/range {v0 .. v7}, Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;->c(Landroid/view/View;IIIFZZ)V
goto :goto_2a
:cond_26
const/4 v8, 0x7
invoke-virtual {v0, v1, v2}, Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;->b(Landroid/view/View;I)V
:goto_2a
const/4 v8, 0x5
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->j:Z
:cond_2e
return-void
.end method
# virtual methods
.method public a()V
.registers 3
const/4 v0, 0x0
const/4 v1, 0x1
iput-boolean v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->i:Z
const/4 v1, 0x3
iget-object v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
if-eqz v0, :cond_d
const/4 v1, 0x5
invoke-virtual {v0}, Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;->a()V
:cond_d
return-void
.end method
.method public b()Z
.registers 3
const/4 v1, 0x7
iget-object v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
const/4 v1, 0x0
if-eqz v0, :cond_a
const/4 v1, 0x1
const/4 v0, 0x1
const/4 v1, 0x6
goto :goto_b
:cond_a
const/4 v0, 0x0
:goto_b
const/4 v1, 0x7
return v0
.end method
.method public c()V
.registers 3
const/4 v1, 0x1
const/4 v0, 0x1
const/4 v1, 0x1
iput-boolean v0, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->i:Z
const/4 v1, 0x4
invoke-direct {p0}, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->d()V
const/4 v1, 0x4
return-void
.end method
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.registers 4
if-nez p2, :cond_3
return-void
:cond_3
check-cast p2, Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
iput-object p2, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
const/4 v0, 0x2
iget-boolean p1, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->i:Z
const/4 v0, 0x3
if-eqz p1, :cond_10
invoke-direct {p0}, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->d()V
:cond_10
const/4 v0, 0x2
return-void
.end method
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
.registers 3
const/4 v0, 0x1
const/4 p1, 0x0
iput-object p1, p0, Lcom/avast/android/cleaner/forcestop/AnimatedOverlayServiceConnection;->f:Lcom/avast/android/cleaner/forcestop/OverlayService$OverlayServiceBinder;
return-void
.end method