PhotoCropView$4.smali

.class Lim/tpelyyftgw/ui/components/PhotoCropView$4;
.super Ljava/lang/Object;
.source "PhotoCropView.java"

# interfaces
.implements Lim/tpelyyftgw/ui/components/crop/CropRotationWheel$RotationWheelListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/PhotoCropView;-><init>(Landroid/content/Context;Z)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/PhotoCropView;


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

    return-void
.end method

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

    .line 114
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

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

    return-void
.end method


# virtual methods
.method public aspectRatioPressed()V
    .registers 2

    .line 135
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$200(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/crop/CropView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/crop/CropView;->showAspectRatioDialog()V

    .line 136
    return-void
.end method

.method public onChange(F)V
    .registers 4
    .param p1, "angle"    # F

    .line 122
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$200(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/crop/CropView;

    move-result-object v0

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/crop/CropView;->setRotation(F)V

    .line 123
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$000(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/PhotoCropView$PhotoCropViewDelegate;

    move-result-object v0

    if-eqz v0, :cond_1b

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$000(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/PhotoCropView$PhotoCropViewDelegate;

    move-result-object v0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lim/tpelyyftgw/ui/components/PhotoCropView$PhotoCropViewDelegate;->onChange(Z)V

    .line 126
    :cond_1b
    return-void
.end method

.method public onEnd(F)V
    .registers 3
    .param p1, "angle"    # F

    .line 130
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$200(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/crop/CropView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/crop/CropView;->onRotationEnded()V

    .line 131
    return-void
.end method

.method public onStart()V
    .registers 2

    .line 117
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->access$200(Lim/tpelyyftgw/ui/components/PhotoCropView;)Lim/tpelyyftgw/ui/components/crop/CropView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/crop/CropView;->onRotationBegan()V

    .line 118
    return-void
.end method

.method public rotate90Pressed()V
    .registers 2

    .line 140
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$4;->this$0:Lim/tpelyyftgw/ui/components/PhotoCropView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/PhotoCropView;->rotate()V

    .line 141
    return-void
.end method