@Override
        public boolean equals(Object o) {
            if (o instanceof Key) {
                Key other = (Key) o;
                return width == other.width
                        && height == other.height
                        && config == other.config;
            }
            return false;
        }
A strategy for reusing bitmaps that requires any returned bitmap's dimensions to exactly match those request.
core/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/AttributeStrategy.java