35 lines
915 B
Java
35 lines
915 B
Java
|
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();
|
||
|
}
|
||
|
}
|