apkfuckery/com.discord/smali/com/camerakit/c.smali

130 lines
4.1 KiB
Smali
Raw Normal View History

2019-10-03 02:31:26 +00:00
.class public abstract Lcom/camerakit/c;
.super Landroid/widget/FrameLayout;
.source "GestureLayout.java"
# instance fields
2019-10-23 04:50:18 +00:00
.field private oj:Landroid/view/ScaleGestureDetector;
2019-10-03 02:31:26 +00:00
2019-10-23 04:50:18 +00:00
.field private ok:Landroid/view/GestureDetector;
2019-10-03 02:31:26 +00:00
2019-10-23 04:50:18 +00:00
.field private ol:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-10-03 02:31:26 +00:00
2019-10-23 04:50:18 +00:00
.field private om:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-10-03 02:31:26 +00:00
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
new-instance p1, Lcom/camerakit/c$1;
invoke-direct {p1, p0}, Lcom/camerakit/c$1;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-10-03 02:31:26 +00:00
new-instance p1, Lcom/camerakit/c$2;
invoke-direct {p1, p0}, Lcom/camerakit/c$2;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->om:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-10-03 02:31:26 +00:00
invoke-direct {p0}, Lcom/camerakit/c;->initialize()V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
new-instance p1, Lcom/camerakit/c$1;
invoke-direct {p1, p0}, Lcom/camerakit/c$1;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-10-03 02:31:26 +00:00
new-instance p1, Lcom/camerakit/c$2;
invoke-direct {p1, p0}, Lcom/camerakit/c$2;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->om:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-10-03 02:31:26 +00:00
invoke-direct {p0}, Lcom/camerakit/c;->initialize()V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
new-instance p1, Lcom/camerakit/c$1;
invoke-direct {p1, p0}, Lcom/camerakit/c$1;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-10-03 02:31:26 +00:00
new-instance p1, Lcom/camerakit/c$2;
invoke-direct {p1, p0}, Lcom/camerakit/c$2;-><init>(Lcom/camerakit/c;)V
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/camerakit/c;->om:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-10-03 02:31:26 +00:00
invoke-direct {p0}, Lcom/camerakit/c;->initialize()V
return-void
.end method
.method private initialize()V
.locals 3
new-instance v0, Landroid/view/ScaleGestureDetector;
invoke-virtual {p0}, Lcom/camerakit/c;->getContext()Landroid/content/Context;
move-result-object v1
2019-10-23 04:50:18 +00:00
iget-object v2, p0, Lcom/camerakit/c;->om:Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
2019-10-03 02:31:26 +00:00
invoke-direct {v0, v1, v2}, Landroid/view/ScaleGestureDetector;-><init>(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V
2019-10-23 04:50:18 +00:00
iput-object v0, p0, Lcom/camerakit/c;->oj:Landroid/view/ScaleGestureDetector;
2019-10-03 02:31:26 +00:00
new-instance v0, Landroid/view/GestureDetector;
invoke-virtual {p0}, Lcom/camerakit/c;->getContext()Landroid/content/Context;
move-result-object v1
2019-10-23 04:50:18 +00:00
iget-object v2, p0, Lcom/camerakit/c;->ol:Landroid/view/GestureDetector$SimpleOnGestureListener;
2019-10-03 02:31:26 +00:00
invoke-direct {v0, v1, v2}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V
2019-10-23 04:50:18 +00:00
iput-object v0, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector;
2019-10-03 02:31:26 +00:00
return-void
.end method
# virtual methods
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 1
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector;
2019-10-03 02:31:26 +00:00
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lcom/camerakit/c;->oj:Landroid/view/ScaleGestureDetector;
2019-10-03 02:31:26 +00:00
invoke-virtual {v0, p1}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
const/4 p1, 0x1
return p1
.end method