SwipeBack$1.smali
.class final Lcom/hannesdorfmann/swipeback/SwipeBack$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/hannesdorfmann/swipeback/SwipeBack$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/hannesdorfmann/swipeback/SwipeBack;->a()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/hannesdorfmann/swipeback/SwipeBack;
# direct methods
.method constructor <init>(Lcom/hannesdorfmann/swipeback/SwipeBack;)V
.registers 2
.line 569
iput-object p1, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(FI)V
.registers 5
.line 604
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->k()Z
move-result v0
if-nez v0, :cond_47
.line 605
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
iget-object v0, v0, Lcom/hannesdorfmann/swipeback/SwipeBack;->O:Lcom/hannesdorfmann/swipeback/b/b;
if-eqz v0, :cond_18
.line 606
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
iget-object v0, v0, Lcom/hannesdorfmann/swipeback/SwipeBack;->O:Lcom/hannesdorfmann/swipeback/b/b;
iget-object v1, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-interface {v0, v1, p1, p2}, Lcom/hannesdorfmann/swipeback/b/b;->a(Lcom/hannesdorfmann/swipeback/SwipeBack;FI)V
goto :goto_36
.line 609
:cond_18
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Swiping, but no "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
const-class v1, Lcom/hannesdorfmann/swipeback/b/b;
.line 611
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " is registered"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "SwipeBack"
.line 609
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 615
:goto_36
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-static {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->b(Lcom/hannesdorfmann/swipeback/SwipeBack;)Lcom/hannesdorfmann/swipeback/SwipeBack$b;
move-result-object v0
if-eqz v0, :cond_47
.line 616
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-static {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->b(Lcom/hannesdorfmann/swipeback/SwipeBack;)Lcom/hannesdorfmann/swipeback/SwipeBack$b;
move-result-object v0
invoke-interface {v0, p1, p2}, Lcom/hannesdorfmann/swipeback/SwipeBack$b;->a(FI)V
:cond_47
return-void
.end method
.method public final a(II)V
.registers 6
.line 574
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->k()Z
move-result v0
if-nez v0, :cond_5f
.line 576
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
iget-object v0, v0, Lcom/hannesdorfmann/swipeback/SwipeBack;->O:Lcom/hannesdorfmann/swipeback/b/b;
if-eqz v0, :cond_30
const/16 v0, 0x8
if-ne v0, p2, :cond_20
.line 579
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
iget-object v0, v0, Lcom/hannesdorfmann/swipeback/SwipeBack;->O:Lcom/hannesdorfmann/swipeback/b/b;
iget-object v1, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
.line 580
invoke-static {v1}, Lcom/hannesdorfmann/swipeback/SwipeBack;->a(Lcom/hannesdorfmann/swipeback/SwipeBack;)Landroid/app/Activity;
move-result-object v2
.line 579
invoke-interface {v0, v1, v2}, Lcom/hannesdorfmann/swipeback/b/b;->a(Lcom/hannesdorfmann/swipeback/SwipeBack;Landroid/app/Activity;)V
goto :goto_4e
:cond_20
if-nez p2, :cond_4e
.line 582
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
iget-object v0, v0, Lcom/hannesdorfmann/swipeback/SwipeBack;->O:Lcom/hannesdorfmann/swipeback/b/b;
iget-object v1, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
.line 583
invoke-static {v1}, Lcom/hannesdorfmann/swipeback/SwipeBack;->a(Lcom/hannesdorfmann/swipeback/SwipeBack;)Landroid/app/Activity;
move-result-object v2
.line 582
invoke-interface {v0, v1, v2}, Lcom/hannesdorfmann/swipeback/b/b;->b(Lcom/hannesdorfmann/swipeback/SwipeBack;Landroid/app/Activity;)V
goto :goto_4e
.line 587
:cond_30
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Internal state changed, but no "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
const-class v1, Lcom/hannesdorfmann/swipeback/b/b;
.line 588
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " is registered"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "SwipeBack"
.line 587
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 593
:cond_4e
:goto_4e
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-static {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->b(Lcom/hannesdorfmann/swipeback/SwipeBack;)Lcom/hannesdorfmann/swipeback/SwipeBack$b;
move-result-object v0
if-eqz v0, :cond_5f
.line 594
iget-object v0, p0, Lcom/hannesdorfmann/swipeback/SwipeBack$1;->a:Lcom/hannesdorfmann/swipeback/SwipeBack;
invoke-static {v0}, Lcom/hannesdorfmann/swipeback/SwipeBack;->b(Lcom/hannesdorfmann/swipeback/SwipeBack;)Lcom/hannesdorfmann/swipeback/SwipeBack$b;
move-result-object v0
invoke-interface {v0, p1, p2}, Lcom/hannesdorfmann/swipeback/SwipeBack$b;->a(II)V
:cond_5f
return-void
.end method