Home
last modified time | relevance | path

Searched refs:nGlyphs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h61 size_t nGlyphs = layout.nGlyphs(); in forFontRun() local
62 for (size_t i = 0; i < nGlyphs; i++) { in forFontRun()
73 if (nGlyphs > start) { in forFontRun()
75 f(start, nGlyphs); in forFontRun()
DCanvas.cpp159 size_t nGlyphs = layout.nGlyphs(); in drawText() local
160 std::unique_ptr<uint16_t[]> glyphs(new uint16_t[nGlyphs]); in drawText()
161 std::unique_ptr<float[]> pos(new float[nGlyphs * 2]); in drawText()
/frameworks/minikin/tests/unittest/
DLayoutTest.cpp363 ASSERT_EQ(ltrLayout.nGlyphs(), rtlLayout.nGlyphs()); in TEST_F()
364 ASSERT_EQ(6u, ltrLayout.nGlyphs()); in TEST_F()
366 size_t nGlyphs = ltrLayout.nGlyphs(); in TEST_F() local
367 for (size_t i = 0; i < nGlyphs; ++i) { in TEST_F()
368 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F()
369 EXPECT_EQ(ltrLayout.getGlyphId(i), rtlLayout.getGlyphId(nGlyphs - i - 1)); in TEST_F()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp313 size_t nGlyphs = layout.nGlyphs(); in getTextPath() local
314 uint16_t* glyphs = new uint16_t[nGlyphs]; in getTextPath()
315 SkPoint* pos = new SkPoint[nGlyphs]; in getTextPath()
403 for (size_t i = 0; i < layout.nGlyphs(); i++) { in layoutContainsNotdef()
418 for (size_t i = 0; i < layout.nGlyphs(); i++) { in countNonSpaceGlyphs()
472 size_t nGlyphs = countNonSpaceGlyphs(layout); in hasGlyph() local
473 if (nGlyphs != 1 && nChars > 1) { in hasGlyph()
480 if (nGlyphs == 0 || layoutContainsNotdef(layout)) { in hasGlyph()
492 if (zzLayout.nGlyphs() != 1 || layoutContainsNotdef(zzLayout)) { in hasGlyph()
/frameworks/minikin/include/minikin/
DLayout.h83 size_t nGlyphs() const;
/frameworks/minikin/libs/minikin/
DLayout.cpp1063 size_t Layout::nGlyphs() const { in nGlyphs() function in minikin::Layout