- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
package com.mbridge.msdk.mbbid.out;
|
|
|
|
import com.mbridge.msdk.foundation.controller.c;
|
|
import com.mbridge.msdk.foundation.tools.ab;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class SplashBidRequestParams extends BannerBidRequestParams {
|
|
private static int b = 1;
|
|
private static int c;
|
|
private static int d;
|
|
private boolean a;
|
|
|
|
public final boolean a() {
|
|
return this.a;
|
|
}
|
|
|
|
public int getOrientation() {
|
|
return b;
|
|
}
|
|
|
|
public SplashBidRequestParams(String str, String str2) {
|
|
this(str, str2, "");
|
|
}
|
|
|
|
public SplashBidRequestParams(String str, String str2, String str3) {
|
|
this(str, str2, str3, false, b, d, c);
|
|
}
|
|
|
|
public SplashBidRequestParams(String str, String str2, boolean z, int i, int i2, int i3) {
|
|
this(str, str2, "", z, i, i3, i2);
|
|
}
|
|
|
|
public SplashBidRequestParams(String str, String str2, String str3, boolean z, int i, int i2, int i3) {
|
|
super(str, str2, str3, 0, 0);
|
|
this.a = false;
|
|
b = i;
|
|
int j = ab.j(c.m().c());
|
|
int h = ab.h(c.m().c());
|
|
int i4 = b;
|
|
if (i4 == 1) {
|
|
if (h > i3 * 4) {
|
|
setHeight(h - i3);
|
|
setWidth(j);
|
|
} else {
|
|
setHeight(0);
|
|
setWidth(0);
|
|
}
|
|
} else if (i4 == 2) {
|
|
if (j > i2 * 4) {
|
|
setWidth(j - i2);
|
|
setHeight(h);
|
|
} else {
|
|
setHeight(0);
|
|
setWidth(0);
|
|
}
|
|
}
|
|
this.a = z;
|
|
}
|
|
}
|