Home
last modified time | relevance | path

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

/external/icu/icu4c/source/layoutex/
Dplruns.cpp33 pl_closeFontRuns(pl_fontRuns *fontRuns) in pl_closeFontRuns() argument
35 FontRuns *fr = (FontRuns *) fontRuns; in pl_closeFontRuns()
41 pl_getFontRunCount(const pl_fontRuns *fontRuns) in pl_getFontRunCount() argument
43 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunCount()
53 pl_resetFontRuns(pl_fontRuns *fontRuns) in pl_resetFontRuns() argument
55 FontRuns *fr = (FontRuns *) fontRuns; in pl_resetFontRuns()
63 pl_getFontRunLastLimit(const pl_fontRuns *fontRuns) in pl_getFontRunLastLimit() argument
65 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunLastLimit()
75 pl_getFontRunLimit(const pl_fontRuns *fontRuns, in pl_getFontRunLimit() argument
78 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunLimit()
[all …]
Dplayout.cpp28 const pl_fontRuns *fontRuns, in pl_create() argument
36 ParagraphLayout *pl = new ParagraphLayout(chars, count, (const FontRuns *) fontRuns, in pl_create()
DParagraphLayout.cpp312 const FontRuns *fontRuns, in ParagraphLayout() argument
350 computeSubFonts(fontRuns, status); in ParagraphLayout()
779 void ParagraphLayout::computeSubFonts(const FontRuns *fontRuns, LEErrorCode &status) in computeSubFonts() argument
785 const RunArray *styleRunArrays[] = {fontRuns, fScriptRuns}; in computeSubFonts()
800 const LEFontInstance *runFont = fontRuns->getFont(si[0]); in computeSubFonts()
/external/icu/icu4c/source/samples/layout/
Dpflow.c74 static le_int32 findFontRun(const pl_fontRuns *fontRuns, le_int32 offset) in findFontRun() argument
76 le_int32 runCount = pl_getFontRunCount(fontRuns); in findFontRun()
80 if (pl_getFontRunLimit(fontRuns, run) > offset) { in findFontRun()
88 static void subsetFontRuns(const pl_fontRuns *fontRuns, le_int32 start, le_int32 limit, pl_fontRuns… in subsetFontRuns() argument
90 le_int32 startRun = findFontRun(fontRuns, start); in subsetFontRuns()
91 le_int32 endRun = findFontRun(fontRuns, limit - 1); in subsetFontRuns()
97 const le_font *runFont = pl_getFontRunFont(fontRuns, run); in subsetFontRuns()
98 le_int32 runLimit = pl_getFontRunLimit(fontRuns, run) - start; in subsetFontRuns()
108 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create() argument
165 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
[all …]
Dparagraph.cpp57 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns() argument
59 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns()
60 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns()
65 const LEFontInstance *runFont = fontRuns->getFont(run); in subsetFontRuns()
66 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns()
76 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorC… in Paragraph() argument
113 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
268 FontRuns fontRuns(0); in paragraphFactory() local
270 fontRuns.add(font, charCount); in paragraphFactory()
272 result = new Paragraph(text, charCount, &fontRuns, status); in paragraphFactory()
Dpflow.h21 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro…
Dparagraph.h36 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat…
/external/icu/icu4c/source/layoutex/layout/
Dplruns.h84 pl_closeFontRuns(pl_fontRuns *fontRuns);
96 pl_getFontRunCount(const pl_fontRuns *fontRuns);
106 pl_resetFontRuns(pl_fontRuns *fontRuns);
119 pl_getFontRunLastLimit(const pl_fontRuns *fontRuns);
132 pl_getFontRunLimit(const pl_fontRuns *fontRuns,
148 pl_getFontRunFont(const pl_fontRuns *fontRuns,
171 pl_addFontRun(pl_fontRuns *fontRuns,
DParagraphLayout.h397 const FontRuns *fontRuns,
431 static le_bool isComplex(const LEUnicode chars[], le_int32 count, const FontRuns *fontRuns);
592 void computeSubFonts(const FontRuns *fontRuns, LEErrorCode &status);
Dplayout.h99 const pl_fontRuns *fontRuns,
/external/icu/icu4c/source/test/letest/
Dcletest.c519 pl_fontRuns *fontRuns; in GlyphToCharTest() local
650 fontRuns = pl_openEmptyFontRuns(0); in GlyphToCharTest()
651 pl_addFontRun(fontRuns, font, charCount); in GlyphToCharTest()
653 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, FALSE, &status); in GlyphToCharTest()
655 pl_closeFontRuns(fontRuns); in GlyphToCharTest()
Dletest.cpp755 FontRuns fontRuns(0); in GlyphToCharTest() local
884 fontRuns.add(font, charCount); in GlyphToCharTest()
886 …paragraphLayout = new ParagraphLayout(chars, charCount, &fontRuns, NULL, NULL, NULL, 0, FALSE, sta… in GlyphToCharTest()