154 lines
3.1 KiB
Smali
154 lines
3.1 KiB
Smali
.class public Le/g/g$a;
|
|
.super Landroid/view/GestureDetector$SimpleOnGestureListener;
|
|
.source "GestureLayout.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Le/g/g;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Le/g/g;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Le/g/g;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onDoubleTap(Landroid/view/MotionEvent;)Z
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v2
|
|
|
|
iget-object v3, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
div-float/2addr v2, v3
|
|
|
|
invoke-virtual {v0, v1, v2}, Le/g/g;->d(FF)V
|
|
|
|
invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onDoubleTap(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onLongPress(Landroid/view/MotionEvent;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getHeight()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr p1, v2
|
|
|
|
invoke-virtual {v0, v1, p1}, Le/g/g;->e(FF)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v2
|
|
|
|
iget-object v3, p0, Le/g/g$a;->d:Le/g/g;
|
|
|
|
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
div-float/2addr v2, v3
|
|
|
|
invoke-virtual {v0, v1, v2}, Le/g/g;->g(FF)V
|
|
|
|
invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|