Files
rr3-apk/decompiled-community/sources/com/mbridge/msdk/out/BannerSize.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

62 lines
1.5 KiB
Java

package com.mbridge.msdk.out;
import com.mbridge.msdk.foundation.controller.c;
import com.mbridge.msdk.foundation.tools.ab;
import com.vungle.ads.internal.protos.Sdk;
/* loaded from: classes4.dex */
public class BannerSize {
public static final int DEV_SET_TYPE = 5;
public static final int LARGE_TYPE = 1;
public static final int MEDIUM_TYPE = 2;
public static final int SMART_TYPE = 3;
public static final int STANDARD_TYPE = 4;
private int height;
private int width;
public int getHeight() {
return this.height;
}
public int getWidth() {
return this.width;
}
public BannerSize(int i, int i2, int i3) {
if (i == 1) {
this.height = 90;
this.width = Sdk.SDKError.Reason.WEBVIEW_ERROR_VALUE;
return;
}
if (i == 2) {
this.height = 250;
this.width = 300;
return;
}
if (i == 3) {
setSmartMode();
return;
}
if (i == 4) {
this.height = 50;
this.width = Sdk.SDKError.Reason.WEBVIEW_ERROR_VALUE;
} else {
if (i != 5) {
return;
}
this.height = i3;
this.width = i2;
}
}
private void setSmartMode() {
if (ab.h(c.m().c()) < 720) {
this.height = 50;
this.width = Sdk.SDKError.Reason.WEBVIEW_ERROR_VALUE;
} else {
this.height = 90;
this.width = 728;
}
}
}