Searched refs:cachedValue (Results 1 – 3 of 3) sorted by relevance
190 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired() local191 return cachedValue == null ? null : cachedValue.getValue(); in getPossiblyExpired()205 CachedValue<V> cachedValue = getCachedValue(key); in get() local206 return cachedValue == null || cachedValue.isExpired() ? null : cachedValue.getValue(); in get()
40 final Float cachedValue = sTextHeightCache.get(key); in getCharHeight() local41 if (cachedValue != null) { in getCharHeight()42 return cachedValue; in getCharHeight()60 final Float cachedValue = sTextWidthCache.get(key); in getCharWidth() local61 if (cachedValue != null) { in getCharWidth()62 return cachedValue; in getCharWidth()
113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a"); in testComputingCache() local114 assertNotNull("Should have been created implicitly", cachedValue); in testComputingCache()115 assertEquals(0, cachedValue.getValue().intValue()); in testComputingCache()116 assertFalse("Should not be expired", cachedValue.isExpired()); in testComputingCache()