public boolean queryCache ( ImageTask imageTask , CubeImageView imageView ) { if ( null == mImageProvider ) { return false ; } BitmapDrawable drawable = mImageProvider . getBitmapFromMemCache ( imageTask ) ; if ( imageTask . getStatistics ( ) != null ) { imageTask . getStatistics ( ) . s0_afterCheckMemoryCache ( drawable != null ) ; } if ( drawable == null ) { return false ; } if ( DEBUG ) { CLog . d ( LOG_TAG , MSG_HIT_CACHE , imageTask , drawable . getIntrinsicWidth ( ) , drawable . getIntrinsicHeight ( ) ) ; } imageTask . addImageView ( imageView ) ; imageTask . onLoadTaskFinish ( drawable , mImageLoadHandler ) ; return true ; }
Check weather this imageTask has cache Drawable data .