Searched refs:MinikinExtent (Results 1 – 12 of 12) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | Layout.h | 103 EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents, 124 void getExtents(MinikinExtent* extents) const; 141 sizeof(MinikinExtent) * mExtents.size() + sizeof(FakedFont) * mFaces.size() + in getMemoryUsage() 167 MinikinExtent* extents, MinikinRect* bounds, 175 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut); 187 std::vector<MinikinExtent> mExtents;
|
D | MeasuredText.h | 48 virtual void getMetrics(const U16StringPiece& text, float* advances, MinikinExtent* extents, 85 void getMetrics(const U16StringPiece& text, float* advances, MinikinExtent* extents, in getMetrics() 123 MinikinExtent* /* unused */, LayoutPieces* /* pieces */) const override { in getMetrics() argument 165 std::vector<MinikinExtent> extents; 178 return sizeof(float) * widths.size() + sizeof(MinikinExtent) * extents.size() + in getMemoryUsage()
|
D | MinikinFont.h | 110 struct MinikinExtent { struct 117 void extendBy(const MinikinExtent& e) { in extendBy() argument 136 virtual void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 275 EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents, in measureText() 281 MinikinExtent* extentsForRun = extents ? extents + offset : nullptr; in measureText() 293 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut) { in doLayoutRunCached() 347 MinikinExtent* extents, LayoutPieces* pieces, float* totalAdvance, in LayoutAppendFunctor() 394 MinikinExtent* mExtents; 406 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut) { in doLayoutWord() 623 MinikinExtent verticalExtent; in doLayoutRun() 833 void Layout::getExtents(MinikinExtent* extents) const { in getExtents() 834 memcpy(extents, &mExtents[0], mExtents.size() * sizeof(MinikinExtent)); in getExtents()
|
D | OptimalLineBreaker.cpp | 288 MinikinExtent computeMaxExtent(const U16StringPiece& textBuf, const MeasuredText& measured, 294 MinikinExtent LineBreakOptimizer::computeMaxExtent(const U16StringPiece& textBuf, in computeMaxExtent() 297 MinikinExtent res = {0.0, 0.0, 0.0}; in computeMaxExtent() 321 MinikinExtent extent = computeMaxExtent(textBuf, measured, prev.offset, cand.offset); in finishBreaksOptimal()
|
D | GreedyLineBreaker.cpp | 362 MinikinExtent extent = {0.0, 0.0, 0.0}; in getResult()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.h | 41 void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
|
D | FreeTypeMinikinFontForTest.cpp | 107 void FreeTypeMinikinFontForTest::GetFontExtent(MinikinExtent* extent, in GetFontExtent()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 41 void GetFontExtent(minikin::MinikinExtent* extent, const minikin::MinikinPaint& paint,
|
D | MinikinSkia.cpp | 75 void MinikinFontSkia::GetFontExtent(minikin::MinikinExtent* extent, in GetFontExtent()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 55 virtual void getMetrics(const U16StringPiece&, float* advances, MinikinExtent*, in getMetrics() argument
|
D | LayoutTest.cpp | 494 MinikinExtent extents[text.size()]; in TEST_F()
|