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.java128 int lineStart = offset; in write() local
137 super.write(buf, lineStart, lineEnd - lineStart); in write()
138 lineStart = lineEnd; in write()
149 mCurrentLength = lineEnd - lineStart; in write()
153 super.write(buf, lineStart, lineEnd - lineStart); in write()
156 lineStart = lineEnd; in write()
162 if (lineStart != lineEnd) { in write()
164 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DLayout.java956 int lineStart = getLineStart(line); in isLevelBoundary() local
958 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
960 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary()
964 offset -= lineStart; in isLevelBoundary()
988 int lineStart = getLineStart(line); in isRtlCharAt() local
990 int start = lineStart + runs[i]; in isRtlCharAt()
1014 int lineStart = getLineStart(line); in getRunRange() local
1016 int start = lineStart + runs[i]; in getRunRange()
1056 int lineStart = getLineStart(line); in primaryIsTrailingPrevious() local
1062 int start = lineStart + runs[i]; in primaryIsTrailingPrevious()
[all …]
DStaticLayout.java1060 private void calculateEllipsis(int lineStart, int lineEnd,
1076 int len = lineEnd - lineStart;
1085 float w = measured.getCharWidthAt(i - 1 + lineStart - widthStart);
1088 && measured.getCharWidthAt(i + lineStart - widthStart) == 0.0f) {
1110 float w = measured.getCharWidthAt(i + lineStart - widthStart);
1133 float w = measured.getCharWidthAt(right - 1 + lineStart - widthStart);
1137 && measured.getCharWidthAt(right + lineStart - widthStart)
1148 float w = measured.getCharWidthAt(left + lineStart - widthStart);
DTextLine.java543 int lineStart = 0;
548 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
551 if (cursor == lineStart) {
559 runStart = lineStart + runs[runIndex];
575 prevRunStart = lineStart + runs[prevRunIndex];
633 int otherRunStart = lineStart + runs[otherRunIndex];
683 newCaret = advance ? lineEnd : lineStart;
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java266 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan() local
268 layout.getLineBounds(lineStart, outRect); in getBoundsForSpan()
269 if (lineEnd == lineStart) { in getBoundsForSpan()
279 if (layout.getParagraphDirection(lineStart) == Layout.DIR_RIGHT_TO_LEFT) { in getBoundsForSpan()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java177 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() method in ArrowKeyMovementMethod
216 return lineStart(widget, buffer); in home()
DScrollingMovementMethod.java70 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() method in ScrollingMovementMethod
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.java7425 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion() local
7426 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
7434 if (lineStart > 0) { in invalidateRegion()
7435 top -= mLayout.getLineDescent(lineStart - 1); in invalidateRegion()
7441 lineEnd = lineStart; in invalidateRegion()
7459 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
8019 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect() local
8021 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
8023 if (lineStart == lineEnd) { in getFocusedRect()
11790 final int lineStart = mLayout.getLineStart(line); in populateCharacterBounds() local
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30203 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
/frameworks/base/api/
Dcurrent.txt46484 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);