@Override
    public boolean equals(Object o) {
        if (o instanceof PreFillType) {
            PreFillType other = (PreFillType) o;
            return height == other.height
                    && width == other.width
                    && weight == other.weight
                    && config == other.config;
        }
        return false;
    }
Returns the weight of the {@link Bitmap Bitmaps} of this type.
core/src/main/java/com/bumptech/glide/load/engine/prefill/PreFillType.java