writes a bitmap to a file . call disklrucache #setcompressparams compressformat , int first to setthe target bitmap compression and format . concode_field_sep int cacheByteSize concode_elem_sep String CACHE_FILENAME_PREFIX concode_elem_sep String TAG concode_elem_sep int maxCacheItemSize concode_elem_sep CompressFormat mCompressFormat concode_elem_sep FilenameFilter cacheFileFilter concode_elem_sep int mCompressQuality concode_elem_sep int INITIAL_CAPACITY concode_elem_sep Map<String,String> mLinkedHashMap concode_elem_sep int cacheSize concode_elem_sep int MAX_REMOVALS concode_elem_sep float LOAD_FACTOR concode_elem_sep long maxCacheByteSize concode_elem_sep File mCacheDir concode_field_sep void flushCache concode_elem_sep boolean containsKey concode_elem_sep void setCompressParams concode_elem_sep Bitmap get concode_elem_sep void clearCache concode_elem_sep void clearCache concode_elem_sep void clearCache concode_elem_sep void put concode_elem_sep void put concode_elem_sep File getDiskCacheDir concode_elem_sep String createFilePath concode_elem_sep String createFilePath concode_elem_sep boolean accept concode_elem_sep DiskLruCache openCache
boolean function ( Bitmap arg0 , String arg1 ) { OutputStream loc0 = null ; try { loc0 = new BufferedOutputStream ( new FileOutputStream ( arg1 ) , Utils . IO_BUFFER_SIZE ) ; return arg0 . compress ( mCompressFormat , mCompressQuality , loc0 ) ; } finally { if ( loc0 != null ) { loc0 . close ( ) ; } } }