HomeSort by relevance Sort by last modified time
    Searched refs:cacheKey (Results 1 - 25 of 48) sorted by null

1 2

  /frameworks/volley/src/com/android/volley/toolbox/
ImageLoader.java 156 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,
250 * @param cacheKey The cache key that is associated with the image request
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
ConnectionServiceRepository.java 44 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle);
45 ConnectionServiceWrapper service = mServiceCache.get(cacheKey);
54 mServiceCache.put(cacheKey, service);
77 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) {
78 ComponentName componentName = cacheKey.first;
  /frameworks/volley/src/com/android/volley/
RequestQueue.java 47 * <li>containsKey(cacheKey) indicates that there is a request in flight for the given cache
49 * <li>get(cacheKey) returns waiting requests for the given cache key. The in flight request
235 String cacheKey = request.getCacheKey();
236 if (mWaitingRequests.containsKey(cacheKey)) {
238 Queue<Request<?>> stagedRequests = mWaitingRequests.get(cacheKey);
243 mWaitingRequests.put(cacheKey, stagedRequests);
245 VolleyLog.v("Request for cacheKey=%s is in flight, putting on hold.", cacheKey);
248 // Insert 'null' queue for this cacheKey, indicating there is now a request in
250 mWaitingRequests.put(cacheKey, null)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheService.java 60 long cacheKey = Utils.crc64Long(key);
63 request.key = cacheKey;
82 long cacheKey = Utils.crc64Long(key);
88 mCache.insert(cacheKey, buffer.array());
97 long cacheKey = Utils.crc64Long(key);
100 mCache.clearEntry(cacheKey);
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontFaceSource.cpp 58 FontCacheKey key = fontDescription.cacheKey(FontFaceCreationParams());
  /packages/apps/Mms/src/com/android/mms/util/
ImageCacheService.java 56 long cacheKey = crc64Long(key);
60 value = mCache.lookup(cacheKey);
75 long cacheKey = crc64Long(key);
81 mCache.insert(cacheKey, buffer.array());
  /external/chromium_org/third_party/WebKit/Source/core/dom/
PresentationAttributeStyle.cpp 164 PresentationAttributeCacheKey cacheKey;
165 makePresentationAttributeCacheKey(element, cacheKey);
167 unsigned cacheHash = computePresentationAttributeCacheHash(cacheKey);
172 if (cacheValue->value && cacheValue->value->key != cacheKey)
194 newEntry->key = cacheKey;
  /libcore/support/src/test/java/libcore/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java 60 String cacheKey = keyAlgorithm + "-" + keyLengthBits;
61 result = cachedKeys.get(cacheKey);
66 cachedKeys.put(cacheKey, result);
  /frameworks/volley/tests/src/com/android/volley/mock/
MockRequest.java 51 public void setCacheKey(String cacheKey) {
52 mCacheKey = cacheKey;
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Engine.java 183 public void onResourceReleased(Key cacheKey, Resource resource) {
185 Log.v(TAG, "released: " + cacheKey);
187 activeResources.remove(cacheKey);
190 Log.v(TAG, "recaching: " + cacheKey);
192 cache.put(cacheKey, resource);
195 Log.v(TAG, "recycling: " + cacheKey);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageDecodingStore.cpp 102 ASSERT(!m_decoderCacheMap.contains(newCacheEntry->cacheKey()));
226 typename U::KeyType key = cacheEntry->cacheKey();
245 iter->value.remove(cacheEntry->cacheKey());
250 deletionList->append(cacheMap->take(cacheEntry->cacheKey()));
ImageDecodingStore.h 158 DecoderCacheKey cacheKey() const { return makeCacheKey(m_generator, m_size); }
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneInfo.java 141 int cacheKey;
145 cacheKey = (int) (gmtOffset + 36 * DateUtils.HOUR_IN_MILLIS);
147 cacheKey = (int) (gmtOffset - 36 * DateUtils.HOUR_IN_MILLIS);
155 displayName = mGmtDisplayNameCache.get(cacheKey);
192 mGmtDisplayNameCache.put(cacheKey, displayName);
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardStatusView.java 221 static String cacheKey;
232 if (key.equals(cacheKey)) return;
249 cacheKey = key;
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 51 private static class CacheKey {
55 CacheKey(ComponentName componentName, UserHandle user) {
67 CacheKey other = (CacheKey) o;
75 private final HashMap<CacheKey, CacheEntry> mCache =
76 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
228 CacheKey cacheKey = new CacheKey(componentName, user);
229 CacheEntry entry = mCache.get(cacheKey);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 279 boolean isFramework, String cacheKey, BridgeContext context) throws IOException {
281 NinePatchChunk chunk = Bridge.getCached9Patch(cacheKey,
283 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey,
295 Bridge.setCached9Patch(cacheKey, chunk,
304 Bridge.setCachedBitmap(cacheKey, bitmap,
  /packages/apps/Launcher3/src/com/android/launcher3/
IconCache.java 72 private static class CacheKey {
76 CacheKey(ComponentName componentName, UserHandleCompat user) {
88 CacheKey other = (CacheKey) o;
99 private final HashMap<CacheKey, CacheEntry> mCache =
100 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
187 mCache.remove(new CacheKey(componentName, user));
194 HashSet<CacheKey> forDeletion = new HashSet<CacheKey>();
195 for (CacheKey key: mCache.keySet())
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 580 String cacheKey;
584 cacheKey = bytesToHexString(mDigest.digest());
586 cacheKey = String.valueOf(key.hashCode());
588 return cacheKey;
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 580 String cacheKey;
584 cacheKey = bytesToHexString(mDigest.digest());
586 cacheKey = String.valueOf(key.hashCode());
588 return cacheKey;
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java 580 String cacheKey;
584 cacheKey = bytesToHexString(mDigest.digest());
586 cacheKey = String.valueOf(key.hashCode());
588 return cacheKey;
  /frameworks/base/services/core/java/com/android/server/notification/
ValidateNotificationPeople.java 229 final String cacheKey = getCacheKey(context.getUserId(), handle);
230 LookupResult lookupResult = mPeopleCache.get(cacheKey);
443 final String cacheKey = getCacheKey(mContext.getUserId(), handle);
444 mPeopleCache.put(cacheKey, lookupResult);
  /libcore/luni/src/main/java/java/util/
ResourceBundle.java 302 Object cacheKey = loader != null ? loader : "null";
303 Hashtable<String, ResourceBundle> loaderCache = getLoaderCache(cacheKey);
482 Object cacheKey = loader != null ? loader : "null";
483 Hashtable<String, ResourceBundle> loaderCache = getLoaderCache(cacheKey);
552 private static Hashtable<String, ResourceBundle> getLoaderCache(Object cacheKey) {
554 Hashtable<String, ResourceBundle> loaderCache = cache.get(cacheKey);
557 cache.put(cacheKey, loaderCache);
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 478 final int cacheKey = config.getCacheKey();
479 ConversationItemViewCoordinates coordinates = cache.getCoordinates(cacheKey);
485 cache.put(cacheKey, coordinates);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontDescription.cpp 155 FontCacheKey FontDescription::cacheKey(const FontFaceCreationParams& creationParams, FontTraits desiredTraits) const
  /external/chromium_org/ui/file_manager/image_loader/
image_loader_client.js 158 var cacheKey = ImageLoaderClient.Cache.createKey(url, opt_options);
162 var cachedData = this.cache_.loadImage(cacheKey, opt_options.timestamp);
173 this.cache_.removeImage(cacheKey);
191 this.cache_.saveImage(cacheKey, result.data, opt_options.timestamp);

Completed in 948 milliseconds

1 2