public static int getScaleHeight(Context mContext, float scale) { return (int) (scale * ScreenUtil.getScreenHeight(mContext)); }
public static int getRealHeight(Context mContext, int scale) { return (int) ((1f / scale) * ScreenUtil.getScreenHeight(mContext)); }
public static int getScaleWidth(Context mContext, float scale) { return (int) (scale * ScreenUtil.getScreenWidth(mContext)); }
public static int getRealWidth(Context mContext, int scale) { return (int) ((1f / scale) * ScreenUtil.getScreenWidth(mContext)); }