Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user