/third_party/skia/modules/skparagraph/src/ |
H A D | ParagraphCache.cpp | 34 ParagraphCacheKey(const ParagraphImpl* paragraph) in ParagraphCacheKey() argument 35 : fText(paragraph->fText.c_str(), paragraph->fText.size()) in ParagraphCacheKey() 36 , fPlaceholders(paragraph->fPlaceholders) in ParagraphCacheKey() 37 , fTextStyles(paragraph->fTextStyles) in ParagraphCacheKey() 38 , fParagraphStyle(paragraph->paragraphStyle()) { in ParagraphCacheKey() 39 fHash = computeHash(paragraph); in ParagraphCacheKey() 64 uint32_t computeHash(const ParagraphImpl* paragraph) const; 75 ParagraphCacheValue(ParagraphCacheKey&& key, const ParagraphImpl* paragraph) in ParagraphCacheValue() argument 77 , fRuns(paragraph in ParagraphCacheValue() 283 updateTo(ParagraphImpl* paragraph, const Entry* entry) updateTo() argument 330 useCachedLayout(const ParagraphImpl& paragraph, const ParagraphCacheValue* value) useCachedLayout() argument 344 SetStoredLayout(ParagraphImpl& paragraph) SetStoredLayout() argument 360 SetStoredLayoutImpl(ParagraphImpl& paragraph, ParagraphCacheValue* value) SetStoredLayoutImpl() argument 394 GetStoredLayout(ParagraphImpl& paragraph) GetStoredLayout() argument 443 findParagraph(ParagraphImpl* paragraph) findParagraph() argument 482 updateParagraph(ParagraphImpl* paragraph) updateParagraph() argument 521 cacheLayout(ParagraphImpl* paragraph) cacheLayout() argument 554 isPossiblyTextEditing(ParagraphImpl* paragraph) isPossiblyTextEditing() argument [all...] |
H A D | ParagraphImpl.cpp | 586 // Add the paragraph to the cache in GetLineFontMetrics() 951 // We have to letter space the entire paragraph (second most common case) in GetLineFontMetrics() 1741 // 2. An empty paragraph in GetLineFontMetrics() 1742 // In the first case SkParagraph takes the metrics from the default paragraph style in GetLineFontMetrics() 1785 // In case of non-empty paragraph TextHeightBehaviour flags will be applied at the appropriate place in GetLineFontMetrics() 2252 std::unique_ptr<ParagraphImpl> paragraph = std::make_unique<ParagraphImpl>(); in GetLineFontMetrics() local 2253 paragraph->copyProperties(*this); in GetLineFontMetrics() 2264 paragraph->fText.remove(0, validStart); in GetLineFontMetrics() 2265 paragraph->resetTextStyleRange(firstDeleteRange); in GetLineFontMetrics() 2266 paragraph in GetLineFontMetrics() 2289 std::unique_ptr<ParagraphImpl> paragraph = std::make_unique<ParagraphImpl>(); GetLineFontMetrics() local [all...] |
H A D | ParagraphLineFetcherImpl.cpp | 18 ParagraphLineFetcherImpl::ParagraphLineFetcherImpl(std::unique_ptr<Paragraph>&& paragraph) in ParagraphLineFetcherImpl() argument 19 : fRootParagraph(move(paragraph)) { in ParagraphLineFetcherImpl()
|
H A D | OneLineShaper.h | 18 explicit OneLineShaper(ParagraphImpl* paragraph) in OneLineShaper() argument 19 : fParagraph(paragraph) in OneLineShaper() 25 , fUniqueRunId(paragraph->fRuns.size()){ } in OneLineShaper()
|
/third_party/skia/modules/skparagraph/tests/ |
H A D | SkParagraphTest.cpp | 221 auto paragraph = builder.Build(); in UNIX_ONLY_TEST() local 222 paragraph->layout(TestCanvasWidth); in UNIX_ONLY_TEST() 223 REPORTER_ASSERT(reporter, paragraph->unresolvedGlyphs() == 0); in UNIX_ONLY_TEST() 225 auto impl = static_cast<ParagraphImpl*>(paragraph.get()); in UNIX_ONLY_TEST() 227 REPORTER_ASSERT(reporter, impl->styles().size() == 1); // paragraph style does not count in UNIX_ONLY_TEST() 264 auto paragraph = builder.Build(); in UNIX_ONLY_TEST() local 265 paragraph->layout(SK_ScalarInfinity); in UNIX_ONLY_TEST() 267 REPORTER_ASSERT(reporter, paragraph->unresolvedGlyphs() == 0); in UNIX_ONLY_TEST() 268 paragraph->layout(paragraph in UNIX_ONLY_TEST() 335 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 409 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 465 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 521 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 577 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 631 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 685 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 738 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 856 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 979 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1042 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1127 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1203 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1249 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1295 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1356 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1424 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1518 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1578 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1658 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1742 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1829 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1914 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 1986 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2050 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2123 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2200 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2290 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2362 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2407 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2448 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2499 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2547 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2596 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2657 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2760 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2828 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 2950 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3072 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3192 auto paragraph = builder.Build(); DEF_TEST_DISABLED() local 3259 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3353 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3415 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3517 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3562 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3604 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3715 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3764 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3808 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3850 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3892 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3937 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 3996 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4038 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4078 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4140 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4193 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4257 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4334 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4401 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4507 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4614 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4721 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4818 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4878 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4918 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 4948 auto paragraph = builder.Build(); DEF_TEST_DISABLED() local 4989 auto paragraph = builder.Build(); DEF_TEST_DISABLED() local 5191 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5218 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5237 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5280 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5334 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5365 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5374 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5396 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5442 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5491 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5517 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5606 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5706 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5772 auto paragraph = builder.Build(); DEF_TEST_DISABLED() local 5848 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5875 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 5904 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6041 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6063 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6217 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6250 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6292 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6420 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6464 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6544 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6573 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6606 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6636 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6705 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6751 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6790 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6837 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6927 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 6969 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7009 auto paragraph = builder.Build(); performGetRectsForRangeConcurrently() local 7087 auto paragraph = builder.Build(); DEF_TEST() local 7108 auto paragraph = builder.Build(); DEF_TEST() local 7194 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7262 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7317 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7380 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7442 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7492 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7529 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7571 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local 7651 auto paragraph = builder.Build(); UNIX_ONLY_TEST() local [all...] |
/third_party/skia/modules/skparagraph/samples/ |
H A D | SampleParagraph.cpp | 30 static DEFINE_bool(verboseParagraph, false, "paragraph samples very verbose."); 38 // If we reset font collection we need to reset paragraph cache in getFontCollection() 57 void writeHtml(const char* name, Paragraph* paragraph) { 157 auto paragraph = builder.Build(); in drawTest() local 158 paragraph->layout(w - margin * 2); in drawTest() 159 paragraph->paint(canvas, margin, margin); in drawTest() 161 canvas->translate(0, paragraph->getHeight()); in drawTest() 235 auto paragraph = builder.Build(); in drawCode() local 236 paragraph->layout(w - 20); in drawCode() 238 paragraph in drawCode() 302 auto paragraph = builder.Build(); drawText() local 339 auto paragraph = builder.Build(); drawLine() local 467 auto paragraph = builder.Build(); drawLine() local 660 auto paragraph = builder.Build(); drawFlutter() local 750 auto paragraph = builder.Build(); bidi() local 911 auto paragraph = builder.Build(); hangingS() local 951 auto paragraph = builder.Build(); hangingS() local 1000 auto paragraph = builder.Build(); drawText() local 1070 auto paragraph = builder.Build(); drawText() local 1165 auto paragraph = builder.Build(); drawText() local 1239 auto paragraph = builder.Build(); global() variable 1270 auto paragraph = builder.Build(); global() variable 1352 auto paragraph = builder.Build(); global() variable 1391 auto paragraph = builder.Build(); global() variable 1443 auto paragraph = builder.Build(); global() variable 1479 auto paragraph = builder.Build(); global() variable 1515 auto paragraph = builder.Build(); global() variable 1674 auto paragraph = builder.Build(); global() variable 1703 auto paragraph = builder.Build(); global() variable 1728 auto paragraph = builder.Build(); global() variable 1776 auto paragraph = builder.Build(); global() variable 1854 auto paragraph = builder.Build(); global() variable 1863 auto paragraph = builder.Build(); global() variable 1872 auto paragraph = builder.Build(); global() variable 1939 auto paragraph = builder.Build(); global() variable 1978 auto paragraph = builder.Build(); global() variable 2145 auto paragraph = builder.Build(); global() variable 2181 auto paragraph = builder.Build(); global() variable 2254 auto paragraph = builder.Build(); global() variable 2321 auto paragraph = builder.Build(); global() variable 2360 auto paragraph = builder.Build(); global() variable 2390 auto paragraph = builder.Build(); global() variable 2424 auto paragraph = builder.Build(); global() variable 2485 auto paragraph = builder.Build(); global() variable 2539 auto paragraph = builder.Build(); global() variable 2571 auto paragraph = builder.Build(); global() variable 2656 auto paragraph = builder.Build(); global() variable 2692 auto paragraph = builder.Build(); global() variable 2772 auto paragraph = builder.Build(); global() variable 2821 auto paragraph = builder.Build(); global() variable 2854 auto paragraph = builder.Build(); global() variable 2910 auto paragraph = builder.Build(); global() variable 2986 auto paragraph = builder->Build(); global() variable 3040 auto paragraph = builder->Build(); global() variable 3091 auto paragraph = builder.Build(); global() variable 3123 auto paragraph = builder.Build(); global() variable 3152 auto paragraph = builder.Build(); global() variable 3189 auto paragraph = builder.Build(); global() variable 3210 auto paragraph = builder.Build(); global() variable 3248 auto paragraph = builder.Build(); global() variable 3266 auto paragraph = builder.Build(); global() variable 3305 auto paragraph = builder.Build(); global() variable 3345 auto paragraph = builder.Build(); global() variable 3379 auto paragraph = builder.Build(); global() variable 3409 auto paragraph = builder.Build(); global() variable 3447 auto paragraph = builder.Build(); global() variable 3474 auto paragraph = builder.Build(); global() variable 3522 auto paragraph = builder.Build(); global() variable 3551 auto paragraph = builder.Build(); global() variable 3589 auto paragraph = builder.Build(); global() variable 3750 auto paragraph = builder.Build(); global() variable [all...] |
/third_party/skia/modules/skparagraph/include/ |
H A D | ParagraphCache.h | 25 bool updateParagraph(ParagraphImpl* paragraph); 26 bool findParagraph(ParagraphImpl* paragraph); 28 void SetStoredLayout(ParagraphImpl& paragraph); 29 bool GetStoredLayout(ParagraphImpl& paragraph); 40 bool isPossiblyTextEditing(ParagraphImpl* paragraph); 45 void updateFrom(const ParagraphImpl* paragraph, Entry* entry); 46 void updateTo(ParagraphImpl* paragraph, const Entry* entry); 49 bool useCachedLayout(const ParagraphImpl& paragraph, const ParagraphCacheValue* value); 50 void SetStoredLayoutImpl(ParagraphImpl& paragraph, ParagraphCacheValue* value); 51 ParagraphCacheValue* cacheLayout(ParagraphImpl* paragraph); [all...] |
/third_party/icu/icu4c/source/layoutex/ |
H A D | playout.cpp | 46 pl_close(pl_paragraph *paragraph) in pl_close() argument 48 ParagraphLayout *pl = (ParagraphLayout *) paragraph; in pl_close() 61 pl_getParagraphLevel(pl_paragraph *paragraph) in pl_getParagraphLevel() argument 63 ParagraphLayout *pl = (ParagraphLayout *) paragraph; in pl_getParagraphLevel() 73 pl_getTextDirection(pl_paragraph *paragraph) in pl_getTextDirection() argument 75 ParagraphLayout *pl = (ParagraphLayout *) paragraph; in pl_getTextDirection() 85 pl_getAscent(const pl_paragraph *paragraph) in pl_getAscent() argument 87 ParagraphLayout *pl = (ParagraphLayout *) paragraph; in pl_getAscent() 97 pl_getDescent(const pl_paragraph *paragraph) in pl_getDescent() argument 99 ParagraphLayout *pl = (ParagraphLayout *) paragraph; in pl_getDescent() 109 pl_getLeading(const pl_paragraph *paragraph) pl_getLeading() argument 121 pl_reflow(pl_paragraph *paragraph) pl_reflow() argument 133 pl_nextLine(pl_paragraph *paragraph, float width) pl_nextLine() argument [all...] |
/third_party/icu/icu4c/source/samples/layout/ |
H A D | layout.cpp | 23 #include "paragraph.h" 38 Paragraph *paragraph; member 60 if (context->paragraph != NULL) { in InitParagraph() 64 context->paragraph->breakLines(context->width, context->height); in InitParagraph() 70 si.nMax = context->paragraph->getLineCount() - 1; in InitParagraph() 71 si.nPage = context->height / context->paragraph->getLineHeight(); in InitParagraph() 154 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport); in WndProc() 225 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc() 226 ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL); in WndProc() 250 if (context->paragraph ! in WndProc() [all...] |
H A D | clayout.c | 38 pf_flow *paragraph; member 62 if (context->paragraph != NULL) { in InitParagraph() 66 pf_breakLines(context->paragraph, context->width, context->height); in InitParagraph() 72 si.nMax = pf_getLineCount(context->paragraph) - 1; in InitParagraph() 73 si.nPage = context->height / pf_getLineHeight(context->paragraph); in InitParagraph() 157 context->paragraph = pf_factory("Sample.txt", font, guiSupport); in WndProc() 228 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc() 229 ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL); in WndProc() 253 if (context->paragraph != NULL) { in WndProc() 259 lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph) in WndProc() [all...] |
H A D | gnomelayout.cpp | 30 #include "paragraph.h" 43 Paragraph *paragraph; member 106 if (context->paragraph != NULL) { in openOK() 107 delete context->paragraph; in openOK() 110 context->paragraph = newPara; in openOK() 114 context->paragraph->breakLines(context->width, context->height); in openOK() 211 if (context->paragraph != NULL) { in eventConfigure() 216 context->paragraph->breakLines(context->width, context->height); in eventConfigure() 225 if (context->paragraph != NULL) { in eventExpose() 226 gint maxLines = context->paragraph in eventExpose() [all...] |
H A D | cgnomelayout.c | 33 pf_flow *paragraph; member 100 if (context->paragraph != NULL) { in openOK() 101 pf_close(context->paragraph); in openOK() 104 context->paragraph = newPara; in openOK() 108 pf_breakLines(context->paragraph, context->width, context->height); in openOK() 205 if (context->paragraph != NULL) { in eventConfigure() 210 pf_breakLines(context->paragraph, context->width, context->height); in eventConfigure() 219 if (context->paragraph != NULL) { in eventExpose() 220 gint maxLines = pf_getLineCount(context->paragraph) - 1; in eventExpose() 221 gint firstLine = 0, lastLine = context->height / pf_getLineHeight(context->paragraph); in eventExpose() [all...] |
H A D | paragraph.cpp | 29 #include "paragraph.h" 173 for (le_int32 paragraph = 0; paragraph < fParagraphCount; paragraph += 1) { in ~Paragraph() 174 delete fParagraphLayout[paragraph]; in ~Paragraph()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | clayout.c | 37 pf_flow *paragraph; member 61 if (context->paragraph != NULL) { in InitParagraph() 65 pf_breakLines(context->paragraph, context->width, context->height); in InitParagraph() 71 si.nMax = pf_getLineCount(context->paragraph) - 1; in InitParagraph() 72 si.nPage = context->height / pf_getLineHeight(context->paragraph); in InitParagraph() 156 context->paragraph = pf_factory("Sample.txt", font, guiSupport); in WndProc() 227 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc() 228 ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL); in WndProc() 252 if (context->paragraph != NULL) { in WndProc() 258 lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph) in WndProc() [all...] |
H A D | layout.cpp | 23 #include "paragraph.h" 38 Paragraph *paragraph; member 60 if (context->paragraph != NULL) { in InitParagraph() 64 context->paragraph->breakLines(context->width, context->height); in InitParagraph() 70 si.nMax = context->paragraph->getLineCount() - 1; in InitParagraph() 71 si.nPage = context->height / context->paragraph->getLineHeight(); in InitParagraph() 154 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport); in WndProc() 225 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc() 226 ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL); in WndProc() 250 if (context->paragraph ! in WndProc() [all...] |
H A D | cgnomelayout.c | 31 pf_flow *paragraph; member 98 if (context->paragraph != NULL) { in openOK() 99 pf_close(context->paragraph); in openOK() 102 context->paragraph = newPara; in openOK() 106 pf_breakLines(context->paragraph, context->width, context->height); in openOK() 203 if (context->paragraph != NULL) { in eventConfigure() 208 pf_breakLines(context->paragraph, context->width, context->height); in eventConfigure() 217 if (context->paragraph != NULL) { in eventExpose() 218 gint maxLines = pf_getLineCount(context->paragraph) - 1; in eventExpose() 219 gint firstLine = 0, lastLine = context->height / pf_getLineHeight(context->paragraph); in eventExpose() [all...] |
H A D | gnomelayout.cpp | 30 #include "paragraph.h" 43 Paragraph *paragraph; member 106 if (context->paragraph != NULL) { in openOK() 107 delete context->paragraph; in openOK() 110 context->paragraph = newPara; in openOK() 114 context->paragraph->breakLines(context->width, context->height); in openOK() 211 if (context->paragraph != NULL) { in eventConfigure() 216 context->paragraph->breakLines(context->width, context->height); in eventConfigure() 225 if (context->paragraph != NULL) { in eventExpose() 226 gint maxLines = context->paragraph in eventExpose() [all...] |
H A D | paragraph.cpp | 29 #include "paragraph.h" 173 for (le_int32 paragraph = 0; paragraph < fParagraphCount; paragraph += 1) { in ~Paragraph() 174 delete fParagraphLayout[paragraph]; in ~Paragraph()
|
/third_party/icu/icu4c/source/layoutex/layout/ |
H A D | playout.h | 25 * \brief C API for paragraph layout. 33 * The opaque type for a paragraph layout. 40 * The opaque type for a line in a paragraph layout. 54 * Construct a <code>ParagraphLayout</code> object for a styled paragraph. The paragraph is specified 65 * @param chars is an array of the characters in the paragraph 67 * @param count is the number of characters in the paragraph. 83 * @param paragraphLevel is the directionality of the paragraph, as in the UBiDi object. 85 * @param vertical is <code>true</code> if the paragraph should be set vertically. 110 * Close the given paragraph layou [all...] |
/third_party/skia/modules/skparagraph/bench/ |
H A D | ParagraphBench.cpp | 43 auto paragraph = builder.Build(); variable 48 paragraph->layout(fWidth); 49 auto impl = static_cast<ParagraphImpl*>(paragraph.get()); 50 paragraph->paint(canvas, 0, 0); 51 paragraph->markDirty();
|
/third_party/ltp/docparse/ |
H A D | testinfo.pl | 130 sub paragraph subroutine 163 return paragraph(bold($key) . ": " . $val . (defined($val2) ? " $val2" : "")); 267 $content .= paragraph("Tests containing $desc flag."); 344 my $letters = paragraph(get_test_letters(\@names)); 350 $content .= paragraph("Total $#names tests."); 370 $content .= paragraph(html_a(tag_url("fname", $json->{'tests'}{$name}{fname}, 379 $doc = paragraph(bold(ucfirst(lc($doc)))); 389 $content .= paragraph("Test timeout is disabled"); 391 $content .= paragraph("Test timeout is $json->{'tests'}{$name}{timeout} seconds"); 394 $content .= paragraph("Tes [all...] |
/third_party/python/Doc/tools/extensions/ |
H A D | pyspecific.py | 121 pnode[0].replace_self(nodes.paragraph( 151 pnode = nodes.paragraph(availability_ref + self.arguments[0], 296 pnode = nodes.paragraph(text, classes=["audit-hook"], ids=ids) 446 para = nodes.paragraph(self.arguments[2], '', *inodes, translatable=False) 453 if isinstance(node[0], nodes.paragraph) and node[0].rawsource: 458 node[0].replace_self(nodes.paragraph('', '', content, translatable=False)) 462 para = nodes.paragraph('', '', 642 row += nodes.entry('', nodes.paragraph('', nodes.Text('Audit event'))) 643 row += nodes.entry('', nodes.paragraph('', nodes.Text('Arguments'))) 644 row += nodes.entry('', nodes.paragraph('', node [all...] |
/third_party/skia/fuzz/ |
H A D | FuzzSkParagraph.cpp | 123 // Add random bytes to the paragraph. 129 // Add random bytes to the paragraph. 140 // Add random Zalgo text to the paragraph. 273 auto paragraph = builder.Build(); in DEF_FUZZ() local 282 paragraph->layout(layout_width); in DEF_FUZZ() 283 paragraph->paint(&canvas, 0, 0); in DEF_FUZZ()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | Bidi.java | 65 * <h3>Basic concept: paragraph</h3> 106 * a default for the paragraph level for 160 * <h5>Rendering a paragraph with the ICU Bidi API</h5> 163 * could be used to render a paragraph of text. Rendering code depends highly on 483 * algorithm that are not needed on the specific paragraph 499 * and all levels are set to the paragraph level. 510 * consider if the paragraph direction should be considered in 513 * If there are no White Space types in the paragraph, then 569 * then set the paragraph level to 0 (left-to-right).<p> 595 * then set the paragraph leve 1724 getBaseDirection(CharSequence paragraph) getBaseDirection() argument 4306 setPara(AttributedCharacterIterator paragraph) setPara() argument 5287 Bidi(String paragraph, int flags) Bidi() argument 5319 Bidi(AttributedCharacterIterator paragraph) Bidi() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Bidi.java | 66 * <h3>Basic concept: paragraph</h3> 107 * a default for the paragraph level for 161 * <h5>Rendering a paragraph with the ICU Bidi API</h5> 164 * could be used to render a paragraph of text. Rendering code depends highly on 483 * algorithm that are not needed on the specific paragraph 499 * and all levels are set to the paragraph level. 510 * consider if the paragraph direction should be considered in 513 * If there are no White Space types in the paragraph, then 569 * then set the paragraph level to 0 (left-to-right).<p> 594 * then set the paragraph leve 1690 getBaseDirection(CharSequence paragraph) getBaseDirection() argument 4268 setPara(AttributedCharacterIterator paragraph) setPara() argument 5211 Bidi(String paragraph, int flags) Bidi() argument 5242 Bidi(AttributedCharacterIterator paragraph) Bidi() argument [all...] |