Home
last modified time | relevance | path

Searched refs:MinikinExtent (Results 1 – 12 of 12) sorted by relevance

/frameworks/minikin/include/minikin/
DLayout.h103 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;
DMeasuredText.h48 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()
DMinikinFont.h110 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/
DLayout.cpp275 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()
DOptimalLineBreaker.cpp288 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()
DGreedyLineBreaker.cpp362 MinikinExtent extent = {0.0, 0.0, 0.0}; in getResult()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h41 void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
DFreeTypeMinikinFontForTest.cpp107 void FreeTypeMinikinFontForTest::GetFontExtent(MinikinExtent* extent, in GetFontExtent()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h41 void GetFontExtent(minikin::MinikinExtent* extent, const minikin::MinikinPaint& paint,
DMinikinSkia.cpp75 void MinikinFontSkia::GetFontExtent(minikin::MinikinExtent* extent, in GetFontExtent()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h55 virtual void getMetrics(const U16StringPiece&, float* advances, MinikinExtent*, in getMetrics() argument
DLayoutTest.cpp494 MinikinExtent extents[text.size()]; in TEST_F()