217 lines
3.7 KiB
Smali
217 lines
3.7 KiB
Smali
.class public Ly1/b$c;
|
|
.super Ljava/lang/Object;
|
|
.source "FocusStrategy.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ly1/b;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "c"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/graphics/Rect;
|
|
|
|
.field public final b:Landroid/graphics/Rect;
|
|
|
|
.field public final c:Z
|
|
|
|
.field public final d:Ly1/b$a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly1/b$a<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ZLy1/b$a;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(Z",
|
|
"Ly1/b$a<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Ly1/b$c;->a:Landroid/graphics/Rect;
|
|
|
|
.line 3
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Ly1/b$c;->b:Landroid/graphics/Rect;
|
|
|
|
.line 4
|
|
iput-boolean p1, p0, Ly1/b$c;->c:Z
|
|
|
|
.line 5
|
|
iput-object p2, p0, Ly1/b$c;->d:Ly1/b$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;TT;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ly1/b$c;->a:Landroid/graphics/Rect;
|
|
|
|
.line 2
|
|
iget-object v1, p0, Ly1/b$c;->b:Landroid/graphics/Rect;
|
|
|
|
.line 3
|
|
iget-object v2, p0, Ly1/b$c;->d:Ly1/b$a;
|
|
|
|
invoke-interface {v2, p1, v0}, Ly1/b$a;->a(Ljava/lang/Object;Landroid/graphics/Rect;)V
|
|
|
|
.line 4
|
|
iget-object p1, p0, Ly1/b$c;->d:Ly1/b$a;
|
|
|
|
invoke-interface {p1, p2, v1}, Ly1/b$a;->a(Ljava/lang/Object;Landroid/graphics/Rect;)V
|
|
|
|
.line 5
|
|
iget p1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
iget p2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-ge p1, p2, :cond_0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
const/4 v3, 0x1
|
|
|
|
if-le p1, p2, :cond_1
|
|
|
|
return v3
|
|
|
|
.line 6
|
|
:cond_1
|
|
iget p1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
iget p2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
if-ge p1, p2, :cond_3
|
|
|
|
.line 7
|
|
iget-boolean p1, p0, Ly1/b$c;->c:Z
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
move v2, v3
|
|
|
|
:cond_2
|
|
return v2
|
|
|
|
:cond_3
|
|
if-le p1, p2, :cond_5
|
|
|
|
.line 8
|
|
iget-boolean p1, p0, Ly1/b$c;->c:Z
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
move v2, v3
|
|
|
|
:goto_0
|
|
return v2
|
|
|
|
.line 9
|
|
:cond_5
|
|
iget p1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget p2, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-ge p1, p2, :cond_6
|
|
|
|
return v2
|
|
|
|
:cond_6
|
|
if-le p1, p2, :cond_7
|
|
|
|
return v3
|
|
|
|
.line 10
|
|
:cond_7
|
|
iget p1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
iget p2, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
if-ge p1, p2, :cond_9
|
|
|
|
.line 11
|
|
iget-boolean p1, p0, Ly1/b$c;->c:Z
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
move v2, v3
|
|
|
|
:cond_8
|
|
return v2
|
|
|
|
:cond_9
|
|
if-le p1, p2, :cond_b
|
|
|
|
.line 12
|
|
iget-boolean p1, p0, Ly1/b$c;->c:Z
|
|
|
|
if-eqz p1, :cond_a
|
|
|
|
goto :goto_1
|
|
|
|
:cond_a
|
|
move v2, v3
|
|
|
|
:goto_1
|
|
return v2
|
|
|
|
:cond_b
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|