@Override
        public int getWidthPixels() {
            return displayMetrics.widthPixels;
        }
Returns the recommended bitmap pool size for the device it is run on in bytes.
core/src/main/java/com/bumptech/glide/load/engine/cache/MemorySizeCalculator.java