PhotoCropView$2.smali

.class Lim/tpelyyftgw/ui/components/PhotoCropView$2;
.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;)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 51
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 72
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 73
    return-void
.end method

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

    .line 59
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 60
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 61
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 63
    :cond_1b
    return-void
.end method

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

    .line 67
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 68
    return-void
.end method

.method public onStart()V
    .registers 2

    .line 54
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoCropView$2;->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 55
    return-void
.end method

.method public rotate90Pressed()V
    .registers 2

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

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

    .line 78
    return-void
.end method