jimu-decompiled/sources/com/bumptech/glide/load/resource/bitmap/CircleCrop.java
2025-05-13 19:24:51 +02:00

32 lines
1.0 KiB
Java

package com.bumptech.glide.load.resource.bitmap;
import android.graphics.Bitmap;
import com.bumptech.glide.load.Key;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import java.security.MessageDigest;
/* loaded from: classes.dex */
public class CircleCrop extends BitmapTransformation {
private static final byte[] b = "com.bumptech.glide.load.resource.bitmap.CircleCrop.1".getBytes(Key.a);
@Override // com.bumptech.glide.load.resource.bitmap.BitmapTransformation
protected Bitmap a(BitmapPool bitmapPool, Bitmap bitmap, int i, int i2) {
return TransformationUtils.c(bitmapPool, bitmap, i, i2);
}
@Override // com.bumptech.glide.load.Key
public boolean equals(Object obj) {
return obj instanceof CircleCrop;
}
@Override // com.bumptech.glide.load.Key
public int hashCode() {
return "com.bumptech.glide.load.resource.bitmap.CircleCrop.1".hashCode();
}
@Override // com.bumptech.glide.load.Key
public void a(MessageDigest messageDigest) {
messageDigest.update(b);
}
}