what-the-bank/sources/o/aQV.java

35 lines
915 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Bitmap;
import android.graphics.Rect;
/* loaded from: classes3.dex */
final class aQV implements InterfaceC13024fOe {
private final int a;
private final int d;
public aQV(int i, int i2) {
this.d = i;
this.a = i2;
}
@Override // o.InterfaceC13024fOe
public final Bitmap aBE_(Bitmap bitmap) {
Rect OD_ = rcp.OD_(bitmap.getWidth(), bitmap.getHeight(), this.d, this.a);
Bitmap createScaledBitmap = Bitmap.createScaledBitmap(bitmap, OD_.width(), OD_.height(), true);
if (createScaledBitmap != bitmap) {
bitmap.recycle();
}
return createScaledBitmap;
}
@Override // o.InterfaceC13024fOe
public final String d() {
StringBuilder sb = new StringBuilder();
sb.append(this.d);
sb.append("x");
sb.append(this.a);
return sb.toString();
}
}