apkfuckery/com.discord/smali/e/g/g.smali
2020-05-11 20:18:42 +02:00

207 lines
5.3 KiB
Smali

.class public abstract Le/g/g;
.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
new-instance p1, Le/g/g$a;
invoke-direct {p1, p0}, Le/g/g$a;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
new-instance p1, Le/g/g$b;
invoke-direct {p1, p0}, Le/g/g$b;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
invoke-virtual {p0}, Le/g/g;->a()V
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
new-instance p1, Le/g/g$a;
invoke-direct {p1, p0}, Le/g/g$a;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
new-instance p1, Le/g/g$b;
invoke-direct {p1, p0}, Le/g/g$b;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
invoke-virtual {p0}, Le/g/g;->a()V
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
new-instance p1, Le/g/g$a;
invoke-direct {p1, p0}, Le/g/g$a;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
new-instance p1, Le/g/g$b;
invoke-direct {p1, p0}, Le/g/g$b;-><init>(Le/g/g;)V
iput-object p1, p0, Le/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
invoke-virtual {p0}, Le/g/g;->a()V
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
iget-object v2, p0, Le/g/g;->g:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
invoke-direct {v0, v1, v2}, Landroid/view/ScaleGestureDetector;-><init>(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V
iput-object v0, p0, Le/g/g;->d:Landroid/view/ScaleGestureDetector;
new-instance v0, Landroid/view/GestureDetector;
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v1
iget-object v2, p0, Le/g/g;->f:Landroid/view/GestureDetector$SimpleOnGestureListener;
invoke-direct {v0, v1, v2}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V
iput-object v0, p0, Le/g/g;->e:Landroid/view/GestureDetector;
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
invoke-virtual {p0, p1, p2}, Le/g/g;->a(FF)V
return-void
.end method
.method public e(FF)V
.locals 0
invoke-virtual {p0, p1, p2}, Le/g/g;->b(FF)V
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
invoke-virtual {p0, v0, p1, p2}, Le/g/g;->a(FFF)V
return-void
.end method
.method public g(FF)V
.locals 0
invoke-virtual {p0, p1, p2}, Le/g/g;->c(FF)V
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 1
iget-object v0, p0, Le/g/g;->e:Landroid/view/GestureDetector;
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
iget-object v0, p0, Le/g/g;->d:Landroid/view/ScaleGestureDetector;
invoke-virtual {v0, p1}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
const/4 p1, 0x1
return p1
.end method