Files
rr3-apk/decompiled/sources/com/applovin/impl/adview/e.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

67 lines
1.4 KiB
Java

package com.applovin.impl.adview;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public abstract class e extends View {
protected float a;
protected final Context b;
public enum a {
WHITE_ON_BLACK(0),
WHITE_ON_TRANSPARENT(1),
INVISIBLE(2),
TRANSPARENT_SKIP(3);
private final int a;
a(int i) {
this.a = i;
}
public int b() {
return this.a;
}
}
public e(Context context) {
super(context);
this.a = 1.0f;
this.b = context;
}
public void a(int i) {
setViewScale(i / 30.0f);
ViewGroup.LayoutParams layoutParams = getLayoutParams();
if (layoutParams != null) {
layoutParams.width = (int) getSize();
layoutParams.height = (int) getSize();
}
}
public float getSize() {
return this.a * 30.0f;
}
public abstract a getStyle();
public void setViewScale(float f) {
this.a = f;
}
public static e a(a aVar, Context context) {
if (aVar.equals(a.INVISIBLE)) {
return new h(context);
}
if (aVar.equals(a.WHITE_ON_TRANSPARENT)) {
return new i(context);
}
if (aVar.equals(a.TRANSPARENT_SKIP)) {
return new j(context);
}
return new n(context);
}
}