Searched refs:LayoutPiece (Results 1 – 9 of 9) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | LayoutCache.h | 127 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, LayoutPiece*> { 140 f(LayoutPiece(text, range, dir, paint, startHyphen, endHyphen), paint); in getOrCreate() 146 LayoutPiece* layout = mCache.get(key); in getOrCreate() 156 std::unique_ptr<LayoutPiece> layout = in getOrCreate() 157 std::make_unique<LayoutPiece>(text, range, dir, paint, startHyphen, endHyphen); in getOrCreate() 203 void operator()(LayoutCacheKey& key, LayoutPiece*& value) { in operator() 208 android::LruCache<LayoutCacheKey, LayoutPiece*> mCache GUARDED_BY(mMutex);
|
D | LayoutCore.h | 45 class LayoutPiece { 47 LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl,
|
D | LayoutPieces.h | 73 std::unordered_map<Key, LayoutPiece, KeyHasher> offsetMap; 75 void insert(const Range& range, HyphenEdit edit, const LayoutPiece& layout, bool dir, in insert()
|
D | Layout.h | 105 void appendLayout(const LayoutPiece& src, size_t start, float extraAdvance);
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 40 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& paint) { in operator ()() 89 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& paint) { in operator ()() 166 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() 213 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() 248 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()()
|
D | Layout.cpp | 107 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() 149 void Layout::appendLayout(const LayoutPiece& src, size_t start, float extraAdvance) { in appendLayout()
|
D | LayoutCore.cpp | 342 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece() function in minikin::LayoutPiece
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 30 static LayoutPiece buildLayout(const std::string& text, const MinikinPaint& paint) { in buildLayout() 32 return LayoutPiece(utf16, Range(0, utf16.size()), false /* rtl */, paint, in buildLayout() 36 static LayoutPiece buildLayout(const std::string& text, const std::vector<std::string>& fonts) { in buildLayout() 47 static LayoutPiece buildLayout(const std::string& text, const std::vector<std::string>& fonts, in buildLayout()
|
D | LayoutCacheTest.cpp | 39 void operator()(const LayoutPiece& layout, const MinikinPaint& /* dir */) { mLayout = &layout; } in operator ()() 41 const LayoutPiece* get() const { return mLayout; } in get() 44 const LayoutPiece* mLayout;
|