244 lines
9.0 KiB
Smali
244 lines
9.0 KiB
Smali
.class Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;
|
|
.super Ljava/lang/Object;
|
|
.source "BgAdViewCreater.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/squareup/picasso/Target;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = "MyTarget"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjad/background/creater/BgAdViewCreater;)V
|
|
.locals 0
|
|
|
|
.line 263
|
|
iput-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/graphics/Bitmap;Lcom/squareup/picasso/Picasso$LoadedFrom;)V
|
|
.locals 2
|
|
|
|
.line 267
|
|
invoke-static {}, Lcom/moji/weathersence/MJSceneManager;->a()Lcom/moji/weathersence/MJSceneManager;
|
|
|
|
move-result-object p2
|
|
|
|
sget-object v0, Lcom/moji/weathersence/adbg/AdBgType;->NORMAL_BACKGROUND:Lcom/moji/weathersence/adbg/AdBgType;
|
|
|
|
invoke-virtual {p2, p1, v0}, Lcom/moji/weathersence/MJSceneManager;->a(Landroid/graphics/Bitmap;Lcom/moji/weathersence/adbg/AdBgType;)V
|
|
|
|
.line 268
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c(Lcom/moji/mjad/background/creater/BgAdViewCreater;Z)Z
|
|
|
|
.line 269
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->d(Lcom/moji/mjad/background/creater/BgAdViewCreater;Z)Z
|
|
|
|
.line 270
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->d(Lcom/moji/mjad/background/creater/BgAdViewCreater;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 271
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->e(Lcom/moji/mjad/background/creater/BgAdViewCreater;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 272
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 273
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/data/AdBg;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 274
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p2, p2, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
iget-object p2, p2, Lcom/moji/mjad/background/data/AdBg;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1, p2, v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->e(Ljava/lang/String;J)V
|
|
|
|
.line 276
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c(Lcom/moji/mjad/background/creater/BgAdViewCreater;)V
|
|
|
|
.line 277
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
iget-object p2, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-interface {p1, p2}, Lcom/moji/mjad/background/interfaces/IBgAdCtrl;->a(Lcom/moji/mjad/background/creater/BgAdViewCreater;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 280
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 281
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-interface {p1, p2}, Lcom/moji/mjad/background/interfaces/IBgAdCtrl;->a(Z)V
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
|
|
.line 289
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/data/AdBg;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 290
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/background/creater/BgAdViewCreater;->b:Lcom/moji/mjad/background/data/AdBg;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/background/data/AdBg;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjad/statistics/AdStatistics;->a(Ljava/lang/String;)V
|
|
|
|
.line 292
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c(Lcom/moji/mjad/background/creater/BgAdViewCreater;Z)Z
|
|
|
|
.line 293
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->d(Lcom/moji/mjad/background/creater/BgAdViewCreater;Z)Z
|
|
|
|
.line 294
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjad/background/creater/BgAdViewCreater;->d(Lcom/moji/mjad/background/creater/BgAdViewCreater;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 295
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 296
|
|
iget-object p1, p0, Lcom/moji/mjad/background/creater/BgAdViewCreater$MyTarget;->a:Lcom/moji/mjad/background/creater/BgAdViewCreater;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/background/creater/BgAdViewCreater;->c:Lcom/moji/mjad/background/interfaces/IBgAdCtrl;
|
|
|
|
invoke-interface {p1, v0}, Lcom/moji/mjad/background/interfaces/IBgAdCtrl;->a(Z)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|