mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
90 lines
2.6 KiB
Smali
90 lines
2.6 KiB
Smali
|
.class Lcom/journeyapps/barcodescanner/CameraPreview$2;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "CameraPreview.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/view/SurfaceHolder$Callback;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/journeyapps/barcodescanner/CameraPreview;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/journeyapps/barcodescanner/CameraPreview$2;->this$0:Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
|
||
|
.line 173
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
|
||
|
.locals 0
|
||
|
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
.line 188
|
||
|
invoke-static {}, Lcom/journeyapps/barcodescanner/CameraPreview;->access$200()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "*** WARNING *** surfaceChanged() gave us a null surface!"
|
||
|
|
||
|
invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
iget-object p1, p0, Lcom/journeyapps/barcodescanner/CameraPreview$2;->this$0:Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
|
||
|
.line 191
|
||
|
new-instance p2, Lcom/journeyapps/barcodescanner/Size;
|
||
|
|
||
|
invoke-direct {p2, p3, p4}, Lcom/journeyapps/barcodescanner/Size;-><init>(II)V
|
||
|
|
||
|
invoke-static {p1, p2}, Lcom/journeyapps/barcodescanner/CameraPreview;->access$002(Lcom/journeyapps/barcodescanner/CameraPreview;Lcom/journeyapps/barcodescanner/Size;)Lcom/journeyapps/barcodescanner/Size;
|
||
|
|
||
|
iget-object p0, p0, Lcom/journeyapps/barcodescanner/CameraPreview$2;->this$0:Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
|
||
|
.line 192
|
||
|
invoke-static {p0}, Lcom/journeyapps/barcodescanner/CameraPreview;->access$100(Lcom/journeyapps/barcodescanner/CameraPreview;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
|
||
|
.locals 0
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lcom/journeyapps/barcodescanner/CameraPreview$2;->this$0:Lcom/journeyapps/barcodescanner/CameraPreview;
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 182
|
||
|
invoke-static {p0, p1}, Lcom/journeyapps/barcodescanner/CameraPreview;->access$002(Lcom/journeyapps/barcodescanner/CameraPreview;Lcom/journeyapps/barcodescanner/Size;)Lcom/journeyapps/barcodescanner/Size;
|
||
|
|
||
|
return-void
|
||
|
.end method
|