b$i.smali
.class public Ly6/b$i;
.super Ljava/lang/Object;
.source "Camera2Engine.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ly6/b;->a([Landroid/util/Range;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroid/util/Range<",
"Ljava/lang/Integer;",
">;>;"
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ly6/b;)V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Landroid/util/Range;Landroid/util/Range;)I
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/Range<",
"Ljava/lang/Integer;",
">;",
"Landroid/util/Range<",
"Ljava/lang/Integer;",
">;)I"
}
.end annotation
invoke-virtual {p1}, Landroid/util/Range;->getUpper()Ljava/lang/Comparable;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
invoke-virtual {p1}, Landroid/util/Range;->getLower()Ljava/lang/Comparable;
move-result-object p1
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
sub-int/2addr v0, p1
invoke-virtual {p2}, Landroid/util/Range;->getUpper()Ljava/lang/Comparable;
move-result-object p1
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
invoke-virtual {p2}, Landroid/util/Range;->getLower()Ljava/lang/Comparable;
move-result-object p2
check-cast p2, Ljava/lang/Integer;
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
move-result p2
sub-int/2addr p1, p2
sub-int/2addr v0, p1
return v0
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 3
check-cast p1, Landroid/util/Range;
check-cast p2, Landroid/util/Range;
invoke-virtual {p0, p1, p2}, Ly6/b$i;->a(Landroid/util/Range;Landroid/util/Range;)I
move-result p1
return p1
.end method