32 lines
1.0 KiB
Java
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);
|
|
}
|
|
}
|