Home
last modified time | relevance | path

Searched refs:cachedValue (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/util/
DExpirableCache.java166 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired() local
167 return cachedValue == null ? null : cachedValue.getValue(); in getPossiblyExpired()
180 CachedValue<V> cachedValue = getCachedValue(key); in get() local
181 return cachedValue == null || cachedValue.isExpired() ? null : cachedValue.getValue(); in get()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java40 final Float cachedValue = sTextHeightCache.get(key); in getCharHeight() local
41 if (cachedValue != null) { in getCharHeight()
42 return cachedValue; in getCharHeight()
60 final Float cachedValue = sTextWidthCache.get(key); in getCharWidth() local
61 if (cachedValue != null) { in getCharWidth()
62 return cachedValue; in getCharWidth()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DIconLoader.java95 Drawable cachedValue = mCache.get(cacheKey); in loadIcon() local
96 if (cachedValue != null) { in loadIcon()
97 return immediateFuture(cachedValue != MISSING ? cachedValue : null); in loadIcon()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DTrafficStatsRateLimitCache.java126 final NetworkStats.Entry cachedValue = get(iface, uid); in getOrCompute() local
127 if (cachedValue != null) { in getOrCompute()
128 return cachedValue; in getOrCompute()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java410 List<WindowBounds> cachedValue = getCurrentBounds(); in Info() local
413 if (cachedValue == null) { in Info()
420 cachedValue = getCurrentBounds(); in Info()
421 if (cachedValue == null) { in Info()
428 if (cachedValue != null) { in Info()
430 WindowBounds expectedBounds = cachedValue.get(displayInfo.rotation); in Info()
432 List<WindowBounds> clone = new ArrayList<>(cachedValue); in Info()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitatorImpl.java647 final Boolean cachedValue = mValidSpellingWordReadCache.get(word); in isValidSpellingWord() local
648 if (cachedValue != null) { in isValidSpellingWord()
649 return cachedValue; in isValidSpellingWord()