Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java104 int lineStart = offset; in write() local
113 super.write(buf, lineStart, lineEnd - lineStart); in write()
114 lineStart = lineEnd; in write()
125 mCurrentLength = lineEnd - lineStart; in write()
129 super.write(buf, lineStart, lineEnd - lineStart); in write()
132 lineStart = lineEnd; in write()
138 if (lineStart != lineEnd) { in write()
140 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DLayout.java908 int lineStart = getLineStart(line); in isLevelBoundary() local
910 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
912 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary()
916 offset -= lineStart; in isLevelBoundary()
940 int lineStart = getLineStart(line); in isRtlCharAt() local
942 int start = lineStart + runs[i]; in isRtlCharAt()
966 int lineStart = getLineStart(line); in getRunRange() local
968 int start = lineStart + runs[i]; in getRunRange()
980 int lineStart = getLineStart(line); in primaryIsTrailingPrevious() local
986 int start = lineStart + runs[i]; in primaryIsTrailingPrevious()
[all …]
DTextLine.java441 int lineStart = 0;
446 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
449 if (cursor == lineStart) {
457 runStart = lineStart + runs[runIndex];
473 prevRunStart = lineStart + runs[prevRunIndex];
531 int otherRunStart = lineStart + runs[otherRunIndex];
581 newCaret = advance ? lineEnd : lineStart;
DStaticLayout.java1032 private void calculateEllipsis(int lineStart, int lineEnd,
1050 int len = lineEnd - lineStart;
1059 float w = widths[i - 1 + lineStart - widthStart];
1061 while (i < len && widths[i + lineStart - widthStart] == 0.0f) {
1083 float w = widths[i + lineStart - widthStart];
1106 float w = widths[right - 1 + lineStart - widthStart];
1109 while (right < len && widths[right + lineStart - widthStart] == 0.0f) {
1119 float w = widths[left + lineStart - widthStart];
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java305 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan() local
307 layout.getLineBounds(lineStart, outRect); in getBoundsForSpan()
308 if (lineEnd == lineStart) { in getBoundsForSpan()
318 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.java6319 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion() local
6320 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
6328 if (lineStart > 0) { in invalidateRegion()
6329 top -= mLayout.getLineDescent(lineStart - 1); in invalidateRegion()
6335 lineEnd = lineStart; in invalidateRegion()
6355 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
6915 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect() local
6917 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
6919 if (lineStart == lineEnd) { in getFocusedRect()
10479 final int lineStart = mLayout.getLineStart(line); in populateCharacterBounds() local
[all …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30203 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
/frameworks/base/api/
Dcurrent.txt41683 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
Dsystem-current.txt45220 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);