.class Lcom/moji/camera/CameraActivity$3;
.super Landroid/view/OrientationEventListener;
.source "CameraActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/camera/CameraActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/camera/CameraActivity;


# direct methods
.method constructor <init>(Lcom/moji/camera/CameraActivity;Landroid/content/Context;I)V
    .locals 0

    .line 241
    iput-object p1, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    invoke-direct {p0, p2, p3}, Landroid/view/OrientationEventListener;-><init>(Landroid/content/Context;I)V

    return-void
.end method


# virtual methods
.method public onOrientationChanged(I)V
    .locals 3

    const/4 v0, 0x0

    const/4 v1, -0x1

    if-ne p1, v1, :cond_0

    .line 246
    iget-object p1, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    invoke-static {p1, v0}, Lcom/moji/camera/CameraActivity;->a(Lcom/moji/camera/CameraActivity;I)I

    return-void

    :cond_0
    const/16 v1, 0x15e

    if-gt p1, v1, :cond_4

    const/16 v1, 0xa

    if-ge p1, v1, :cond_1

    goto :goto_0

    :cond_1
    const/16 v0, 0x50

    if-le p1, v0, :cond_2

    const/16 v0, 0x64

    if-ge p1, v0, :cond_2

    .line 252
    iget-object v0, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    const/16 v1, 0x5a

    invoke-static {v0, v1}, Lcom/moji/camera/CameraActivity;->a(Lcom/moji/camera/CameraActivity;I)I

    goto :goto_1

    :cond_2
    const/16 v0, 0xaa

    if-le p1, v0, :cond_3

    const/16 v0, 0xbe

    if-ge p1, v0, :cond_3

    .line 254
    iget-object v0, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    const/16 v1, 0xb4

    invoke-static {v0, v1}, Lcom/moji/camera/CameraActivity;->a(Lcom/moji/camera/CameraActivity;I)I

    goto :goto_1

    :cond_3
    const/16 v0, 0x104

    if-le p1, v0, :cond_5

    const/16 v0, 0x122

    if-ge p1, v0, :cond_5

    .line 256
    iget-object v0, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    const/16 v1, 0x10e

    invoke-static {v0, v1}, Lcom/moji/camera/CameraActivity;->a(Lcom/moji/camera/CameraActivity;I)I

    goto :goto_1

    .line 250
    :cond_4
    :goto_0
    iget-object v1, p0, Lcom/moji/camera/CameraActivity$3;->a:Lcom/moji/camera/CameraActivity;

    invoke-static {v1, v0}, Lcom/moji/camera/CameraActivity;->a(Lcom/moji/camera/CameraActivity;I)I

    :cond_5
    :goto_1
    const-string v0, "tes"

    .line 258
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "Orientation changed to "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
