mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 08:32:38 -06:00
77 lines
2 KiB
Smali
77 lines
2 KiB
Smali
.class Lcom/journeyapps/barcodescanner/DecoderThread$1;
|
|
.super Ljava/lang/Object;
|
|
.source "DecoderThread.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Handler$Callback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/journeyapps/barcodescanner/DecoderThread;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/journeyapps/barcodescanner/DecoderThread;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/journeyapps/barcodescanner/DecoderThread;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/journeyapps/barcodescanner/DecoderThread$1;->this$0:Lcom/journeyapps/barcodescanner/DecoderThread;
|
|
|
|
.line 34
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public handleMessage(Landroid/os/Message;)Z
|
|
.locals 2
|
|
|
|
.line 37
|
|
iget v0, p1, Landroid/os/Message;->what:I
|
|
|
|
sget v1, Lcom/google/zxing/client/android/R$id;->zxing_decode:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object p0, p0, Lcom/journeyapps/barcodescanner/DecoderThread$1;->this$0:Lcom/journeyapps/barcodescanner/DecoderThread;
|
|
|
|
.line 38
|
|
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/journeyapps/barcodescanner/SourceData;
|
|
|
|
invoke-static {p0, p1}, Lcom/journeyapps/barcodescanner/DecoderThread;->access$000(Lcom/journeyapps/barcodescanner/DecoderThread;Lcom/journeyapps/barcodescanner/SourceData;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 39
|
|
:cond_0
|
|
iget p1, p1, Landroid/os/Message;->what:I
|
|
|
|
sget v0, Lcom/google/zxing/client/android/R$id;->zxing_preview_failed:I
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
iget-object p0, p0, Lcom/journeyapps/barcodescanner/DecoderThread$1;->this$0:Lcom/journeyapps/barcodescanner/DecoderThread;
|
|
|
|
.line 41
|
|
invoke-static {p0}, Lcom/journeyapps/barcodescanner/DecoderThread;->access$100(Lcom/journeyapps/barcodescanner/DecoderThread;)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|