Home
last modified time | relevance | path

Searched refs:cacheKey (Results 1 – 6 of 6) sorted by relevance

/frameworks/volley/src/com/android/volley/toolbox/
DImageLoader.java156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
157 return mCache.getBitmap(cacheKey) != null;
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
194 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
204 new ImageContainer(null, requestUrl, cacheKey, imageListener);
210 BatchedImageRequest request = mInFlightRequests.get(cacheKey);
223 onGetImageSuccess(cacheKey, response);
229 onGetImageError(cacheKey, error);
234 mInFlightRequests.put(cacheKey,
253 private void onGetImageSuccess(String cacheKey, Bitmap response) {
[all …]
/frameworks/volley/src/com/android/volley/
DRequestQueue.java236 String cacheKey = request.getCacheKey(); in add() local
237 if (mWaitingRequests.containsKey(cacheKey)) { in add()
239 Queue<Request> stagedRequests = mWaitingRequests.get(cacheKey); in add()
244 mWaitingRequests.put(cacheKey, stagedRequests); in add()
246 VolleyLog.v("Request for cacheKey=%s is in flight, putting on hold.", cacheKey); in add()
251 mWaitingRequests.put(cacheKey, null); in add()
273 String cacheKey = request.getCacheKey(); in finish() local
274 Queue<Request> waitingRequests = mWaitingRequests.remove(cacheKey); in finish()
278 waitingRequests.size(), cacheKey); in finish()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java141 int cacheKey; in getGmtDisplayName() local
145 cacheKey = (int) (gmtOffset + 36 * DateUtils.HOUR_IN_MILLIS); in getGmtDisplayName()
147 cacheKey = (int) (gmtOffset - 36 * DateUtils.HOUR_IN_MILLIS); in getGmtDisplayName()
155 displayName = mGmtDisplayNameCache.get(cacheKey); in getGmtDisplayName()
192 mGmtDisplayNameCache.put(cacheKey, displayName); in getGmtDisplayName()
/frameworks/volley/tests/src/com/android/volley/mock/
DMockRequest.java51 public void setCacheKey(String cacheKey) { in setCacheKey() argument
52 mCacheKey = cacheKey; in setCacheKey()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardStatusView.java145 static String cacheKey; field in KeyguardStatusView.Patterns
154 if (key.equals(cacheKey)) return; in update()
167 cacheKey = key; in update()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java263 boolean isFramework, String cacheKey, BridgeContext context) throws IOException { in getNinePatchDrawable() argument
265 NinePatchChunk chunk = Bridge.getCached9Patch(cacheKey, in getNinePatchDrawable()
267 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey, in getNinePatchDrawable()
279 Bridge.setCached9Patch(cacheKey, chunk, in getNinePatchDrawable()
288 Bridge.setCachedBitmap(cacheKey, bitmap, in getNinePatchDrawable()