Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package com.ubt.jimu.utils.smartScaleTool;
/* loaded from: classes2.dex */
public enum MeasureTools$Orientation {
VERTICAL_RATIO,
HORIZONTAL_RATIO
}

View File

@@ -0,0 +1,15 @@
package com.ubt.jimu.utils.smartScaleTool;
import androidx.recyclerview.widget.RecyclerView;
import com.ubt.jimu.utils.LogUtils;
/* loaded from: classes2.dex */
public class ScreenUtils {
public static int[] a(float f, RecyclerView recyclerView, float f2, int i) {
float f3 = i;
int measuredWidth = (int) ((recyclerView.getMeasuredWidth() - (f2 * f3)) / f3);
int i2 = (int) (measuredWidth * f);
LogUtils.c("width==" + measuredWidth + "height==" + i2);
return new int[]{measuredWidth, i2};
}
}