Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DIndentingPrintWriter.java201 int lineStart = offset; in write() local
210 super.write(buf, lineStart, lineEnd - lineStart); in write()
211 lineStart = lineEnd; in write()
222 mCurrentLength = lineEnd - lineStart; in write()
226 super.write(buf, lineStart, lineEnd - lineStart); in write()
229 lineStart = lineEnd; in write()
235 if (lineStart != lineEnd) { in write()
237 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DLayout.java957 int lineStart = getLineStart(line); in isLevelBoundary() local
959 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
961 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary()
965 offset -= lineStart; in isLevelBoundary()
989 int lineStart = getLineStart(line); in isRtlCharAt() local
991 int start = lineStart + runs[i]; in isRtlCharAt()
1015 int lineStart = getLineStart(line); in getRunRange() local
1017 int start = lineStart + runs[i]; in getRunRange()
1057 int lineStart = getLineStart(line); in primaryIsTrailingPrevious() local
1063 int start = lineStart + runs[i]; in primaryIsTrailingPrevious()
[all …]
DStaticLayout.java1063 private void calculateEllipsis(int lineStart, int lineEnd,
1079 int len = lineEnd - lineStart;
1088 float w = measured.getCharWidthAt(i - 1 + lineStart - widthStart);
1091 && measured.getCharWidthAt(i + lineStart - widthStart) == 0.0f) {
1113 float w = measured.getCharWidthAt(i + lineStart - widthStart);
1136 float w = measured.getCharWidthAt(right - 1 + lineStart - widthStart);
1140 && measured.getCharWidthAt(right + lineStart - widthStart)
1151 float w = measured.getCharWidthAt(left + lineStart - widthStart);
DTextLine.java599 int lineStart = 0;
604 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
607 if (cursor == lineStart) {
615 runStart = lineStart + runs[runIndex];
631 prevRunStart = lineStart + runs[prevRunIndex];
689 int otherRunStart = lineStart + runs[otherRunIndex];
739 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/packages/SystemUI/src/com/android/keyguard/
DTextInterpolator.kt426 val lineStart = layout.getLineStart(lineNo) in <lambda>() constant
427 val count = layout.getLineEnd(lineNo) - lineStart in <lambda>()
429 TextShaper.shapeText(layout.text, lineStart, count, layout.textDirectionHeuristic, in <lambda>()
/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.java7559 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion() local
7560 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
7568 if (lineStart > 0) { in invalidateRegion()
7569 top -= mLayout.getLineDescent(lineStart - 1); in invalidateRegion()
7575 lineEnd = lineStart; in invalidateRegion()
7593 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
8153 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect() local
8155 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
8157 if (lineStart == lineEnd) { in getFocusedRect()
12186 final int lineStart = mLayout.getLineStart(line); in populateCharacterBounds() local
[all …]
/frameworks/base/core/api/
Dcurrent.txt44704 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30203 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);