Searched refs:startline (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 711 int startline = getLineForOffset(where); in reflow() local 712 int startv = getLineTop(startline); in reflow() 765 mInts.deleteAt(startline, endline - startline); in reflow() 766 mObjects.deleteAt(startline, endline - startline); in reflow() 773 if (mIncludePad && startline == 0) { in reflow() 784 mInts.adjustValuesBelow(startline, START, after - before); in reflow() 785 mInts.adjustValuesBelow(startline, TOP, startv - endv + ht); in reflow() 831 mInts.insertAt(startline + i, ints); in reflow() 832 mObjects.insertAt(startline + i, objects); in reflow() 835 updateBlocks(startline, endline - 1, n); in reflow()
|
D | Layout.java | 3086 final int startline = getLineForOffset(start); in getSelection() local 3089 int top = getLineTop(startline); in getSelection() 3092 if (startline == endline) { in getSelection() 3093 addSelection(startline, start, end, top, bottom, consumer); in getSelection() 3097 addSelection(startline, start, getLineEnd(startline), in getSelection() 3098 top, getLineBottom(startline), consumer); in getSelection() 3100 if (getParagraphDirection(startline) == DIR_RIGHT_TO_LEFT) { in getSelection() 3101 consumer.accept(getLineLeft(startline), top, 0, getLineBottom(startline), in getSelection() 3104 consumer.accept(getLineRight(startline), top, width, getLineBottom(startline), in getSelection() 3108 for (int i = startline + 1; i < endline; i++) { in getSelection()
|