Searched refs:paragraph (Results 1 - 25 of 33) sorted by relevance

12

/external/webkit/LayoutTests/fast/dom/beforeload/resources/
H A Dprint.js3 var paragraph = document.createElement("div");
4 paragraph.appendChild(document.createTextNode(message));
5 paragraph.style.fontFamily = "monospace";
7 paragraph.style.color = color;
8 document.getElementById("console").appendChild(paragraph);
/external/icu4c/layoutex/layout/
H A Dplayout.h23 * \brief C API for paragraph layout.
31 * The opaque type for a paragraph layout.
38 * The opaque type for a line in a paragraph layout.
52 * Construct a <code>ParagraphLayout</code> object for a styled paragraph. The paragraph is specified
63 * @param chars is an array of the characters in the paragraph
65 * @param count is the number of characters in the paragraph.
81 * @param paragraphLevel is the directionality of the paragraph, as in the UBiDi object.
83 * @param vertical is <code>TRUE</code> if the paragraph should be set vertically.
108 * Close the given paragraph layou
[all...]
/external/icu4c/layoutex/
H A Dplayout.cpp44 pl_close(pl_paragraph *paragraph) argument
46 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
59 pl_getParagraphLevel(pl_paragraph *paragraph) argument
61 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
71 pl_getTextDirection(pl_paragraph *paragraph) argument
73 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
83 pl_getAscent(const pl_paragraph *paragraph) argument
85 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
95 pl_getDescent(const pl_paragraph *paragraph) argument
97 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
107 pl_getLeading(const pl_paragraph *paragraph) argument
119 pl_reflow(pl_paragraph *paragraph) argument
131 pl_nextLine(pl_paragraph *paragraph, float width) argument
[all...]
/external/icu4c/samples/layout/
H A Dgnomelayout.cpp24 #include "paragraph.h"
37 Paragraph *paragraph; member in struct:Context
100 if (context->paragraph != NULL) {
101 delete context->paragraph;
104 context->paragraph = newPara;
108 context->paragraph->breakLines(context->width, context->height);
205 if (context->paragraph != NULL) {
210 context->paragraph->breakLines(context->width, context->height);
219 if (context->paragraph != NULL) {
220 gint maxLines = context->paragraph
[all...]
H A Dclayout.c31 pf_flow *paragraph; member in struct:Context
55 if (context->paragraph != NULL) {
59 pf_breakLines(context->paragraph, context->width, context->height);
65 si.nMax = pf_getLineCount(context->paragraph) - 1;
66 si.nPage = context->height / pf_getLineHeight(context->paragraph);
150 context->paragraph = pf_factory("Sample.txt", font, guiSupport);
221 if (context->paragraph != NULL && si.nPos != vertPos) {
222 ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL);
246 if (context->paragraph != NULL) {
252 lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph)
[all...]
H A Dlayout.cpp17 #include "paragraph.h"
32 Paragraph *paragraph; member in struct:Context
54 if (context->paragraph != NULL) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1;
65 si.nPage = context->height / context->paragraph->getLineHeight();
148 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport);
219 if (context->paragraph != NULL && si.nPos != vertPos) {
220 ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL);
244 if (context->paragraph !
[all...]
H A Dcgnomelayout.c25 pf_flow *paragraph; member in struct:Context
92 if (context->paragraph != NULL) {
93 pf_close(context->paragraph);
96 context->paragraph = newPara;
100 pf_breakLines(context->paragraph, context->width, context->height);
197 if (context->paragraph != NULL) {
202 pf_breakLines(context->paragraph, context->width, context->height);
211 if (context->paragraph != NULL) {
212 gint maxLines = pf_getLineCount(context->paragraph) - 1;
213 gint firstLine = 0, lastLine = context->height / pf_getLineHeight(context->paragraph);
[all...]
H A DMakefile.in30 COMMON=cmaps.o UnicodeReader.o GnomeGUISupport.o FontMap.o GnomeFontMap.o ScriptCompositeFontInstance.o GnomeFontInstance.o FontTableCache.o paragraph.o
/external/clang/utils/
H A DFindSpecRefs687 paragraph = int(tail[1:])
689 paragraph = None
693 paragraph = None
696 paragraph = int(p)
698 return SpecIndex(indices, paragraph)
700 def __init__(self, indices, paragraph=None):
703 self.paragraph = paragraph
707 if self.paragraph is not None:
708 s += '.p%d'%(self.paragraph,)
[all...]
/external/webkit/Tools/Scripts/
H A Dadd-include128 my $paragraph = "";
131 $paragraph .= "#include $include\n";
134 return $paragraph;
/external/webkit/Source/WebCore/editing/
H A DTextCheckingHelper.cpp242 // Determine the character offset from the start of the paragraph to the start of the original search range,
261 // Determine the character offset from the end of the original search range to the end of the paragraph,
416 // Determine the character offset from the start of the paragraph to the start of the original search range,
418 TextCheckingParagraph paragraph(m_range);
420 // Start checking from beginning of paragraph, but skip past results that occur before the start of the original search range.
422 while (startOffset < paragraph.checkingEnd()) {
426 m_client->textChecker()->checkGrammarOfString(paragraph.textCharacters() + startOffset, paragraph.textLength() - startOffset, grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength);
438 int badGrammarIndex = findFirstGrammarDetail(grammarDetails, badGrammarPhraseLocation, badGrammarPhraseLength, paragraph.checkingStart(), paragraph
[all...]
H A Dmarkup.cpp442 // Add an interchange newline if a paragraph break is selected and a br won't already be added to the markup to represent it.
704 static void fillContainerFromString(ContainerNode* paragraph, const String& string) argument
706 Document* document = paragraph->document();
710 paragraph->appendChild(createBlockPlaceholderElement(document), ec);
728 paragraph->appendChild(createTabSpanElement(document, tabText), ec);
733 paragraph->appendChild(textNode.release(), ec);
742 paragraph->appendChild(createTabSpanElement(document, tabText), ec);
797 // A string with no newlines gets added inline, rather than being put into a paragraph.
/external/webkit/Source/WebKit/gtk/tests/
H A Dtestatk.c29 static const char* centeredContents = "<html><body><p style='text-align: center;'>Short line</p><p style='text-align: center;'>Long-size line with some foo bar baz content</p><p style='text-align: center;'>Short line</p><p style='text-align: center;'>This is a multi-line paragraph<br />where the first line<br />is the biggest one</p></body></html>";
35 static const char* contentsWithSpecialChars = "<html><body><p>&laquo;&nbsp;This is a paragraph with &ldquo;special&rdquo; characters inside.&nbsp;&raquo;</p></body></html>";
49 static const char* contentsWithExtraneousWhiteSpaces = "<html><head><body><p>This\n paragraph\n is\n borked!</p></body></html>";
57 static const char* hypertextAndHyperlinks = "<html><body><p>A paragraph with no links at all</p><p><a href='http://foo.bar.baz/'>A line</a> with <a href='http://bar.baz.foo/'>a link in the middle</a> as well as at the beginning and <a href='http://baz.foo.bar/'>at the end</a></p><ol><li>List item with a <span><a href='http://foo.bar.baz/'>link inside a span node</a></span></li></ol></body></html>";
65 static const char* textForCaretBrowsing = "<html><body><h1>A text header</h1><p>A paragraph <a href='http://foo.bar.baz/'>with a link</a> in the middle</p><ol><li>A list item</li></ol><select><option selected value='foo'>An option in a combo box</option></select></body></html>";
67 static const char* textForSelections = "<html><body><p>A paragraph with plain text</p><p>A paragraph with <a href='http://webkit.org'>a link</a> in the middle</p><ol><li>A list item</li></ol><select></body></html>";
260 AtkObject* paragraph = atk_object_ref_accessible_child(object, 1); local
261 g_assert(ATK_IS_TEXT(paragraph));
262 text = atk_text_get_text(ATK_TEXT(paragraph),
1397 AtkObject* paragraph = atk_object_ref_accessible_child(object, 0); local
[all...]
/external/webkit/Source/WebCore/dom/
H A DXMLDocumentParser.cpp330 RefPtr<Element> paragraph = document->createElement(pTag, false); local
331 paragraph->setAttribute(styleAttr, "white-space: normal");
332 paragraph->appendChild(document->createTextNode("This document was created as the result of an XSL transformation. The line and column numbers given are from the transformed result."), ec);
333 reportElement->appendChild(paragraph.release(), ec);
/external/iproute2/doc/
H A Dip-cref.tex228 \paragraph{Object:} A \verb|link| is a network device and the corresponding
231 \paragraph{Commands:} \verb|set| and \verb|show| (or \verb|list|).
235 \paragraph{Abbreviations:} \verb|set|, \verb|s|.
237 \paragraph{Arguments:}
310 \paragraph{Warning:} If multiple parameter changes are requested,
316 \paragraph{Examples:}
332 \paragraph{Abbreviations:} \verb|show|, \verb|list|, \verb|lst|, \verb|sh|, \verb|ls|,
335 \paragraph{Arguments:}
349 \paragraph{Output format:}
482 \paragraph{Statistic
[all...]
H A Dapi-ip6-flowlabels.tex89 \paragraph{Discussion.}
133 \paragraph{Implementation.}
168 \paragraph{Note about IPv6 options and destination address.}
176 \paragraph{Example.}
220 \paragraph{Discussion.}
261 \paragraph{Implementation.}
341 \paragraph{Example.}
382 \paragraph{Listing flow labels.}
407 \paragraph{Flow labels and RSVP.}
/external/libvorbis/doc/
H A D01-introduction.tex274 \paragraph{Identification Header}
279 \paragraph{Comment Header}
284 \paragraph{Setup Header}
317 \paragraph{Packet type decode}
334 \paragraph{Mode decode}
341 \paragraph{Window shape decode (long windows only)} \label{vorbis:spec:window}
389 \paragraph{floor decode}
395 \paragraph{residue decode}
411 \paragraph{inverse channel coupling}
432 \paragraph{generat
[all...]
H A D05-comment.tex18 more than a short paragraph. The essentials, in other words, whatever
91 \paragraph{Field names}
158 \paragraph{Implications}
H A D03-codebook.tex198 \paragraph{Huffman decision tree representation}
281 \paragraph{VQ lookup table vector representation}
302 \paragraph{Vector value decode: Lookup type 1}
334 \paragraph{Vector value decode: Lookup type 2}
H A D04-codec.tex108 \paragraph{Codebooks}
120 \paragraph{Time domain transforms}
133 \paragraph{Floors}
157 \paragraph{Residues}
177 \paragraph{Mappings}
247 \paragraph{Modes}
H A D07-floor1.tex167 \paragraph{packet decode} \label{vorbis:spec:floor1-decode}
237 \paragraph{curve computation} \label{vorbis:spec:floor1-synth}
/external/qemu/
H A Dcurses_keys.h367 { "paragraph", 0x0b6 },
/external/icu4c/test/letest/
H A Dcletest.c503 * Build a paragraph that contains a mixture of left to right and right to left text.
517 pl_paragraph *paragraph; local
650 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, FALSE, &status);
659 pl_reflow(paragraph);
660 while ((line = pl_nextLine(paragraph, lineWidth)) != NULL) {
724 pl_close(paragraph);
/external/grub/docs/
H A Dtexinfo.tex632 % penalty on the vertical list instead of in the new paragraph.
659 % beginning of a paragraph, when TeX is still in vertical mode, would
660 % produce a whole line of output instead of starting the paragraph.
747 % paragraph.
784 % @br forces paragraph break (and is undocumented).
807 % paragraph. For more general purposes, use the \margin insertion
971 % If WORD is `none', then suppress indentation of the first paragraph
975 % The paragraph indentation is suppressed or not by calling
999 % paragraph.
1741 % the end of a paragraph
[all...]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DBidiTest.java977 AttributedString paragraph = new AttributedString("text");
978 bd = new Bidi(paragraph.getIterator());

Completed in 1849 milliseconds

12