84 lines
2.6 KiB
Smali
84 lines
2.6 KiB
Smali
|
.class public Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "GestureDetectorCompat.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImpl;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/core/view/GestureDetectorCompat;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = "GestureDetectorCompatImplJellybeanMr2"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;Landroid/os/Handler;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
new-instance v0, Landroid/view/GestureDetector;
|
||
|
|
||
|
invoke-direct {v0, p1, p2, p3}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;Landroid/os/Handler;)V
|
||
|
|
||
|
iput-object v0, p0, Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;->mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public isLongpressEnabled()Z
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;->mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/view/GestureDetector;->isLongpressEnabled()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;->mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public setIsLongpressEnabled(Z)V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;->mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->setIsLongpressEnabled(Z)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setOnDoubleTapListener(Landroid/view/GestureDetector$OnDoubleTapListener;)V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/view/GestureDetectorCompat$GestureDetectorCompatImplJellybeanMr2;->mDetector:Landroid/view/GestureDetector;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->setOnDoubleTapListener(Landroid/view/GestureDetector$OnDoubleTapListener;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|