Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java79 int lineStart = offset; in write() local
88 super.write(buf, lineStart, lineEnd - lineStart); in write()
89 lineStart = lineEnd; in write()
100 mCurrentLength = lineEnd - lineStart; in write()
104 super.write(buf, lineStart, lineEnd - lineStart); in write()
107 lineStart = lineEnd; in write()
113 if (lineStart != lineEnd) { in write()
115 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DLayout.java696 int lineStart = getLineStart(line); in isLevelBoundary() local
698 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
700 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary()
704 offset -= lineStart; in isLevelBoundary()
728 int lineStart = getLineStart(line); in isRtlCharAt() local
730 int start = lineStart + runs[i]; in isRtlCharAt()
743 int lineStart = getLineStart(line); in primaryIsTrailingPrevious() local
749 int start = lineStart + runs[i]; in primaryIsTrailingPrevious()
770 if (offset == lineStart) { in primaryIsTrailingPrevious()
775 int start = lineStart + runs[i]; in primaryIsTrailingPrevious()
[all …]
DTextLine.java450 int lineStart = 0;
455 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
458 if (cursor == lineStart) {
466 runStart = lineStart + runs[runIndex];
482 prevRunStart = lineStart + runs[prevRunIndex];
540 int otherRunStart = lineStart + runs[otherRunIndex];
590 newCaret = advance ? lineEnd : lineStart;
DStaticLayout.java641 private void calculateEllipsis(int lineStart, int lineEnd,
658 int len = lineEnd - lineStart;
667 float w = widths[i - 1 + lineStart - widthStart];
689 float w = widths[i + lineStart - widthStart];
712 float w = widths[right - 1 + lineStart - widthStart];
723 float w = widths[left + lineStart - widthStart];
/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java69 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() method in ScrollingMovementMethod
DArrowKeyMovementMethod.java178 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() method in ArrowKeyMovementMethod
217 return lineStart(widget, buffer); in home()
DBaseMovementMethod.java171 return lineStart(widget, buffer); in handleMovementKey()
348 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() method in BaseMovementMethod
/frameworks/base/core/java/android/widget/
DTextView.java4849 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion() local
4850 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
4858 if (lineStart > 0) { in invalidateRegion()
4859 top -= mLayout.getLineDescent(lineStart - 1); in invalidateRegion()
4865 lineEnd = lineStart; in invalidateRegion()
4884 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
5471 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect() local
5473 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
5475 if (lineStart == lineEnd) { in getFocusedRect()
DEditor.java3065 final int lineStart = layout.getLineStart(line);
3067 final int offsetStart = Math.max(lineStart, composingTextStart);
/frameworks/base/api/
Dsystem-current.txt32438 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
Dcurrent.txt30205 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);