Home
last modified time | relevance | path

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

/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java168 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);
[all …]
/frameworks/volley/src/main/java/com/android/volley/
DRequestQueue.java246 String cacheKey = request.getCacheKey(); in add() local
247 if (mWaitingRequests.containsKey(cacheKey)) { in add()
249 Queue<Request<?>> stagedRequests = mWaitingRequests.get(cacheKey); in add()
254 mWaitingRequests.put(cacheKey, stagedRequests); in add()
256 VolleyLog.v("Request for cacheKey=%s is in flight, putting on hold.", cacheKey); in add()
261 mWaitingRequests.put(cacheKey, null); in add()
288 String cacheKey = request.getCacheKey(); in finish() local
289 Queue<Request<?>> waitingRequests = mWaitingRequests.remove(cacheKey); in finish()
293 waitingRequests.size(), cacheKey); in finish()
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java64 Key cacheKey = (Key) o; in equals() local
65 return Objects.equals(account, cacheKey.account) in equals()
66 && Objects.equals(packageName, cacheKey.packageName) in equals()
67 && Objects.equals(tokenType, cacheKey.tokenType) in equals()
68 && Arrays.equals(sigDigest, cacheKey.sigDigest); in equals()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java133 int cacheKey; in getGmtDisplayName() local
137 cacheKey = (int) (gmtOffset + 36 * DateUtils.HOUR_IN_MILLIS); in getGmtDisplayName()
139 cacheKey = (int) (gmtOffset - 36 * DateUtils.HOUR_IN_MILLIS); in getGmtDisplayName()
147 displayName = mGmtDisplayNameCache.get(cacheKey); in getGmtDisplayName()
184 mGmtDisplayNameCache.put(cacheKey, displayName); in getGmtDisplayName()
/frameworks/volley/src/test/java/com/android/volley/mock/
DMockRequest.java51 public void setCacheKey(String cacheKey) { in setCacheKey() argument
52 mCacheKey = cacheKey; in setCacheKey()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DSdkUtil.java128 String key = cacheKey(classDesc, methodDesc); in buildFullLookup()
144 final String key = cacheKey(classDesc, methodOrFieldDesc); in getMinApi()
149 private static String cacheKey(String classDesc, String methodOrFieldDesc) { in cacheKey() method in SdkUtil.ApiChecker
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardStatusView.java232 static String cacheKey; field in KeyguardStatusView.Patterns
243 if (key.equals(cacheKey)) return; in update()
260 cacheKey = key; in update()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java370 boolean isFramework, String cacheKey, BridgeContext context) throws IOException { in getNinePatchDrawable() argument
372 NinePatchChunk chunk = Bridge.getCached9Patch(cacheKey, in getNinePatchDrawable()
374 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey, in getNinePatchDrawable()
386 Bridge.setCached9Patch(cacheKey, chunk, in getNinePatchDrawable()
395 Bridge.setCachedBitmap(cacheKey, bitmap, in getNinePatchDrawable()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java242 final String cacheKey = getCacheKey(context.getUserId(), handle); in validatePeople() local
243 LookupResult lookupResult = mPeopleCache.get(cacheKey); in validatePeople()
461 final String cacheKey = getCacheKey(mContext.getUserId(), handle); in work() local
462 mPeopleCache.put(cacheKey, lookupResult); in work()