SegmentedButton$1.smali
.class Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;
.super Ljava/lang/Object;
.source "SegmentedButton.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)V
.registers 2
.line 248
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.registers 4
.line 251
check-cast p1, Landroid/widget/Button;
.line 252
invoke-virtual {p1}, Landroid/widget/Button;->getTag()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
.line 253
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# getter for: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->mSelectedButtonIndex:I
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$000(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)I
move-result v0
if-ne p1, v0, :cond_15
return-void
.line 257
:cond_15
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# getter for: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->mSelectedButtonIndex:I
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$000(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)I
move-result v1
# invokes: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->handleStateChange(II)V
invoke-static {v0, v1, p1}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$100(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;II)V
.line 259
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# getter for: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->mOnClickListenerExternal:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$OnClickListenerSegmentedButton;
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$200(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$OnClickListenerSegmentedButton;
move-result-object p1
if-eqz p1, :cond_35
.line 260
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# getter for: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->mOnClickListenerExternal:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$OnClickListenerSegmentedButton;
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$200(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$OnClickListenerSegmentedButton;
move-result-object p1
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;
# getter for: Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->mSelectedButtonIndex:I
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;->access$000(Lhurriyet/mobil/android/hurriyet/views/SegmentedButton;)I
move-result v0
invoke-interface {p1, v0}, Lhurriyet/mobil/android/hurriyet/views/SegmentedButton$OnClickListenerSegmentedButton;->onClick(I)V
:cond_35
return-void
.end method