Searched defs:LayoutPieces (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | LayoutPieces.h | 28 struct LayoutPieces { struct 29 const static uint32_t kNoPaintId = static_cast<uint32_t>(-1); 31 struct Key { 68 LayoutPieces() : nextPaintId(0) {} in LayoutPieces() argument 69 ~LayoutPieces() {} in ~LayoutPieces() argument 71 uint32_t nextPaintId; 72 std::unordered_map<MinikinPaint, uint32_t, PaintHasher> paintMap; 73 std::unordered_map<Key, LayoutPiece, KeyHasher> offsetMap; 75 void insert(const Range& range, HyphenEdit edit, const LayoutPiece& layout, bool dir, in insert() 88 void getOrCreate(const U16StringPiece& textBuf, const Range& range, const Range& context, in getOrCreate() [all …]
|
D | MeasuredText.h | 83 LayoutPieces* /* pieces */) const { in measureHyphenPiece() argument 153 LayoutPieces* /* precomputed */, LayoutPieces* /* outPieces */) const override { in getMetrics() argument 160 const LayoutPieces& /* pieces */) const override { in getBounds() 166 const LayoutPieces& /* pieces */) const override { in getExtent() 171 const Range& /* contextRange */, const LayoutPieces& /* pieces */, in appendLayout()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 58 virtual void getMetrics(const U16StringPiece&, std::vector<float>* advances, LayoutPieces*, in getMetrics() argument 66 const LayoutPieces& /* pieces */) const { in getBounds() 71 const LayoutPieces& /* pieces */) const override { in getExtent() 79 LayoutPieces*) const { in measureHyphenPiece() argument 91 const LayoutPieces&, const MinikinPaint&, uint32_t, StartHyphenEdit, in appendLayout()
|