Home
last modified time | relevance | path

Searched refs:MinikinRect (Results 1 – 14 of 14) sorted by relevance

/frameworks/minikin/include/minikin/
DLayout.h95 static std::pair<float, MinikinRect> getBoundsWithPrecomputedPieces(const U16StringPiece& str,
130 void getBounds(MinikinRect* rect) const;
131 const MinikinRect& getBounds() const { return mBounds; } in getBounds()
142 sizeof(float /* mAdvance */) + sizeof(MinikinRect /* mBounds */); in getMemoryUsage()
167 MinikinExtent* extents, MinikinRect* bounds,
175 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut);
191 MinikinRect mBounds;
DMinikinFont.h87 struct MinikinRect { struct
93 void set(const MinikinRect& r) { in set() argument
106 void join(const MinikinRect& r); argument
133 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint,
DMeasuredText.h51 virtual std::pair<float, MinikinRect> getBounds(const U16StringPiece& text, const Range& range,
92 std::pair<float, MinikinRect> getBounds(const U16StringPiece& text, const Range& range, in getBounds()
128 std::pair<float, MinikinRect> getBounds(const U16StringPiece& /* text */, in getBounds()
132 return std::make_pair(mWidth, MinikinRect()); in getBounds()
185 MinikinRect getBounds(const U16StringPiece& textBuf, const Range& range);
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp66 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) { in getBounds()
67 MinikinRect rect; in getBounds()
74 std::pair<float, MinikinRect> next = in getBounds()
76 MinikinRect nextRect = next.second; in getBounds()
DLayout.cpp122 void MinikinRect::join(const MinikinRect& r) { in join()
258 std::pair<float, MinikinRect> Layout::getBoundsWithPrecomputedPieces(const U16StringPiece& textBuf, in getBoundsWithPrecomputedPieces()
263 MinikinRect rect; in getBoundsWithPrecomputedPieces()
293 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut) { in doLayoutRunCached()
348 MinikinRect* bounds, uint32_t outOffset, float wordSpacing) in LayoutAppendFunctor()
397 MinikinRect* mBounds;
406 MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut) { in doLayoutWord()
720 MinikinRect glyphBounds; in doLayoutRun()
786 MinikinRect srcBounds(src.mBounds); in appendLayout()
837 void Layout::getBounds(MinikinRect* bounds) const { in getBounds()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp95 float y, minikin::MinikinRect& bounds, float totalAdvance) in DrawTextFunctor()
155 minikin::MinikinRect& bounds;
171 minikin::MinikinRect bounds; in drawText()
DMinikinSkia.h37 void GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id,
DMinikinSkia.cpp61 void MinikinFontSkia::GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id, in GetBounds()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h60 virtual std::pair<float, MinikinRect> getBounds(const U16StringPiece& /* text */, in getBounds()
63 return std::make_pair(mWidth, MinikinRect()); in getBounds()
DLayoutTest.cpp82 MinikinRect rect; in TEST_F()
176 MinikinRect rect; in TEST_F()
280 MinikinRect rect; in TEST_F()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h39 void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint,
DFreeTypeMinikinFontForTest.cpp93 void FreeTypeMinikinFontForTest::GetBounds(MinikinRect* bounds, uint32_t glyphId, in GetBounds()
/frameworks/base/core/jni/
Dandroid_text_MeasuredParagraph.cpp120 minikin::MinikinRect rect = toMeasuredParagraph(ptr)->getBounds(textBuffer, range); in nGetBounds()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp355 minikin::MinikinRect rect; in doTextBounds()