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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
TypefaceUtils.java 39 final Float cachedValue = sTextHeightCache.get(key);
40 if (cachedValue != null) {
41 return cachedValue;
59 final Float cachedValue = sTextWidthCache.get(key);
60 if (cachedValue != null) {
61 return 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...]
  /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/freemarker/
freemarker-2.3.19.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/internal/org/apache/ant/ant/1.8.0/
ant-1.8.0.jar 

Completed in 5237 milliseconds