Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayoutCache.h152 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, LayoutSlot*> {
214 static LayoutCache& getInstance() { in getInstance()
215 static LayoutCache cache(kMaxEntries); in getInstance()
220 LayoutCache(uint32_t maxEntries) : mCache(maxEntries) { in LayoutCache() function
DLayoutPieces.h109 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), range - context.getStart(), in getOrCreate()
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp76 LayoutCache::getInstance().getOrCreate( in getMetrics()
109 LayoutCache& layoutCache = LayoutCache::getInstance(); in measureText()
162 LayoutCache::getInstance().getOrCreate( in measureHyphenPiece()
251 LayoutCache::getInstance().getOrCreate( in appendLayout()
DMeasurement.cpp218 LayoutCache::getInstance().getOrCreate( in getBounds()
245 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), in getFontExtent()
DLayout.cpp327 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, isRtl, startHyphen, endHyphen, in doLayoutWord()
359 LayoutCache::getInstance().clear(); in purgeCaches()
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp29 class TestableLayoutCache : public LayoutCache {
31 TestableLayoutCache(uint32_t maxEntries) : LayoutCache(maxEntries) {} in TestableLayoutCache()
32 using LayoutCache::getCacheSize;