Home
last modified time | relevance | path

Searched refs:lineIndex (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Deditable_text_area_shadow.js82 var lineIndex = 0;
122 lines[lineIndex].endIndex = offset - 1;
123 lineIndex++;
124 lines[lineIndex] = {startIndex: offset, endIndex: offset};
137 lines[lineIndex].endIndex = lastGoodOffset;
138 lineIndex++;
139 lines[lineIndex] = {startIndex: lastGoodOffset, endIndex: lastGoodOffset};
149 lines[lineIndex].endIndex = text.length;
153 for (var i = 0; i <= lineIndex; i++) {
Dcontent_editable_extractor.js71 var lineIndex = 0;
149 lines[lineIndex].endIndex = textSize;
150 lineIndex++;
151 lines[lineIndex] = {startIndex: textSize, endIndex: textSize};
169 lines[lineIndex].endIndex = textSize;
173 for (var i = 0; i <= lineIndex; i++) {
Deditable_text.js1098 var lineIndex = shadow.getLineIndex(node.selectionEnd);
1099 var lineStart = shadow.getLineStart(lineIndex);
1102 var newCursorPosition = (lineIndex >= lastLine) ? length :
1103 Math.min(shadow.getLineStart(lineIndex + 1) + offset,
1104 shadow.getLineEnd(lineIndex + 1));
1118 var lineIndex = shadow.getLineIndex(node.selectionStart);
1119 var lineStart = shadow.getLineStart(lineIndex);
1121 var newCursorPosition = (lineIndex <= 0) ? 0 :
1122 Math.min(shadow.getLineStart(lineIndex - 1) + offset,
1123 shadow.getLineEnd(lineIndex - 1));
Dbraille_util.js261 var lineIndex = shadow.getLineIndex(node.selectionEnd);
262 var lineStart = shadow.getLineStart(lineIndex);
263 var lineEnd = shadow.getLineEnd(lineIndex);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DHexDump.java33 int lineIndex = 0; in dumpHexString() local
40 if (lineIndex == 16) in dumpHexString()
58 lineIndex = 0; in dumpHexString()
66 line[lineIndex++] = b; in dumpHexString()
69 if (lineIndex != 16) in dumpHexString()
71 int count = (16 - lineIndex) * 3; in dumpHexString()
78 for (int i = 0 ; i < lineIndex ; i++) in dumpHexString()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DTextPosition.cpp60 int lineIndex = foundLineEnding - &lineEndings.at(0); in fromOffsetAndLineEndings() local
61 unsigned lineStartOffset = lineIndex > 0 ? lineEndings.at(lineIndex - 1) + 1 : 0; in fromOffsetAndLineEndings()
63 …return TextPosition(OrdinalNumber::fromZeroBasedInt(lineIndex), OrdinalNumber::fromZeroBasedInt(co… in fromOffsetAndLineEndings()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dppucd.cpp60 defaultLineIndex(-1), blockLineIndex(-1), lineIndex(0), in PreparsedUCD()
108 while(!isLineBufferAvailable(lineIndex)) { in readLine()
109 ++lineIndex; in readLine()
110 if (lineIndex == kNumLineBuffers) { in readLine()
111 lineIndex = 0; in readLine()
114 char *line=lines[lineIndex]; in readLine()
171 char *field=lines[lineIndex]; in firstField()
223 defaultLineIndex=lineIndex; in getProps()
228 blockLineIndex=lineIndex; in getProps()
Dppucd.h159 int32_t defaultLineIndex, blockLineIndex, lineIndex; variable
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp60 defaultLineIndex(-1), blockLineIndex(-1), lineIndex(0), in PreparsedUCD()
108 while(!isLineBufferAvailable(lineIndex)) { in readLine()
109 ++lineIndex; in readLine()
110 if (lineIndex == kNumLineBuffers) { in readLine()
111 lineIndex = 0; in readLine()
114 char *line=lines[lineIndex]; in readLine()
171 char *field=lines[lineIndex]; in firstField()
223 defaultLineIndex=lineIndex; in getProps()
228 blockLineIndex=lineIndex; in getProps()
Dppucd.h159 int32_t defaultLineIndex, blockLineIndex, lineIndex; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DMatlabPlot.cc489 void MatlabPlot::Append(int lineIndex, double x, double y) in Append() argument
499 if (lineIndex < 0 || lineIndex >= static_cast<int>(_line.size())) in Append()
505 return (_line[lineIndex]->Append(x, y)); in Append()
509 void MatlabPlot::Append(int lineIndex, double y) in Append() argument
519 if (lineIndex < 0 || lineIndex >= static_cast<int>(_line.size())) in Append()
525 return (_line[lineIndex]->Append(y)); in Append()
DMatlabPlot.h101 void Append(int lineIndex, double x, double y);
102 void Append(int lineIndex, double y);
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
Dcompile_frontend.py113 lineIndex = 0
117 lineIndex += 1
120 if verify_jsdoc_line(full_file_name, lineIndex, line):
125 def verify_jsdoc_line(fileName, lineIndex, line): argument
127 …print '%s:%s: ERROR - %s\n%s\n%s\n' % (fileName, lineIndex, message, line, ' ' * errorPosition + '…
/external/chromium_org/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/
DRunner.java144 int lineIndex = 0; in getDescriptors() local
146 ++lineIndex; in getDescriptors()
158 lineIndex), null); in getDescriptors()
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/src/org/chromium/devtools/compiler/
DRunner.java136 int lineIndex = 0; in getDescriptors() local
138 ++lineIndex; in getDescriptors()
150 lineIndex), null); in getDescriptors()
/external/proguard/src/proguard/retrace/
DReTrace.java243 int lineIndex = 0; in execute() local
257 outLine.append(line.substring(lineIndex, startIndex)); in execute()
308 lineIndex = endIndex; in execute()
313 outLine.append(line.substring(lineIndex)); in execute()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DComponentResultsView.java325 int lineIndex = tabIndex<0 ? -1 : this.tabs[tabIndex].table.getSelectionIndex(); in resetTabFolders() local
364 lineIndex = 0; in resetTabFolders()
368 if (tabIndex >= 0 && lineIndex >= 0) { in resetTabFolders()
371 table.setSelection(lineIndex); in resetTabFolders()
/external/replicaisland/tools/
DExtractPoints.js216 var lineIndex = 0; variable
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlockFlow.cpp843 int lineIndex = lineCount(lineBox); in adjustLinePositionForPagination() local
844 …Height < lineHeight || (shouldBreakAtLineToAvoidWidow() && lineBreakToAvoidWidow() == lineIndex)) { in adjustLinePositionForPagination()
845 if (shouldBreakAtLineToAvoidWidow() && lineBreakToAvoidWidow() == lineIndex) { in adjustLinePositionForPagination()
856 …< pageLogicalHeightAtNewOffset) || (!style()->hasAutoOrphans() && style()->orphans() >= lineIndex)) in adjustLinePositionForPagination()