Rabbit-R1/switch port/smali/smali_classes3/com/journeyapps/barcodescanner/CameraPreview$2.smali

90 lines
2.6 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.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