Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DFontsContract.java332 Typeface cachedTypeface = sTypefaceCache.get(id); in getFontSync() local
333 if (cachedTypeface != null) { in getFontSync()
334 return cachedTypeface; in getFontSync()
340 cachedTypeface = sTypefaceCache.get(id); in getFontSync()
341 if (cachedTypeface != null) { in getFontSync()
342 return cachedTypeface; in getFontSync()
506 final Typeface cachedTypeface = sTypefaceCache.get(request.getIdentifier()); in requestFonts() local
507 if (cachedTypeface != null) { in requestFonts()
508 callerThreadHandler.post(() -> callback.onTypefaceRetrieved(cachedTypeface)); in requestFonts()