138 lines
3.5 KiB
Smali
138 lines
3.5 KiB
Smali
.class public Landroidx/camera/camera2/internal/c2$a;
|
|
.super Ljava/lang/Object;
|
|
.source "MeteringRepeatingSession.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/camera/core/impl/utils/futures/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/camera/camera2/internal/c2;-><init>(Ls/d;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Landroidx/camera/core/impl/utils/futures/c<",
|
|
"Ljava/lang/Void;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Landroid/view/Surface;
|
|
|
|
.field public final synthetic b:Landroid/graphics/SurfaceTexture;
|
|
|
|
.field public final synthetic c:Landroidx/camera/camera2/internal/c2;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/camera/camera2/internal/c2;Landroid/view/Surface;Landroid/graphics/SurfaceTexture;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x8010,
|
|
0x1010,
|
|
0x1010
|
|
}
|
|
names = {
|
|
"this$0",
|
|
"val$surface",
|
|
"val$surfaceTexture"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/camera/camera2/internal/c2$a;->c:Landroidx/camera/camera2/internal/c2;
|
|
|
|
iput-object p2, p0, Landroidx/camera/camera2/internal/c2$a;->a:Landroid/view/Surface;
|
|
|
|
iput-object p3, p0, Landroidx/camera/camera2/internal/c2$a;->b:Landroid/graphics/SurfaceTexture;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/Void;)V
|
|
.locals 0
|
|
.param p1 # Ljava/lang/Void;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"result"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/camera/camera2/internal/c2$a;->a:Landroid/view/Surface;
|
|
|
|
invoke-virtual {p1}, Landroid/view/Surface;->release()V
|
|
|
|
.line 2
|
|
iget-object p1, p0, Landroidx/camera/camera2/internal/c2$a;->b:Landroid/graphics/SurfaceTexture;
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/SurfaceTexture;->release()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onFailure(Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"t"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "Future should never fail. Did it get completed by GC?"
|
|
|
|
invoke-direct {v0, v1, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x1000
|
|
}
|
|
names = {
|
|
"result"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
check-cast p1, Ljava/lang/Void;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/camera/camera2/internal/c2$a;->a(Ljava/lang/Void;)V
|
|
|
|
return-void
|
|
.end method
|