Home
last modified time | relevance | path

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

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java68 private transient int[] lineStarts = new int[MAX_LINES]; // LIU field in DumbTextComponent
305 int posInLine = off - lineStarts[line]; in lineDelta()
313 off = lineStarts[line] + posInLine; in lineDelta()
314 if (off >= lineStarts[line+1]) { in lineDelta()
315 off = lineStarts[line+1] - 1; in lineDelta()
541 int lim = lineStarts[i+1]; in paint2()
544 lastSubstring = contents.substring(lineStarts[i],lim); in paint2()
607 contents.substring(lineStarts[line], off)); in offset2Point()
624 if (off < lineStarts[i]) return i-1; in findLine()
627 if (off == lineStarts[lineCount] && in findLine()
[all …]