.class Lcom/moji/crop/CropView$1;
.super Ljava/lang/Object;
.source "CropView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/crop/CropView;->a(Landroid/graphics/Bitmap;ILjava/lang/Runnable;)V
.end annotation

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


# instance fields
.field final synthetic a:[F

.field final synthetic b:F

.field final synthetic c:Ljava/lang/Runnable;

.field final synthetic d:Lcom/moji/crop/CropView;


# direct methods
.method constructor <init>(Lcom/moji/crop/CropView;[FFLjava/lang/Runnable;)V
    .locals 0

    .line 152
    iput-object p1, p0, Lcom/moji/crop/CropView$1;->d:Lcom/moji/crop/CropView;

    iput-object p2, p0, Lcom/moji/crop/CropView$1;->a:[F

    iput p3, p0, Lcom/moji/crop/CropView$1;->b:F

    iput-object p4, p0, Lcom/moji/crop/CropView$1;->c:Ljava/lang/Runnable;

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

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .line 155
    new-instance v0, Landroid/graphics/Matrix;

    invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V

    .line 156
    iget-object v1, p0, Lcom/moji/crop/CropView$1;->a:[F

    invoke-virtual {v0, v1}, Landroid/graphics/Matrix;->setValues([F)V

    .line 157
    iget v1, p0, Lcom/moji/crop/CropView$1;->b:F

    iget v2, p0, Lcom/moji/crop/CropView$1;->b:F

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->preScale(FF)Z

    .line 158
    iget-object v1, p0, Lcom/moji/crop/CropView$1;->d:Lcom/moji/crop/CropView;

    invoke-static {v1}, Lcom/moji/crop/CropView;->a(Lcom/moji/crop/CropView;)Landroid/widget/ImageView;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V

    .line 159
    iget-object v0, p0, Lcom/moji/crop/CropView$1;->c:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    return-void
.end method
