PhotoPaintView$4.smali
.class Lim/tpelyyftgw/ui/components/PhotoPaintView$4;
.super Ljava/lang/Object;
.source "PhotoPaintView.java"
# interfaces
.implements Lim/tpelyyftgw/ui/components/paint/views/ColorPicker$ColorPickerDelegate;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/PhotoPaintView;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/PhotoPaintView;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/PhotoPaintView;
.line 202
iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onBeganColorPicking()V
.registers 3
.line 205
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->currentEntityView:Lim/tpelyyftgw/ui/components/paint/views/EntityView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$000(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EntityView;
move-result-object v0
instance-of v0, v0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
if-nez v0, :cond_10
.line 206
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
const/4 v1, 0x1
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->setDimVisibility(Z)V
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$500(Lim/tpelyyftgw/ui/components/PhotoPaintView;Z)V
.line 208
:cond_10
return-void
.end method
.method public onColorValueChanged()V
.registers 4
.line 212
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->colorPicker:Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$300(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;->getSwatch()Lim/tpelyyftgw/ui/components/paint/Swatch;
move-result-object v1
const/4 v2, 0x0
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->setCurrentSwatch(Lim/tpelyyftgw/ui/components/paint/Swatch;Z)V
invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$600(Lim/tpelyyftgw/ui/components/PhotoPaintView;Lim/tpelyyftgw/ui/components/paint/Swatch;Z)V
.line 213
return-void
.end method
.method public onFinishedColorPicking()V
.registers 4
.line 217
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->colorPicker:Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$300(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/views/ColorPicker;->getSwatch()Lim/tpelyyftgw/ui/components/paint/Swatch;
move-result-object v1
const/4 v2, 0x0
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->setCurrentSwatch(Lim/tpelyyftgw/ui/components/paint/Swatch;Z)V
invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$600(Lim/tpelyyftgw/ui/components/PhotoPaintView;Lim/tpelyyftgw/ui/components/paint/Swatch;Z)V
.line 219
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->currentEntityView:Lim/tpelyyftgw/ui/components/paint/views/EntityView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$000(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EntityView;
move-result-object v0
instance-of v0, v0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
if-nez v0, :cond_1d
.line 220
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->setDimVisibility(Z)V
invoke-static {v0, v2}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$500(Lim/tpelyyftgw/ui/components/PhotoPaintView;Z)V
.line 222
:cond_1d
return-void
.end method
.method public onSettingsPressed()V
.registers 2
.line 226
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->currentEntityView:Lim/tpelyyftgw/ui/components/paint/views/EntityView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$000(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EntityView;
move-result-object v0
if-eqz v0, :cond_28
.line 227
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->currentEntityView:Lim/tpelyyftgw/ui/components/paint/views/EntityView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$000(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EntityView;
move-result-object v0
instance-of v0, v0, Lim/tpelyyftgw/ui/components/paint/views/StickerView;
if-eqz v0, :cond_18
.line 228
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->mirrorSticker()V
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$700(Lim/tpelyyftgw/ui/components/PhotoPaintView;)V
goto :goto_2d
.line 229
:cond_18
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->currentEntityView:Lim/tpelyyftgw/ui/components/paint/views/EntityView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$000(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/views/EntityView;
move-result-object v0
instance-of v0, v0, Lim/tpelyyftgw/ui/components/paint/views/TextPaintView;
if-eqz v0, :cond_2d
.line 230
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->showTextSettings()V
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$800(Lim/tpelyyftgw/ui/components/PhotoPaintView;)V
goto :goto_2d
.line 233
:cond_28
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# invokes: Lim/tpelyyftgw/ui/components/PhotoPaintView;->showBrushSettings()V
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$900(Lim/tpelyyftgw/ui/components/PhotoPaintView;)V
.line 235
:cond_2d
:goto_2d
return-void
.end method
.method public onUndoPressed()V
.registers 2
.line 239
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoPaintView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoPaintView;
# getter for: Lim/tpelyyftgw/ui/components/PhotoPaintView;->undoStore:Lim/tpelyyftgw/ui/components/paint/UndoStore;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoPaintView;->access$200(Lim/tpelyyftgw/ui/components/PhotoPaintView;)Lim/tpelyyftgw/ui/components/paint/UndoStore;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/paint/UndoStore;->undo()V
.line 240
return-void
.end method