.class Lcom/moji/webview/WebImageUtil$1; .super Landroid/view/GestureDetector$SimpleOnGestureListener; .source "WebImageUtil.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/moji/webview/WebImageUtil;->a(Lcom/tencent/smtt/sdk/WebView;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Lcom/tencent/smtt/sdk/WebView; .field final synthetic b:Lcom/moji/webview/WebImageUtil; # direct methods .method constructor (Lcom/moji/webview/WebImageUtil;Lcom/tencent/smtt/sdk/WebView;)V .locals 0 .line 39 iput-object p1, p0, Lcom/moji/webview/WebImageUtil$1;->b:Lcom/moji/webview/WebImageUtil; iput-object p2, p0, Lcom/moji/webview/WebImageUtil$1;->a:Lcom/tencent/smtt/sdk/WebView; invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;->()V return-void .end method # virtual methods .method public onDown(Landroid/view/MotionEvent;)Z .locals 1 .line 60 iget-object v0, p0, Lcom/moji/webview/WebImageUtil$1;->b:Lcom/moji/webview/WebImageUtil; invoke-virtual {v0}, Lcom/moji/webview/WebImageUtil;->b()V .line 61 invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onDown(Landroid/view/MotionEvent;)Z move-result p1 return p1 .end method .method public onLongPress(Landroid/view/MotionEvent;)V .locals 3 .line 44 :try_start_0 iget-object v0, p0, Lcom/moji/webview/WebImageUtil$1;->a:Lcom/tencent/smtt/sdk/WebView; invoke-virtual {v0}, Lcom/tencent/smtt/sdk/WebView;->getHitTestResult()Lcom/tencent/smtt/sdk/WebView$HitTestResult; move-result-object v0 .line 46 invoke-virtual {v0}, Lcom/tencent/smtt/sdk/WebView$HitTestResult;->getType()I move-result v1 const/4 v2, 0x5 if-eq v1, v2, :cond_0 .line 47 invoke-virtual {v0}, Lcom/tencent/smtt/sdk/WebView$HitTestResult;->getType()I move-result v1 const/16 v2, 0x8 if-ne v1, v2, :cond_1 .line 48 :cond_0 iget-object v1, p0, Lcom/moji/webview/WebImageUtil$1;->b:Lcom/moji/webview/WebImageUtil; invoke-virtual {v0}, Lcom/tencent/smtt/sdk/WebView$HitTestResult;->getExtra()Ljava/lang/String; move-result-object v0 invoke-virtual {v1, v0}, Lcom/moji/webview/WebImageUtil;->a(Ljava/lang/String;)V .line 49 iget-object v0, p0, Lcom/moji/webview/WebImageUtil$1;->b:Lcom/moji/webview/WebImageUtil; invoke-virtual {v0}, Lcom/moji/webview/WebImageUtil;->a()V :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v0 const-string v1, "WebView" .line 52 invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V .line 55 :cond_1 :goto_0 invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onLongPress(Landroid/view/MotionEvent;)V return-void .end method