/external/icu4c/samples/layout/ |
clayout.c | 31 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) - 1) [all...] |
layout.cpp | 17 #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) [all...] |
cgnomelayout.c | 25 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...] |
gnomelayout.cpp | 24 #include "paragraph.h" 37 Paragraph *paragraph; member in struct:Context 90 Paragraph *newPara; 94 newPara = Paragraph::paragraphFactory(fileName, font, guiSupport); 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) [all...] |
/external/webkit/Source/WebCore/dom/ |
XMLDocumentParser.cpp | 330 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/icu4c/test/letest/ |
cletest.c | 503 * 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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
BidiTest.java | 977 AttributedString paragraph = new AttributedString("text"); local [all...] |
/libcore/luni/src/main/java/java/text/ |
Bidi.java | 41 * character, then set the paragraph level to 0 (left-to-right). 47 * character, then set the paragraph level to 1 (right-to-left). 90 * AttributedCharacterIterator} of a paragraph text. The RUN_DIRECTION 104 * @param paragraph 105 * the String containing the paragraph text to perform the 107 * @throws IllegalArgumentException if {@code paragraph == null} 112 public Bidi(AttributedCharacterIterator paragraph) { 113 if (paragraph == null) { 114 throw new IllegalArgumentException("paragraph is null"); 117 int begin = paragraph.getBeginIndex() [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testatk.c | 29 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>« This is a paragraph with “special” characters inside. »</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), 0, -1) 1397 AtkObject* paragraph = atk_object_ref_accessible_child(object, 0); local [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/15/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |