Home
last modified time | relevance | path

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

/external/icu/icu4c/source/layoutex/
Dplruns.cpp35 pl_closeFontRuns(pl_fontRuns *fontRuns) in pl_closeFontRuns() argument
37 FontRuns *fr = (FontRuns *) fontRuns; in pl_closeFontRuns()
43 pl_getFontRunCount(const pl_fontRuns *fontRuns) in pl_getFontRunCount() argument
45 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunCount()
55 pl_resetFontRuns(pl_fontRuns *fontRuns) in pl_resetFontRuns() argument
57 FontRuns *fr = (FontRuns *) fontRuns; in pl_resetFontRuns()
65 pl_getFontRunLastLimit(const pl_fontRuns *fontRuns) in pl_getFontRunLastLimit() argument
67 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunLastLimit()
77 pl_getFontRunLimit(const pl_fontRuns *fontRuns, in pl_getFontRunLimit() argument
80 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunLimit()
[all …]
Dplayout.cpp30 const pl_fontRuns *fontRuns, in pl_create() argument
38 ParagraphLayout *pl = new ParagraphLayout(chars, count, (const FontRuns *) fontRuns, in pl_create()
DParagraphLayout.cpp314 const FontRuns *fontRuns, in ParagraphLayout() argument
352 computeSubFonts(fontRuns, status); in ParagraphLayout()
781 void ParagraphLayout::computeSubFonts(const FontRuns *fontRuns, LEErrorCode &status) in computeSubFonts() argument
787 const RunArray *styleRunArrays[] = {fontRuns, fScriptRuns}; in computeSubFonts()
802 const LEFontInstance *runFont = fontRuns->getFont(si[0]); in computeSubFonts()
/external/cronet/third_party/icu/source/samples/layout/
Dpflow.c79 static le_int32 findFontRun(const pl_fontRuns *fontRuns, le_int32 offset) in findFontRun() argument
81 le_int32 runCount = pl_getFontRunCount(fontRuns); in findFontRun()
85 if (pl_getFontRunLimit(fontRuns, run) > offset) { in findFontRun()
93 static void subsetFontRuns(const pl_fontRuns *fontRuns, le_int32 start, le_int32 limit, pl_fontRuns… in subsetFontRuns() argument
95 le_int32 startRun = findFontRun(fontRuns, start); in subsetFontRuns()
96 le_int32 endRun = findFontRun(fontRuns, limit - 1); in subsetFontRuns()
102 const le_font *runFont = pl_getFontRunFont(fontRuns, run); in subsetFontRuns()
103 le_int32 runLimit = pl_getFontRunLimit(fontRuns, run) - start; in subsetFontRuns()
113 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create() argument
170 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
[all …]
Dparagraph.cpp63 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns() argument
65 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns()
66 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns()
71 const LEFontInstance *runFont = fontRuns->getFont(run); in subsetFontRuns()
72 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns()
82 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorC… in Paragraph() argument
119 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
274 FontRuns fontRuns(0); in paragraphFactory() local
276 fontRuns.add(font, charCount); in paragraphFactory()
278 result = new Paragraph(text, charCount, &fontRuns, status); in paragraphFactory()
Dpflow.h24 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro…
Dparagraph.h42 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat…
/external/icu/icu4c/source/samples/layout/
Dpflow.c79 static le_int32 findFontRun(const pl_fontRuns *fontRuns, le_int32 offset) in findFontRun() argument
81 le_int32 runCount = pl_getFontRunCount(fontRuns); in findFontRun()
85 if (pl_getFontRunLimit(fontRuns, run) > offset) { in findFontRun()
93 static void subsetFontRuns(const pl_fontRuns *fontRuns, le_int32 start, le_int32 limit, pl_fontRuns… in subsetFontRuns() argument
95 le_int32 startRun = findFontRun(fontRuns, start); in subsetFontRuns()
96 le_int32 endRun = findFontRun(fontRuns, limit - 1); in subsetFontRuns()
102 const le_font *runFont = pl_getFontRunFont(fontRuns, run); in subsetFontRuns()
103 le_int32 runLimit = pl_getFontRunLimit(fontRuns, run) - start; in subsetFontRuns()
113 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create() argument
170 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
[all …]
Dparagraph.cpp63 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns() argument
65 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns()
66 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns()
71 const LEFontInstance *runFont = fontRuns->getFont(run); in subsetFontRuns()
72 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns()
82 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorC… in Paragraph() argument
119 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
274 FontRuns fontRuns(0); in paragraphFactory() local
276 fontRuns.add(font, charCount); in paragraphFactory()
278 result = new Paragraph(text, charCount, &fontRuns, status); in paragraphFactory()
Dpflow.h24 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro…
Dparagraph.h42 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat…
/external/icu/icu4c/source/layoutex/layout/
Dplruns.h89 pl_closeFontRuns(pl_fontRuns *fontRuns);
101 pl_getFontRunCount(const pl_fontRuns *fontRuns);
111 pl_resetFontRuns(pl_fontRuns *fontRuns);
124 pl_getFontRunLastLimit(const pl_fontRuns *fontRuns);
137 pl_getFontRunLimit(const pl_fontRuns *fontRuns,
153 pl_getFontRunFont(const pl_fontRuns *fontRuns,
176 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.h101 const pl_fontRuns *fontRuns,
/external/icu/icu4c/source/test/letest/
Dcletest.c521 pl_fontRuns *fontRuns; in GlyphToCharTest() local
652 fontRuns = pl_openEmptyFontRuns(0); in GlyphToCharTest()
653 pl_addFontRun(fontRuns, font, charCount); in GlyphToCharTest()
655 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, false, &status); in GlyphToCharTest()
657 pl_closeFontRuns(fontRuns); in GlyphToCharTest()
Dletest.cpp757 FontRuns fontRuns(0); in GlyphToCharTest() local
886 fontRuns.add(font, charCount); in GlyphToCharTest()
888 …paragraphLayout = new ParagraphLayout(chars, charCount, &fontRuns, NULL, NULL, NULL, 0, false, sta… in GlyphToCharTest()
/external/cronet/third_party/icu/source/test/letest/
Dcletest.c521 pl_fontRuns *fontRuns; in GlyphToCharTest() local
652 fontRuns = pl_openEmptyFontRuns(0); in GlyphToCharTest()
653 pl_addFontRun(fontRuns, font, charCount); in GlyphToCharTest()
655 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, false, &status); in GlyphToCharTest()
657 pl_closeFontRuns(fontRuns); in GlyphToCharTest()
Dletest.cpp757 FontRuns fontRuns(0); in GlyphToCharTest() local
886 fontRuns.add(font, charCount); in GlyphToCharTest()
888 …paragraphLayout = new ParagraphLayout(chars, charCount, &fontRuns, NULL, NULL, NULL, 0, false, sta… in GlyphToCharTest()