.class public abstract Lcom/camerakit/c; .super Landroid/widget/FrameLayout; .source "GestureLayout.java" # instance fields .field private oi:Landroid/view/ScaleGestureDetector; .field private oj:Landroid/view/GestureDetector; .field private ok:Landroid/view/GestureDetector$SimpleOnGestureListener; .field private ol:Landroid/view/ScaleGestureDetector$OnScaleGestureListener; # direct methods .method public constructor (Landroid/content/Context;)V .locals 0 invoke-direct {p0, p1}, Landroid/widget/FrameLayout;->(Landroid/content/Context;)V new-instance p1, Lcom/camerakit/c$1; invoke-direct {p1, p0}, Lcom/camerakit/c$1;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector$SimpleOnGestureListener; new-instance p1, Lcom/camerakit/c$2; invoke-direct {p1, p0}, Lcom/camerakit/c$2;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/ScaleGestureDetector$OnScaleGestureListener; invoke-direct {p0}, Lcom/camerakit/c;->initialize()V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;)V .locals 0 invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;->(Landroid/content/Context;Landroid/util/AttributeSet;)V new-instance p1, Lcom/camerakit/c$1; invoke-direct {p1, p0}, Lcom/camerakit/c$1;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector$SimpleOnGestureListener; new-instance p1, Lcom/camerakit/c$2; invoke-direct {p1, p0}, Lcom/camerakit/c$2;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/ScaleGestureDetector$OnScaleGestureListener; invoke-direct {p0}, Lcom/camerakit/c;->initialize()V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;I)V .locals 0 invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;->(Landroid/content/Context;Landroid/util/AttributeSet;I)V new-instance p1, Lcom/camerakit/c$1; invoke-direct {p1, p0}, Lcom/camerakit/c$1;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector$SimpleOnGestureListener; new-instance p1, Lcom/camerakit/c$2; invoke-direct {p1, p0}, Lcom/camerakit/c$2;->(Lcom/camerakit/c;)V iput-object p1, p0, Lcom/camerakit/c;->ol:Landroid/view/ScaleGestureDetector$OnScaleGestureListener; 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 iget-object v2, p0, Lcom/camerakit/c;->ol:Landroid/view/ScaleGestureDetector$OnScaleGestureListener; invoke-direct {v0, v1, v2}, Landroid/view/ScaleGestureDetector;->(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V iput-object v0, p0, Lcom/camerakit/c;->oi:Landroid/view/ScaleGestureDetector; new-instance v0, Landroid/view/GestureDetector; invoke-virtual {p0}, Lcom/camerakit/c;->getContext()Landroid/content/Context; move-result-object v1 iget-object v2, p0, Lcom/camerakit/c;->ok:Landroid/view/GestureDetector$SimpleOnGestureListener; invoke-direct {v0, v1, v2}, Landroid/view/GestureDetector;->(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V iput-object v0, p0, Lcom/camerakit/c;->oj:Landroid/view/GestureDetector; return-void .end method # virtual methods .method public onTouchEvent(Landroid/view/MotionEvent;)Z .locals 1 iget-object v0, p0, Lcom/camerakit/c;->oj:Landroid/view/GestureDetector; invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z iget-object v0, p0, Lcom/camerakit/c;->oi:Landroid/view/ScaleGestureDetector; invoke-virtual {v0, p1}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z const/4 p1, 0x1 return p1 .end method