66 lines
1.5 KiB
Smali
66 lines
1.5 KiB
Smali
.class public Lcom/moji/redleaves/view/RLMapView;
|
|
.super Lcom/amap/api/maps2d/MapView;
|
|
.source "RLMapView.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 16
|
|
invoke-direct {p0, p1}, Lcom/amap/api/maps2d/MapView;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 20
|
|
invoke-direct {p0, p1, p2}, Lcom/amap/api/maps2d/MapView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 24
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/amap/api/maps2d/MapView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
.line 29
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 31
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/moji/redleaves/view/RLMapView;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-interface {v0, v1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
.line 34
|
|
:goto_0
|
|
invoke-super {p0, p1}, Lcom/amap/api/maps2d/MapView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|