Home
last modified time | relevance | path

Searched defs:LayoutPieces (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/include/minikin/
DLayoutPieces.h28 struct LayoutPieces { struct
29 const static uint32_t kNoPaintId = static_cast<uint32_t>(-1);
31 struct Key {
73 LayoutPieces() : nextPaintId(0) {} in LayoutPieces() function
74 ~LayoutPieces() {} in ~LayoutPieces() argument
76 uint32_t nextPaintId;
77 std::unordered_map<MinikinPaint, uint32_t, PaintHasher> paintMap;
78 std::unordered_map<Key, LayoutSlot, KeyHasher> offsetMap;
80 void insert(const Range& range, HyphenEdit edit, const LayoutPiece& layout, bool dir, in insert()
93 void getOrCreate(const U16StringPiece& textBuf, const Range& range, const Range& context, in getOrCreate()
[all …]
DMeasuredText.h111 LayoutPieces* /* pieces */) const { in measureHyphenPiece() argument
198 std::vector<uint8_t>* /*flags*/, LayoutPieces* /* precomputed */, bool, in getMetrics() argument
206 const LayoutPieces& /* pieces */) const override { in getBounds()
212 const LayoutPieces& /* pieces */) const override { in getExtent()
217 const LayoutPieces& /*pieces*/) const override { in getLineMetrics()
222 const Range& /* contextRange */, const LayoutPieces& /* pieces */, in appendLayout()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h60 std::vector<uint8_t>* /*flags*/, LayoutPieces*, in getMetrics() argument
68 const LayoutPieces& /* pieces */) const { in getBounds()
73 const LayoutPieces& /* pieces */) const override { in getExtent()
87 LayoutPieces*) const { in measureHyphenPiece() argument
99 const LayoutPieces&, const MinikinPaint&, uint32_t, StartHyphenEdit, in appendLayout()