384 lines
7.1 KiB
Smali
384 lines
7.1 KiB
Smali
.class public final Lx/e1;
|
|
.super Ljava/lang/Object;
|
|
.source "SurfaceCombination.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroidx/camera/core/impl/SurfaceConfig;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Ljava/util/List;I[II)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"arrangementsResultList",
|
|
"n",
|
|
"result",
|
|
"index"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"[I>;I[II)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
array-length v0, p2
|
|
|
|
if-lt p3, v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p2}, [I->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [I
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
move v1, v0
|
|
|
|
:goto_0
|
|
if-ge v1, p1, :cond_4
|
|
|
|
move v2, v0
|
|
|
|
:goto_1
|
|
if-ge v2, p3, :cond_2
|
|
|
|
.line 3
|
|
aget v3, p2, v2
|
|
|
|
if-ne v1, v3, :cond_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move v2, v0
|
|
|
|
:goto_2
|
|
if-nez v2, :cond_3
|
|
|
|
.line 4
|
|
aput v1, p2, p3
|
|
|
|
add-int/lit8 v2, p3, 0x1
|
|
|
|
.line 5
|
|
invoke-static {p0, p1, p2, v2}, Lx/e1;->b(Ljava/util/List;I[II)V
|
|
|
|
:cond_3
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroidx/camera/core/impl/SurfaceConfig;)Z
|
|
.locals 1
|
|
.param p1 # Landroidx/camera/core/impl/SurfaceConfig;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"surfaceConfig"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final c(I)Ljava/util/List;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"n"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)",
|
|
"Ljava/util/List<",
|
|
"[I>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 2
|
|
new-array v1, p1, [I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v0, p1, v1, v2}, Lx/e1;->b(Ljava/util/List;I[II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Ljava/util/List;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroidx/camera/core/impl/SurfaceConfig;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e(Ljava/util/List;)Z
|
|
.locals 8
|
|
.param p1 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"configList"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroidx/camera/core/impl/SurfaceConfig;",
|
|
">;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v2, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->size()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-le v0, v2, :cond_1
|
|
|
|
return v3
|
|
|
|
.line 3
|
|
:cond_1
|
|
iget-object v0, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Lx/e1;->c(I)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, [I
|
|
|
|
move v5, v1
|
|
|
|
move v4, v3
|
|
|
|
.line 5
|
|
:goto_0
|
|
iget-object v6, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v6}, Ljava/util/List;->size()I
|
|
|
|
move-result v6
|
|
|
|
if-ge v4, v6, :cond_4
|
|
|
|
.line 6
|
|
aget v6, v2, v4
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v7
|
|
|
|
if-ge v6, v7, :cond_3
|
|
|
|
.line 7
|
|
iget-object v6, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
.line 8
|
|
invoke-interface {v6, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Landroidx/camera/core/impl/SurfaceConfig;
|
|
|
|
aget v7, v2, v4
|
|
|
|
.line 9
|
|
invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroidx/camera/core/impl/SurfaceConfig;
|
|
|
|
invoke-virtual {v6, v7}, Landroidx/camera/core/impl/SurfaceConfig;->d(Landroidx/camera/core/impl/SurfaceConfig;)Z
|
|
|
|
move-result v6
|
|
|
|
and-int/2addr v5, v6
|
|
|
|
if-nez v5, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
:goto_1
|
|
if-eqz v5, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
move v1, v3
|
|
|
|
:goto_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public f(Landroidx/camera/core/impl/SurfaceConfig;)Z
|
|
.locals 1
|
|
.param p1 # Landroidx/camera/core/impl/SurfaceConfig;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"surfaceConfig"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx/e1;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|