String function ( String arg0 , ImageSize arg1 ) { return new StringBuilder ( arg0 ) . append ( URI_AND_SIZE_SEPARATOR ) . append ( arg1 . getWidth ( ) ) . append ( WIDTH_AND_HEIGHT_SEPARATOR ) . append ( arg1 . getHeight ( ) ) . toString ( ) ; }
generates key for memory cache for incoming image uri + size . pattern for cache key - imageuri _ width x height . concode_field_sep String URI_AND_SIZE_SEPARATOR concode_elem_sep String WIDTH_AND_HEIGHT_SEPARATOR concode_field_sep List<String> findCacheKeysForImageUri concode_elem_sep Comparator<String> createFuzzyKeyComparator concode_elem_sep List<Bitmap> findCachedBitmapsForImageUri concode_elem_sep void removeFromCache