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}; } }