27 lines
697 B
Java
27 lines
697 B
Java
package o;
|
|
|
|
import android.graphics.Bitmap;
|
|
import android.graphics.Rect;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class ZXd extends AbstractC5945cDy {
|
|
private final int a;
|
|
private final int d;
|
|
|
|
private ZXd(sqY sqy, int i, int i2) {
|
|
super(sqy);
|
|
this.a = i;
|
|
this.d = i2;
|
|
}
|
|
|
|
@Override // o.AbstractC5945cDy
|
|
public final Bitmap aAK_(sqY sqy, Bitmap bitmap, int i, int i2) {
|
|
Rect OD_ = rcp.OD_(bitmap.getWidth(), bitmap.getHeight(), this.a, this.d);
|
|
return Bitmap.createScaledBitmap(bitmap, OD_.width(), OD_.height(), true);
|
|
}
|
|
|
|
public static AbstractC5945cDy a(sqY sqy, int i, int i2) {
|
|
return new ZXd(sqy, i, i2);
|
|
}
|
|
}
|