HomeSort by relevance Sort by last modified time
    Searched defs:cachedValue (Results 1 - 16 of 16) sorted by null

  /development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
ImageLoader.java 49 final Bitmap cachedValue = CACHE.get(id);
50 if (cachedValue != null) {
53 imageView.setImageBitmap(cachedValue);
55 listener.onImageLoaded(cachedValue);
  /packages/apps/Dialer/src/com/android/dialer/util/
ExpirableCache.java 43 * CachedValue<Contact> cachedContact = mContactCache.getCachedValue(phoneNumber);
96 public interface CachedValue<V> {
112 private static class GenerationalCachedValue<V> implements ExpirableCache.CachedValue<V> {
143 private LruCache<K, CachedValue<V>> mCache;
151 * @see ExpirableCache.CachedValue#isExpired()
155 private ExpirableCache(LruCache<K, CachedValue<V>> cache) {
173 public CachedValue<V> getCachedValue(K key) {
183 * within the {@link CachedValue} and not call {@link #getPossiblyExpired(Object)} to get the
190 CachedValue<V> cachedValue = getCachedValue(key)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
ExpirableCacheTest.java 23 import com.android.dialer.util.ExpirableCache.CachedValue;
36 LruCache<String, CachedValue<Integer>> lruCache =
37 new LruCache<String, ExpirableCache.CachedValue<Integer>>(20);
105 new LruCache<String, ExpirableCache.CachedValue<Integer>>(10) {
107 protected CachedValue<Integer> create(String key) {
113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a");
114 assertNotNull("Should have been created implicitly", cachedValue);
115 assertEquals(0, cachedValue.getValue().intValue());
116 assertFalse("Should not be expired", cachedValue.isExpired())
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TypefaceUtils.java 40 final Float cachedValue = sTextHeightCache.get(key);
41 if (cachedValue != null) {
42 return cachedValue;
60 final Float cachedValue = sTextWidthCache.get(key);
61 if (cachedValue != null) {
62 return cachedValue;
  /libcore/luni/src/main/java/java/io/
ObjectStreamClass.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar 
org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar 
org.eclipse.core.databinding_1.3.100.I20100601-0800.jar 
  /prebuilts/tools/common/m2/repository/org/freemarker/freemarker/2.3.20/
freemarker-2.3.20.jar 
  /external/robolectric/lib/main/
h2-1.2.147.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /prebuilts/tools/common/m2/repository/org/apache/ant/ant/1.8.0/
ant-1.8.0.jar 
  /external/jarjar/lib/
apache-ant-1.9.4.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
ant.jar 
  /prebuilts/tools/common/m2/repository/org/apache/ant/ant/1.8.2/
ant-1.8.2.jar 

Completed in 170 milliseconds