Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp58 TestableLayoutCache layoutCache(10); in TEST() local
61 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST()
65 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST()
76 TestableLayoutCache layoutCache(10); in TEST() local
83 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
85 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
91 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
93 layoutCache.getOrCreate(text1, Range(1, text1.size()), paint, false /* LTR */, in TEST()
99 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
101 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp109 LayoutCache& layoutCache = LayoutCache::getInstance(); in measureText() local
112 layoutCache.getOrCreate(textBuf.substr(context), piece - context.getStart(), mPaint, in measureText()