2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "java-style lambda group"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/lytefast/flexinput/fragment/CameraFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic d:I
|
|
|
|
|
|
|
|
.field public final synthetic e:Ljava/lang/Object;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(ILjava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final onClick(Landroid/view/View;)V
|
2020-07-22 00:04:40 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
if-eqz v0, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
const/4 v1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
if-eq v0, v1, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
const/4 v1, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
if-eq v0, v1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x3
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
if-ne v0, p1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFacingClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-22 00:04:40 +00:00
|
|
|
const/4 p1, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
throw p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-07-22 00:04:40 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
check-cast v0, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
if-eqz p1, :cond_2
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFlashClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/widget/ImageView;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
:cond_2
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
const-string v0, "null cannot be cast to non-null type android.widget.ImageView"
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
throw p1
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
:cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onLaunchCameraClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
:cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->getCameraView()Lcom/camerakit/CameraKitView;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onTakePhotoClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Lcom/camerakit/CameraKitView;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|