PhotoEditRadioCell$1.smali

.class Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;
.super Ljava/lang/Object;
.source "PhotoEditRadioCell.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;-><init>(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    .line 66
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .line 69
    move-object v0, p1

    check-cast v0, Lim/tpelyyftgw/ui/components/RadioButton;

    .line 70
    .local v0, "radioButton":Lim/tpelyyftgw/ui/components/RadioButton;
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    # getter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->currentType:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$000(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;)I

    move-result v1

    if-nez v1, :cond_21

    .line 71
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    # getter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->tintShadowColors:[I
    invoke-static {v1}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$200(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;)[I

    move-result-object v2

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RadioButton;->getTag()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    aget v2, v2, v3

    # setter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->currentColor:I
    invoke-static {v1, v2}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$102(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;I)I

    goto :goto_36

    .line 73
    :cond_21
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    # getter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->tintHighlighsColors:[I
    invoke-static {v1}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$300(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;)[I

    move-result-object v2

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RadioButton;->getTag()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    aget v2, v2, v3

    # setter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->currentColor:I
    invoke-static {v1, v2}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$102(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;I)I

    .line 75
    :goto_36
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    const/4 v2, 0x1

    # invokes: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->updateSelectedTintButton(Z)V
    invoke-static {v1, v2}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$400(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;Z)V

    .line 76
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    # getter for: Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->onClickListener:Landroid/view/View$OnClickListener;
    invoke-static {v1}, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;->access$500(Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;)Landroid/view/View$OnClickListener;

    move-result-object v1

    iget-object v2, p0, Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoEditRadioCell;

    invoke-interface {v1, v2}, Landroid/view/View$OnClickListener;->onClick(Landroid/view/View;)V

    .line 77
    return-void
.end method