155 lines
3.3 KiB
Smali
155 lines
3.3 KiB
Smali
.class public Lmc/h;
|
|
.super Ljava/lang/Object;
|
|
.source "RecyclerItemClickListener.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/recyclerview/widget/RecyclerView$p;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lmc/h$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lmc/h$b;
|
|
|
|
.field public b:Landroid/view/GestureDetector;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroidx/recyclerview/widget/RecyclerView;Lmc/h$b;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x10,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"recyclerView",
|
|
"listener"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p3, p0, Lmc/h;->a:Lmc/h$b;
|
|
|
|
.line 3
|
|
new-instance p3, Landroid/view/GestureDetector;
|
|
|
|
new-instance v0, Lmc/h$a;
|
|
|
|
invoke-direct {v0, p0, p2}, Lmc/h$a;-><init>(Lmc/h;Landroidx/recyclerview/widget/RecyclerView;)V
|
|
|
|
invoke-direct {p3, p1, v0}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V
|
|
|
|
iput-object p3, p0, Lmc/h;->b:Landroid/view/GestureDetector;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic b(Lmc/h;)Lmc/h$b;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Lmc/h;->a:Lmc/h$b;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/MotionEvent;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"view",
|
|
"motionEvent"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"view",
|
|
"e"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->findChildViewUnder(FF)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Lmc/h;->a:Lmc/h$b;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lmc/h;->b:Landroid/view/GestureDetector;
|
|
|
|
invoke-virtual {v1, p2}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 3
|
|
iget-object p2, p0, Lmc/h;->a:Lmc/h$b;
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->getChildAdapterPosition(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-interface {p2, v0, p1}, Lmc/h$b;->a(Landroid/view/View;I)V
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public e(Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"disallowIntercept"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|