- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
1419 lines
41 KiB
Smali
1419 lines
41 KiB
Smali
.class public Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final TYPE_SPLASH_BTN_CLICK:I
|
|
|
|
.field public final TYPE_SPLASH_BTN_GO:I
|
|
|
|
.field public final TYPE_SPLASH_BTN_OPEN:I
|
|
|
|
.field private final a:Ljava/lang/String;
|
|
|
|
.field private final b:Ljava/lang/String;
|
|
|
|
.field private final c:Ljava/lang/String;
|
|
|
|
.field private final d:Ljava/lang/String;
|
|
|
|
.field private final e:Ljava/lang/String;
|
|
|
|
.field private final f:Ljava/lang/String;
|
|
|
|
.field private final g:Ljava/lang/String;
|
|
|
|
.field private final h:Ljava/lang/String;
|
|
|
|
.field private final i:Ljava/lang/String;
|
|
|
|
.field private final j:Ljava/lang/String;
|
|
|
|
.field private final k:Ljava/lang/String;
|
|
|
|
.field private l:Ljava/lang/String;
|
|
|
|
.field private m:I
|
|
|
|
.field private n:Landroid/widget/ImageView;
|
|
|
|
.field private o:Landroid/widget/ImageView;
|
|
|
|
.field private final p:Landroid/graphics/RectF;
|
|
|
|
.field private final q:Landroid/graphics/Paint;
|
|
|
|
.field private final r:Landroid/graphics/Paint;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 63
|
|
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
const-string p1, "\u6d4f\u89c8\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a:Ljava/lang/String;
|
|
|
|
const-string p1, "View"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->b:Ljava/lang/String;
|
|
|
|
const-string p1, "\u6253\u5f00\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->c:Ljava/lang/String;
|
|
|
|
const-string p1, "Open"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->d:Ljava/lang/String;
|
|
|
|
const-string p1, "\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->e:Ljava/lang/String;
|
|
|
|
const-string p1, "Install"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->f:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_arrow_right"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->g:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_circle"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->h:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_finger"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->i:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_go"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->j:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_light"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->k:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_OPEN:I
|
|
|
|
const/4 p1, 0x2
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_GO:I
|
|
|
|
const/4 p1, 0x3
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_CLICK:I
|
|
|
|
.line 58
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
.line 59
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 60
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
.line 64
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 68
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const-string p1, "\u6d4f\u89c8\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a:Ljava/lang/String;
|
|
|
|
const-string p1, "View"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->b:Ljava/lang/String;
|
|
|
|
const-string p1, "\u6253\u5f00\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->c:Ljava/lang/String;
|
|
|
|
const-string p1, "Open"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->d:Ljava/lang/String;
|
|
|
|
const-string p1, "\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->e:Ljava/lang/String;
|
|
|
|
const-string p1, "Install"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->f:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_arrow_right"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->g:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_circle"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->h:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_finger"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->i:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_go"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->j:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_light"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->k:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_OPEN:I
|
|
|
|
const/4 p1, 0x2
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_GO:I
|
|
|
|
const/4 p1, 0x3
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_CLICK:I
|
|
|
|
.line 58
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
.line 59
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 60
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
.line 69
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 73
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const-string p1, "\u6d4f\u89c8\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a:Ljava/lang/String;
|
|
|
|
const-string p1, "View"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->b:Ljava/lang/String;
|
|
|
|
const-string p1, "\u6253\u5f00\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->c:Ljava/lang/String;
|
|
|
|
const-string p1, "Open"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->d:Ljava/lang/String;
|
|
|
|
const-string p1, "\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->e:Ljava/lang/String;
|
|
|
|
const-string p1, "Install"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->f:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_arrow_right"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->g:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_circle"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->h:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_finger"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->i:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_go"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->j:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_light"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->k:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_OPEN:I
|
|
|
|
const/4 p1, 0x2
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_GO:I
|
|
|
|
const/4 p1, 0x3
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_CLICK:I
|
|
|
|
.line 58
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
.line 59
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 60
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
.line 74
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
.line 79
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
const-string p1, "\u6d4f\u89c8\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->a:Ljava/lang/String;
|
|
|
|
const-string p1, "View"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->b:Ljava/lang/String;
|
|
|
|
const-string p1, "\u6253\u5f00\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->c:Ljava/lang/String;
|
|
|
|
const-string p1, "Open"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->d:Ljava/lang/String;
|
|
|
|
const-string p1, "\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->e:Ljava/lang/String;
|
|
|
|
const-string p1, "Install"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->f:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_arrow_right"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->g:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_circle"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->h:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_finger"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->i:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_go"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->j:Ljava/lang/String;
|
|
|
|
const-string p1, "mbridge_splash_btn_light"
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->k:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_OPEN:I
|
|
|
|
const/4 p1, 0x2
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_GO:I
|
|
|
|
const/4 p1, 0x3
|
|
|
|
iput p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->TYPE_SPLASH_BTN_CLICK:I
|
|
|
|
.line 58
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
.line 59
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 60
|
|
new-instance p1, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 32
|
|
iget-object p0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private a()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 83
|
|
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 84
|
|
new-instance v2, Landroid/graphics/PorterDuffXfermode;
|
|
|
|
sget-object v3, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
invoke-direct {v2, v3}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
.line 85
|
|
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
.line 86
|
|
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic b(Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 32
|
|
iget-object p0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public draw(Landroid/graphics/Canvas;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
const/16 v2, 0x1f
|
|
|
|
.line 203
|
|
invoke-virtual {p1, v0, v1, v2}, Landroid/graphics/Canvas;->saveLayer(Landroid/graphics/RectF;Landroid/graphics/Paint;I)I
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
const/high16 v1, 0x43480000 # 200.0f
|
|
|
|
iget-object v3, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->r:Landroid/graphics/Paint;
|
|
|
|
.line 204
|
|
invoke-virtual {p1, v0, v1, v1, v3}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->q:Landroid/graphics/Paint;
|
|
|
|
.line 206
|
|
invoke-virtual {p1, v0, v1, v2}, Landroid/graphics/Canvas;->saveLayer(Landroid/graphics/RectF;Landroid/graphics/Paint;I)I
|
|
|
|
.line 207
|
|
invoke-super {p0, p1}, Landroid/view/View;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 208
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public initView(Ljava/lang/String;)V
|
|
.locals 10
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->l:Ljava/lang/String;
|
|
|
|
.line 1213
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
const-string v1, "\u6d4f\u89c8\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
const-string v2, "View"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const/4 v6, 0x2
|
|
|
|
const/4 v7, -0x1
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
:goto_0
|
|
move p1, v7
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_0
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x5
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_1
|
|
const-string v0, "\u6253\u5f00\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_2
|
|
const-string v0, "\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u5e94\u7528"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
move p1, v4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_3
|
|
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move p1, v6
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_4
|
|
const-string v0, "Open"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
move p1, v5
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_5
|
|
const-string v0, "Install"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
move p1, v3
|
|
|
|
:goto_1
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
.line 1097
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p1, p1, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;
|
|
|
|
.line 1098
|
|
invoke-virtual {p1}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "zh"
|
|
|
|
.line 1099
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->l:Ljava/lang/String;
|
|
|
|
.line 1100
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
move-object v1, v2
|
|
|
|
:goto_2
|
|
iput-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->l:Ljava/lang/String;
|
|
|
|
:cond_7
|
|
iput v6, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
goto :goto_3
|
|
|
|
:pswitch_0
|
|
iput v6, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
goto :goto_3
|
|
|
|
:pswitch_1
|
|
iput v5, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
goto :goto_3
|
|
|
|
:pswitch_2
|
|
iput v4, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
:goto_3
|
|
iget p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
const-string v0, "#666666"
|
|
|
|
.line 2177
|
|
invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
const-string v1, "#8FC31F"
|
|
|
|
.line 2178
|
|
invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
const-string v2, "#000000"
|
|
|
|
.line 2179
|
|
invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v2
|
|
|
|
.line 2181
|
|
new-instance v8, Landroid/graphics/drawable/GradientDrawable;
|
|
|
|
invoke-direct {v8}, Landroid/graphics/drawable/GradientDrawable;-><init>()V
|
|
|
|
if-ne p1, v6, :cond_8
|
|
|
|
.line 2183
|
|
invoke-virtual {v8, v1}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 2185
|
|
:cond_8
|
|
invoke-virtual {v8, v2}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V
|
|
|
|
.line 2186
|
|
invoke-virtual {v8, v6, v0}, Landroid/graphics/drawable/GradientDrawable;->setStroke(II)V
|
|
|
|
:goto_4
|
|
const/16 p1, 0xc8
|
|
|
|
int-to-float p1, p1
|
|
|
|
.line 2188
|
|
invoke-virtual {v8, p1}, Landroid/graphics/drawable/GradientDrawable;->setCornerRadius(F)V
|
|
|
|
.line 2189
|
|
invoke-virtual {p0, v8}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 1108
|
|
new-instance p1, Landroid/widget/TextView;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 1109
|
|
new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-direct {v0, v7, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
const/16 v1, 0xf
|
|
|
|
.line 1110
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1111
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
const/16 v0, 0x11
|
|
|
|
.line 1112
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setGravity(I)V
|
|
|
|
const/high16 v0, 0x41a00000 # 20.0f
|
|
|
|
.line 1113
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setTextSize(F)V
|
|
|
|
.line 1114
|
|
invoke-virtual {p1, v7}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->l:Ljava/lang/String;
|
|
|
|
.line 1115
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 1117
|
|
new-instance v0, Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v0, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
iget v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
const/16 v2, 0xb
|
|
|
|
const-string v8, "drawable"
|
|
|
|
if-ne v0, v6, :cond_9
|
|
|
|
.line 1122
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Lcom/mbridge/msdk/foundation/controller/a;->g()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "mbridge_splash_btn_go"
|
|
|
|
invoke-virtual {v0, v4, v8, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
.line 1124
|
|
new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v4
|
|
|
|
const/high16 v5, 0x420c0000 # 35.0f
|
|
|
|
invoke-static {v4, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v5
|
|
|
|
invoke-direct {v0, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
.line 1125
|
|
invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1126
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1127
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const/high16 v2, 0x41200000 # 10.0f
|
|
|
|
invoke-static {v1, v2}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
goto/16 :goto_5
|
|
|
|
:cond_9
|
|
const/high16 v6, 0x42480000 # 50.0f
|
|
|
|
if-ne v0, v5, :cond_a
|
|
|
|
.line 1129
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Lcom/mbridge/msdk/foundation/controller/a;->g()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "mbridge_splash_btn_light"
|
|
|
|
invoke-virtual {v0, v4, v8, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
.line 1131
|
|
new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
const/4 v4, -0x2
|
|
|
|
invoke-direct {v0, v4, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
const/16 v5, 0x14
|
|
|
|
iput v5, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I
|
|
|
|
iput v5, v0, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
.line 1135
|
|
new-instance v5, Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v9
|
|
|
|
invoke-direct {v5, v9}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 1136
|
|
new-instance v9, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-direct {v9, v4, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
.line 1137
|
|
invoke-virtual {v9, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1138
|
|
invoke-virtual {v9, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1139
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v6}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v9, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
.line 1140
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lcom/mbridge/msdk/foundation/controller/a;->g()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "mbridge_splash_btn_arrow_right"
|
|
|
|
invoke-virtual {v1, v4, v8, v2}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
.line 1141
|
|
invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
.line 1142
|
|
sget-object v1, Landroid/widget/ImageView$ScaleType;->CENTER:Landroid/widget/ImageView$ScaleType;
|
|
|
|
invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
.line 1143
|
|
invoke-virtual {v5, v9}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 1144
|
|
invoke-virtual {p0, v5}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
goto/16 :goto_5
|
|
|
|
:cond_a
|
|
if-ne v0, v4, :cond_b
|
|
|
|
.line 1147
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/controller/a;->g()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v3, "mbridge_splash_btn_finger"
|
|
|
|
invoke-virtual {v0, v3, v8, v1}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
.line 1149
|
|
new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const/high16 v4, 0x41c80000 # 25.0f
|
|
|
|
invoke-static {v1, v4}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v5, v4}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v4
|
|
|
|
invoke-direct {v0, v1, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
.line 1150
|
|
invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1151
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v6}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
.line 1152
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const/high16 v4, 0x41900000 # 18.0f
|
|
|
|
invoke-static {v1, v4}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 1154
|
|
new-instance v1, Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v1, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
.line 1155
|
|
new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v4
|
|
|
|
const/high16 v5, 0x41f00000 # 30.0f
|
|
|
|
invoke-static {v4, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v5
|
|
|
|
invoke-direct {v1, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
.line 1156
|
|
invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 1157
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, v6}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
.line 1158
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
const/high16 v4, 0x40a00000 # 5.0f
|
|
|
|
invoke-static {v2, v4}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
.line 1159
|
|
invoke-virtual {v2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 1160
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lcom/mbridge/msdk/foundation/controller/a;->g()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "mbridge_splash_btn_circle"
|
|
|
|
invoke-virtual {v1, v4, v8, v2}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
.line 1161
|
|
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
.line 1162
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_b
|
|
const/4 v0, 0x0
|
|
|
|
:goto_5
|
|
iget-object v1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 1165
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 1166
|
|
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
.line 1168
|
|
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 1169
|
|
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 1171
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
return-void
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x28194285 -> :sswitch_5
|
|
0x259a6a -> :sswitch_4
|
|
0x28aec5 -> :sswitch_3
|
|
0x32fac37e -> :sswitch_2
|
|
0x5270ec23 -> :sswitch_1
|
|
0x64371c57 -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public onAttachedToWindow()V
|
|
.locals 17
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
.line 235
|
|
invoke-super/range {p0 .. p0}, Landroid/view/View;->onAttachedToWindow()V
|
|
|
|
iget v1, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->m:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
const-wide/16 v3, 0x1f4
|
|
|
|
const/4 v5, 0x2
|
|
|
|
if-ne v1, v5, :cond_0
|
|
|
|
.line 2318
|
|
new-instance v1, Landroid/view/animation/ScaleAnimation;
|
|
|
|
const v7, 0x3f4ccccd # 0.8f
|
|
|
|
const/high16 v8, 0x3f800000 # 1.0f
|
|
|
|
const v9, 0x3f4ccccd # 0.8f
|
|
|
|
const/high16 v10, 0x3f800000 # 1.0f
|
|
|
|
const/4 v11, 0x1
|
|
|
|
const/high16 v12, 0x3f000000 # 0.5f
|
|
|
|
const/4 v13, 0x1
|
|
|
|
const/high16 v14, 0x3f000000 # 0.5f
|
|
|
|
move-object v6, v1
|
|
|
|
invoke-direct/range {v6 .. v14}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V
|
|
|
|
.line 2319
|
|
invoke-virtual {v1, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V
|
|
|
|
.line 2320
|
|
invoke-virtual {v1, v2}, Landroid/view/animation/Animation;->setRepeatCount(I)V
|
|
|
|
.line 2321
|
|
invoke-virtual {v1, v5}, Landroid/view/animation/Animation;->setRepeatMode(I)V
|
|
|
|
iget-object v2, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 2322
|
|
invoke-virtual {v2, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_0
|
|
const/4 v6, 0x1
|
|
|
|
if-ne v1, v6, :cond_1
|
|
|
|
.line 3290
|
|
new-instance v1, Landroid/view/animation/TranslateAnimation;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/high16 v9, -0x3d380000 # -100.0f
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/high16 v11, 0x447a0000 # 1000.0f
|
|
|
|
const/4 v12, 0x0
|
|
|
|
const/4 v13, 0x0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
move-object v7, v1
|
|
|
|
invoke-direct/range {v7 .. v15}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V
|
|
|
|
const-wide/16 v2, 0x3e8
|
|
|
|
.line 3291
|
|
invoke-virtual {v1, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V
|
|
|
|
.line 3292
|
|
new-instance v2, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$3;
|
|
|
|
invoke-direct {v2, v0}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$3;-><init>(Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V
|
|
|
|
iget-object v2, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 3314
|
|
invoke-virtual {v2, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v6, 0x3
|
|
|
|
if-ne v1, v6, :cond_2
|
|
|
|
.line 4247
|
|
new-instance v1, Landroid/view/animation/ScaleAnimation;
|
|
|
|
const/high16 v8, 0x3f800000 # 1.0f
|
|
|
|
const v9, 0x3f333333 # 0.7f
|
|
|
|
const/high16 v10, 0x3f800000 # 1.0f
|
|
|
|
const v11, 0x3f333333 # 0.7f
|
|
|
|
const/4 v12, 0x1
|
|
|
|
const/high16 v13, 0x3f000000 # 0.5f
|
|
|
|
const/4 v14, 0x1
|
|
|
|
const/high16 v15, 0x3f000000 # 0.5f
|
|
|
|
move-object v7, v1
|
|
|
|
invoke-direct/range {v7 .. v15}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V
|
|
|
|
const-wide/16 v6, 0x190
|
|
|
|
.line 4248
|
|
invoke-virtual {v1, v6, v7}, Landroid/view/animation/Animation;->setDuration(J)V
|
|
|
|
.line 4249
|
|
invoke-virtual {v1, v2}, Landroid/view/animation/Animation;->setRepeatCount(I)V
|
|
|
|
.line 4250
|
|
invoke-virtual {v1, v5}, Landroid/view/animation/Animation;->setRepeatMode(I)V
|
|
|
|
.line 4252
|
|
new-instance v2, Landroid/view/animation/ScaleAnimation;
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/high16 v10, 0x3f000000 # 0.5f
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/high16 v12, 0x3f000000 # 0.5f
|
|
|
|
const/4 v13, 0x1
|
|
|
|
const/high16 v14, 0x3f000000 # 0.5f
|
|
|
|
const/4 v15, 0x1
|
|
|
|
const/high16 v16, 0x3f000000 # 0.5f
|
|
|
|
move-object v8, v2
|
|
|
|
invoke-direct/range {v8 .. v16}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V
|
|
|
|
const-wide/16 v5, 0xc8
|
|
|
|
.line 4253
|
|
invoke-virtual {v2, v5, v6}, Landroid/view/animation/Animation;->setDuration(J)V
|
|
|
|
.line 4255
|
|
new-instance v5, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$1;
|
|
|
|
invoke-direct {v5, v0, v2}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$1;-><init>(Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;Landroid/view/animation/ScaleAnimation;)V
|
|
|
|
invoke-virtual {v2, v5}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V
|
|
|
|
iget-object v5, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
const/4 v6, 0x4
|
|
|
|
.line 4279
|
|
invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
iget-object v5, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->n:Landroid/widget/ImageView;
|
|
|
|
.line 4280
|
|
invoke-virtual {v5, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
|
|
|
|
iget-object v1, v0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->o:Landroid/widget/ImageView;
|
|
|
|
.line 4281
|
|
new-instance v5, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$2;
|
|
|
|
invoke-direct {v5, v0, v2}, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView$2;-><init>(Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;Landroid/view/animation/ScaleAnimation;)V
|
|
|
|
invoke-virtual {v1, v5, v3, v4}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
.line 195
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/RelativeLayout;->onLayout(ZIIII)V
|
|
|
|
.line 196
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result p1
|
|
|
|
.line 197
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result p2
|
|
|
|
iget-object p3, p0, Lcom/mbridge/msdk/splash/view/nativeview/MBSplashClickView;->p:Landroid/graphics/RectF;
|
|
|
|
int-to-float p1, p1
|
|
|
|
int-to-float p2, p2
|
|
|
|
const/4 p4, 0x0
|
|
|
|
.line 198
|
|
invoke-virtual {p3, p4, p4, p1, p2}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
return-void
|
|
.end method
|