Home | History | Annotate | Download | only in toolbox

Lines Matching refs:cacheKey

168         String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
169 return mCache.getBitmap(cacheKey) != null;
213 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
216 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
226 new ImageContainer(null, requestUrl, cacheKey, imageListener);
232 BatchedImageRequest request = mInFlightRequests.get(cacheKey);
242 cacheKey);
245 mInFlightRequests.put(cacheKey,
251 ScaleType scaleType, final String cacheKey) {
255 onGetImageSuccess(cacheKey, response);
260 onGetImageError(cacheKey, error);
276 * @param cacheKey The cache key that is associated with the image request.
279 protected void onGetImageSuccess(String cacheKey, Bitmap response) {
281 mCache.putBitmap(cacheKey, response);
284 BatchedImageRequest request = mInFlightRequests.remove(cacheKey);
291 batchResponse(cacheKey, request);
297 * @param cacheKey The cache key that is associated with the image request.
299 protected void onGetImageError(String cacheKey, VolleyError error) {
302 BatchedImageRequest request = mInFlightRequests.remove(cacheKey);
309 batchResponse(cacheKey, request);
335 * @param cacheKey The cache key that identifies the requested URL for this container.
338 String cacheKey, ImageListener listener) {
341 mCacheKey = cacheKey;
453 * @param cacheKey The cacheKey of the response being delivered.
456 private void batchResponse(String cacheKey, BatchedImageRequest request) {
457 mBatchedResponses.put(cacheKey, request);