/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextPosition.cpp | 39 size_t lineEnd = text.find('\n', start); 40 if (lineEnd == kNotFound) 43 result->append(static_cast<unsigned>(lineEnd)); 44 start = lineEnd + 1;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ScriptText.java | 21 int lineEnd = text.indexOf('\n', offset); 22 if (lineEnd == -1) { 23 lineEnd = text.length(); 25 return text.substring(lineStart, lineEnd);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ContentSearchUtils.cpp | 70 unsigned lineEnd = endings->at(lineNumber); 71 String line = text.substring(start, lineEnd - start); 79 start = lineEnd + 1;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
StrictLineReader.java | 140 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i; 141 String res = new String(buf, pos, lineEnd - pos, charset.name());
|
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 74 protected boolean lineEnd(TextView widget, Spannable buffer) {
|
ArrowKeyMovementMethod.java | 187 protected boolean lineEnd(TextView widget, Spannable buffer) { 221 return lineEnd(widget, buffer);
|
BaseMovementMethod.java | 183 return lineEnd(widget, buffer); 360 protected boolean lineEnd(TextView widget, Spannable buffer) {
|
/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 80 int lineEnd = offset; 83 while (lineEnd < bufferEnd) { 84 char ch = buf[lineEnd++]; 88 super.write(buf, lineStart, lineEnd - lineStart); 89 lineStart = lineEnd; 100 mCurrentLength = lineEnd - lineStart; 104 super.write(buf, lineStart, lineEnd - lineStart); 107 lineStart = lineEnd; 113 if (lineStart != lineEnd) { 115 super.write(buf, lineStart, lineEnd - lineStart) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 166 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i; 167 String res = new String(buf, pos, lineEnd - pos, charset);
|
/external/icu4c/samples/ugrep/ |
ugrep.cpp | 58 int lineEnd; // Index of char following the new line sequence for the current line 136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { 137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); 380 lineStart = lineEnd = startPos; 383 if (lineEnd >= fileLen) { 386 UChar c = ucharBuf[lineEnd]; 387 lineEnd++; 400 if (lineEnd < fileLen && 401 ucharBuf[lineEnd-1] == 0x0d && 402 ucharBuf[lineEnd] == 0x0a) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 127 int lineEnd = staticLayout.getLineEnd(line); 129 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); 148 int lineEnd = staticLayout.getLineEnd(line); 157 assertEquals("Line end for last line", source.length(), lineEnd); 159 assertEquals("Line end for line " + line, breaks[line], lineEnd); 176 int lineEnd = staticLayout.getLineEnd(line); 185 assertEquals("Line end for last line", source.length(), lineEnd); 187 assertEquals("Line end for line " + line, breaks[line], lineEnd);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtUtils.java | 603 int lineEnd = lineStart + lineInfo.getLength(); 610 if (start >= lineStart && start <= lineEnd && end > start) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 714 int lineEnd = lineContents.length()-1; 716 for (; lineEnd >= 0; lineEnd--) { 717 char c = lineContents.charAt(lineEnd); 722 lineEnd++; 723 for (; lineBegin < lineEnd; lineBegin++) { 729 if (lineBegin < lineEnd) { 730 return new Region(lineInfo.getOffset() + lineBegin, lineEnd - lineBegin);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 299 int lineEnd = lineEndInfo.getOffset() + lineEndInfo.getLength(); 300 String text = document.get(lineStart, lineEnd - lineStart);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 279 int lineEnd = nodeValue.indexOf('\n', relativeOffset); 280 if (lineEnd == -1) { 281 lineEnd = nodeValue.length(); 283 return lineEnd - relativeOffset; [all...] |
Hyperlinks.java | [all...] |
/frameworks/base/core/java/android/text/ |
Layout.java | 695 int lineEnd = getLineEnd(line); 696 if (offset == lineStart || offset == lineEnd) { 743 int lineEnd = getLineEnd(line); 750 if (limit > lineEnd) { 751 limit = lineEnd; 776 if (limit > lineEnd) { 777 limit = lineEnd; 1381 int lineend = getLineEnd(line); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoring.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintClient.java | 566 int lineEnd = startOffset; 567 while (lineEnd < endOffset) { 569 char c = doc.getChar(lineEnd); 571 endOffset = lineEnd; 581 lineEnd++; [all...] |
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 362 int lineEnd = -1; 368 while (lineEnd < text.length() - 1) { 369 lineEnd = text.indexOf('\n', lineStart); 370 if (lineEnd == -1) { 371 lineEnd = text.length() - 1; 373 line = text.substring(lineStart, lineEnd + 1); 374 lineStart = lineEnd + 1; [all...] |
/prebuilts/misc/common/tools-common/ |
tools-common-prebuilt.jar | |
/prebuilts/devtools/tools/lib/ |
common.jar | |
lint-api.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/22.2.0/ |
common-22.2.0.jar | |
/frameworks/base/core/java/android/widget/ |
TextView.java | [all...] |