You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
3.4 KiB
116 lines
3.4 KiB
.class final Lcom/viatech/gallery/ShareUtil$3; |
|
.super Ljava/lang/Object; |
|
.source "ShareUtil.java" |
|
|
|
# interfaces |
|
.implements Lcom/squareup/picasso/Target; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/gallery/ShareUtil;->sharePostWechat(Landroid/content/Context;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic val$moments:Z |
|
|
|
.field final synthetic val$shareMsg:Ljava/lang/String; |
|
|
|
.field final synthetic val$sharePageUrl:Ljava/lang/String; |
|
|
|
.field final synthetic val$title:Ljava/lang/String; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 186 |
|
iput-boolean p1, p0, Lcom/viatech/gallery/ShareUtil$3;->val$moments:Z |
|
|
|
iput-object p2, p0, Lcom/viatech/gallery/ShareUtil$3;->val$sharePageUrl:Ljava/lang/String; |
|
|
|
iput-object p3, p0, Lcom/viatech/gallery/ShareUtil$3;->val$title:Ljava/lang/String; |
|
|
|
iput-object p4, p0, Lcom/viatech/gallery/ShareUtil$3;->val$shareMsg:Ljava/lang/String; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onBitmapFailed(Landroid/graphics/drawable/Drawable;)V |
|
.locals 7 |
|
|
|
.prologue |
|
.line 195 |
|
invoke-static {}, Lcom/viatech/util/weixin/WXManager;->getInstance()Lcom/viatech/util/weixin/WXManager; |
|
|
|
move-result-object v0 |
|
|
|
iget-boolean v1, p0, Lcom/viatech/gallery/ShareUtil$3;->val$moments:Z |
|
|
|
iget-object v2, p0, Lcom/viatech/gallery/ShareUtil$3;->val$sharePageUrl:Ljava/lang/String; |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/ShareUtil$3;->val$title:Ljava/lang/String; |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/ShareUtil$3;->val$shareMsg:Ljava/lang/String; |
|
|
|
sget-object v5, Lcom/viatech/gallery/GalleryUtil;->sNullBitmap:Landroid/graphics/Bitmap; |
|
|
|
const/4 v6, 0x1 |
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/viatech/util/weixin/WXManager;->shareWebPage(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/Bitmap;Z)V |
|
|
|
.line 196 |
|
return-void |
|
.end method |
|
|
|
.method public onBitmapLoaded(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;)V |
|
.locals 7 |
|
|
|
.prologue |
|
.line 189 |
|
const-wide/high16 v0, 0x403f000000000000L # 31.0 |
|
|
|
invoke-static {p1, v0, v1}, Lcom/viatech/util/BitmapUtil;->getZoomImage(Landroid/graphics/Bitmap;D)Landroid/graphics/Bitmap; |
|
|
|
move-result-object v5 |
|
|
|
.line 190 |
|
invoke-static {}, Lcom/viatech/util/weixin/WXManager;->getInstance()Lcom/viatech/util/weixin/WXManager; |
|
|
|
move-result-object v0 |
|
|
|
iget-boolean v1, p0, Lcom/viatech/gallery/ShareUtil$3;->val$moments:Z |
|
|
|
iget-object v2, p0, Lcom/viatech/gallery/ShareUtil$3;->val$sharePageUrl:Ljava/lang/String; |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/ShareUtil$3;->val$title:Ljava/lang/String; |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/ShareUtil$3;->val$shareMsg:Ljava/lang/String; |
|
|
|
const/4 v6, 0x1 |
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/viatech/util/weixin/WXManager;->shareWebPage(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/Bitmap;Z)V |
|
|
|
.line 191 |
|
return-void |
|
.end method |
|
|
|
.method public onPrepareLoad(Landroid/graphics/drawable/Drawable;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 201 |
|
return-void |
|
.end method
|
|
|