Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java129 int lineStart = offset; in write() local
138 super.write(buf, lineStart, lineEnd - lineStart); in write()
139 lineStart = lineEnd; in write()
150 mCurrentLength = lineEnd - lineStart; in write()
154 super.write(buf, lineStart, lineEnd - lineStart); in write()
157 lineStart = lineEnd; in write()
163 if (lineStart != lineEnd) { in write()
165 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.java7468 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion() local
7469 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
7477 if (lineStart > 0) { in invalidateRegion()
7478 top -= mLayout.getLineDescent(lineStart - 1); in invalidateRegion()
7484 lineEnd = lineStart; in invalidateRegion()
7502 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
8062 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect() local
8064 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
8066 if (lineStart == lineEnd) { in getFocusedRect()
11944 final int lineStart = mLayout.getLineStart(line); in populateCharacterBounds() local
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30203 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);
/frameworks/base/api/
Dcurrent.txt50018 method protected boolean lineStart(android.widget.TextView, android.text.Spannable);