TextPaintView$1.smali
.class Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;
.super Ljava/lang/Object;
.source "TextPaintView.java"
# interfaces
.implements Landroid/text/TextWatcher;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;-><init>(Landroid/content/Context;Lim/tpelyyftgw/ui/components/Point;ILjava/lang/String;Lim/tpelyyftgw/ui/components/paint/Swatch;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field private beforeCursorPosition:I
.field private text:Ljava/lang/String;
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
.line 60
iput-object p1, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 62
const/4 v0, 0x0
iput v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->beforeCursorPosition:I
return-void
.end method
# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
.registers 4
.param p1, "s" # Landroid/text/Editable;
.line 77
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;->access$000(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;
move-result-object v0
invoke-virtual {v0, p0}, Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;->removeTextChangedListener(Landroid/text/TextWatcher;)V
.line 79
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;->access$000(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;->getLineCount()I
move-result v0
const/16 v1, 0x9
if-le v0, v1, :cond_2d
.line 80
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;->access$000(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->text:Ljava/lang/String;
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;->setText(Ljava/lang/CharSequence;)V
.line 81
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;->access$000(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;
move-result-object v0
iget v1, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->beforeCursorPosition:I
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;->setSelection(I)V
.line 84
:cond_2d
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->this$0:Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;->access$000(Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;
move-result-object v0
invoke-virtual {v0, p0}, Lim/tpelyyftgw/ui/components/paint/views/EditTextOutline;->addTextChangedListener(Landroid/text/TextWatcher;)V
.line 85
return-void
.end method
.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
.registers 6
.param p1, "s" # Ljava/lang/CharSequence;
.param p2, "start" # I
.param p3, "count" # I
.param p4, "after" # I
.line 66
invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->text:Ljava/lang/String;
.line 67
iput p2, p0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView$1;->beforeCursorPosition:I
.line 68
return-void
.end method
.method public onTextChanged(Ljava/lang/CharSequence;III)V
.registers 5
.param p1, "s" # Ljava/lang/CharSequence;
.param p2, "start" # I
.param p3, "before" # I
.param p4, "count" # I
.line 73
return-void
.end method