apkfuckery/com.discord/smali/f/g/g.smali

208 lines
5.3 KiB
Smali
Raw Normal View History

2020-04-11 15:34:05 +00:00
.class public abstract Lf/g/g;
2019-12-06 03:29:40 +00:00
.super Landroid/widget/FrameLayout;
.source "GestureLayout.java"
# instance fields
.field public d:Landroid/view/ScaleGestureDetector;
.field public e:Landroid/view/GestureDetector;
.field public f:Landroid/view/GestureDetector$SimpleOnGestureListener;
.field public g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$a;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$a;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$b;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$b;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {p0}, Lf/g/g;->a()V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$a;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$a;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$b;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$b;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {p0}, Lf/g/g;->a()V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$a;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$a;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
new-instance p1, Lf/g/g$b;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {p1, p0}, Lf/g/g$b;-><init>(Lf/g/g;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lf/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {p0}, Lf/g/g;->a()V
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
.method public final a()V
.locals 3
new-instance v0, Landroid/view/ScaleGestureDetector;
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v1
2020-04-11 15:34:05 +00:00
iget-object v2, p0, Lf/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-12-06 03:29:40 +00:00
invoke-direct {v0, v1, v2}, Landroid/view/ScaleGestureDetector;-><init>(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V
2020-04-11 15:34:05 +00:00
iput-object v0, p0, Lf/g/g;->d:Landroid/view/ScaleGestureDetector;
2019-12-06 03:29:40 +00:00
new-instance v0, Landroid/view/GestureDetector;
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v1
2020-04-11 15:34:05 +00:00
iget-object v2, p0, Lf/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-12-06 03:29:40 +00:00
invoke-direct {v0, v1, v2}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V
2020-04-11 15:34:05 +00:00
iput-object v0, p0, Lf/g/g;->e:Landroid/view/GestureDetector;
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public abstract a(FF)V
.end method
.method public abstract a(FFF)V
.end method
.method public abstract b(FF)V
.end method
.method public abstract c(FF)V
.end method
.method public d(FF)V
.locals 0
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, p1, p2}, Lf/g/g;->a(FF)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public e(FF)V
.locals 0
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, p1, p2}, Lf/g/g;->b(FF)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public f(FF)V
.locals 2
mul-float v0, p1, p1
mul-float v1, p2, p2
add-float/2addr v1, v0
float-to-double v0, v1
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
move-result-wide v0
double-to-float v0, v0
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, v0, p1, p2}, Lf/g/g;->a(FFF)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public g(FF)V
.locals 0
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, p1, p2}, Lf/g/g;->c(FF)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 1
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lf/g/g;->e:Landroid/view/GestureDetector;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lf/g/g;->d:Landroid/view/ScaleGestureDetector;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
const/4 p1, 0x1
return p1
.end method