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

1 2

  /frameworks/support/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...]
  /external/guava/guava-tests/test/com/google/common/cache/
AbstractCacheTest.java 68 final Object cachedValue = new Object();
72 return cachedKey.equals(key) ? cachedValue : null;
77 ImmutableMap.of(cachedKey, cachedValue),
  /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;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryFacilitatorImpl.java 647 final Boolean cachedValue = mValidSpellingWordReadCache.get(word);
648 if (cachedValue != null) {
649 return cachedValue;
  /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/jetbrains/kotlin/kotlin-android-extensions/1.0.0/
kotlin-android-extensions-1.0.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-android-extensions/1.0.0-rc-1036/
kotlin-android-extensions-1.0.0-rc-1036.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-android-extensions/1.0.2/
kotlin-android-extensions-1.0.2.jar 
  /frameworks/support/samples/SupportLeanbackShowcase/libs/
gson-1.7.2.jar 
  /external/guice/extensions/struts2/lib/
freemarker-2.3.16.jar 
ant-1.6.5.jar 
  /prebuilts/tools/common/m2/repository/org/freemarker/freemarker/2.3.20/
freemarker-2.3.20.jar 
  /external/robolectric/v1/lib/main/
h2-1.2.147.jar 
  /prebuilts/sdk/tools/
jack-launcher.jar 
jack-server-4.8.ALPHA.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.7.0/
ant-1.7.0.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 

Completed in 469 milliseconds

1 2