HomeSort by relevance Sort by last modified time
    Searched refs:LayoutCache (Results 1 - 5 of 5) sorted by null

  /frameworks/minikin/include/minikin/
LayoutCache.h 129 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, Layout*> {
136 // Do not use LayoutCache inside the callback function, otherwise dead-lock may happen.
178 static LayoutCache& getInstance() {
179 static LayoutCache cache(kMaxEntries);
184 LayoutCache(uint32_t maxEntries) : mCache(maxEntries), mRequestCount(0), mCacheHitCount(0) {
LayoutPieces.h 23 #include "minikin/LayoutCache.h"
58 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, dir, startEdit, endEdit,
Layout.h 150 friend class LayoutCache;
  /frameworks/minikin/tests/unittest/
LayoutCacheTest.cpp 21 #include "minikin/LayoutCache.h"
29 class TestableLayoutCache : public LayoutCache {
31 TestableLayoutCache(uint32_t maxEntries) : LayoutCache(maxEntries) {}
51 TestableLayoutCache layoutCache(10);
54 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT,
58 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT,
69 TestableLayoutCache layoutCache(10);
76 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */,
78 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */,
84 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */
    [all...]
  /frameworks/minikin/libs/minikin/
Layout.cpp 37 #include "minikin/LayoutCache.h"
417 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, isRtl, startHyphen, endHyphen,
    [all...]

Completed in 586 milliseconds