- 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
30 lines
864 B
Java
30 lines
864 B
Java
package com.ironsource;
|
|
|
|
import android.content.Context;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.math.MathKt__MathJVMKt;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class na {
|
|
public static final na a = new na();
|
|
|
|
private na() {
|
|
}
|
|
|
|
private final int a(Context context, int i) {
|
|
int roundToInt;
|
|
roundToInt = MathKt__MathJVMKt.roundToInt(i / context.getResources().getDisplayMetrics().density);
|
|
return roundToInt;
|
|
}
|
|
|
|
public final int a(Context context) {
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
return a(context, context.getResources().getDisplayMetrics().heightPixels);
|
|
}
|
|
|
|
public final int b(Context context) {
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
return a(context, context.getResources().getDisplayMetrics().widthPixels);
|
|
}
|
|
}
|