package o; import android.graphics.Bitmap; import java.nio.charset.Charset; import java.security.MessageDigest; /* loaded from: classes5.dex */ public final class fLE extends AbstractC5945cDy { private static final byte[] d; private final int b; private final boolean c = false; public fLE(int i) { this.b = i; } /* loaded from: classes5.dex */ public static final class LWm { private LWm() { } public /* synthetic */ LWm(byte b) { this(); } } static { new LWm((byte) 0); Charset forName = Charset.forName("UTF-8"); C14957gcv.c(forName, ""); byte[] bytes = "com.kevin.glidetest.BlurTransformation".getBytes(forName); C14957gcv.c(bytes, ""); d = bytes; } @Override // o.InterfaceC2545agd public final void a(MessageDigest messageDigest) { C14957gcv.e(messageDigest, ""); messageDigest.update(d); } @Override // o.AbstractC5945cDy public final Bitmap aAK_(sqY sqy, Bitmap bitmap, int i, int i2) { C14957gcv.e(sqy, ""); C14957gcv.e(bitmap, ""); float height = bitmap.getHeight() * (this.b / bitmap.getWidth()); if (!Float.isNaN(height)) { Bitmap createScaledBitmap = Bitmap.createScaledBitmap(bitmap, this.b, Math.round(height), true); C14957gcv.c(createScaledBitmap, ""); if (createScaledBitmap != bitmap) { bitmap.recycle(); } return createScaledBitmap; } throw new IllegalArgumentException("Cannot round NaN value."); } }