- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80 lines
2.7 KiB
Java
80 lines
2.7 KiB
Java
package com.mbridge.msdk.dycreator.baseview;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.animation.Animation;
|
|
import android.view.animation.RotateAnimation;
|
|
import android.widget.ImageView;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBSplashShakeView extends MBLinearLayout {
|
|
private final String a;
|
|
private final String b;
|
|
private final String c;
|
|
private final String d;
|
|
private final String e;
|
|
private final String f;
|
|
private ImageView g;
|
|
private Animation h;
|
|
|
|
public MBSplashShakeView(Context context) {
|
|
super(context);
|
|
this.a = "浏览第三方应用";
|
|
this.b = "View";
|
|
this.c = "打开第三方应用";
|
|
this.d = "Open";
|
|
this.e = "下载第三方应用";
|
|
this.f = "Install";
|
|
}
|
|
|
|
public MBSplashShakeView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
this.a = "浏览第三方应用";
|
|
this.b = "View";
|
|
this.c = "打开第三方应用";
|
|
this.d = "Open";
|
|
this.e = "下载第三方应用";
|
|
this.f = "Install";
|
|
}
|
|
|
|
public MBSplashShakeView(Context context, AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
this.a = "浏览第三方应用";
|
|
this.b = "View";
|
|
this.c = "打开第三方应用";
|
|
this.d = "Open";
|
|
this.e = "下载第三方应用";
|
|
this.f = "Install";
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
/* JADX WARN: Code restructure failed: missing block: B:23:0x0111, code lost:
|
|
|
|
if (r10.equals("Open") == false) goto L6;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public void initView(java.lang.String r10) {
|
|
/*
|
|
Method dump skipped, instructions count: 414
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.mbridge.msdk.dycreator.baseview.MBSplashShakeView.initView(java.lang.String):void");
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.baseview.MBLinearLayout, android.view.ViewGroup, android.view.View
|
|
public void onAttachedToWindow() {
|
|
super.onAttachedToWindow();
|
|
if (this.g != null) {
|
|
RotateAnimation rotateAnimation = new RotateAnimation(-10.0f, 10.0f, 1, 0.5f, 1, 0.5f);
|
|
this.h = rotateAnimation;
|
|
rotateAnimation.setDuration(100L);
|
|
this.h.setRepeatMode(2);
|
|
this.h.setRepeatCount(-1);
|
|
this.g.startAnimation(this.h);
|
|
}
|
|
}
|
|
}
|