Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java85 int lineEnd = offset; in write() local
88 while (lineEnd < bufferEnd) { in write()
89 char ch = buf[lineEnd++]; in write()
93 super.write(buf, lineStart, lineEnd - lineStart); in write()
94 lineStart = lineEnd; in write()
105 mCurrentLength = lineEnd - lineStart; in write()
109 super.write(buf, lineStart, lineEnd - lineStart); in write()
112 lineStart = lineEnd; in write()
118 if (lineStart != lineEnd) { in write()
120 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DTextLine.java451 int lineEnd = mLen;
455 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
460 } else if (cursor == lineEnd) {
469 if (runLimit > lineEnd) {
470 runLimit = lineEnd;
486 if (prevRunLimit > lineEnd) {
487 prevRunLimit = lineEnd;
543 if (otherRunLimit > lineEnd) {
544 otherRunLimit = lineEnd;
589 if (newCaret <= lineEnd) {
[all …]
DLayout.java773 int lineEnd = getLineEnd(line); in isLevelBoundary() local
774 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
820 int lineEnd = getLineEnd(line); in primaryIsTrailingPrevious() local
827 if (limit > lineEnd) { in primaryIsTrailingPrevious()
828 limit = lineEnd; in primaryIsTrailingPrevious()
853 if (limit > lineEnd) { in primaryIsTrailingPrevious()
854 limit = lineEnd; in primaryIsTrailingPrevious()
1280 int lineEnd = getLineEnd(line); in getOffsetToLeftRightOf() local
1287 if (caret == lineEnd) { in getOffsetToLeftRightOf()
1308 lineEnd = getLineEnd(line); in getOffsetToLeftRightOf()
[all …]
DStaticLayout.java995 private void calculateEllipsis(int lineStart, int lineEnd,
1012 int len = lineEnd - lineStart;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java240 float lineEnd = state.yTranslation + state.height / 2;
242 boolean startIsAboveNext = nextState.yTranslation > lineEnd;
/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java74 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in ScrollingMovementMethod
DArrowKeyMovementMethod.java188 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in ArrowKeyMovementMethod
222 return lineEnd(widget, buffer); in end()
DBaseMovementMethod.java183 return lineEnd(widget, buffer); in handleMovementKey()
360 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in BaseMovementMethod
/frameworks/base/core/java/android/widget/
DTextView.java5147 int lineEnd; in invalidateRegion() local
5150 lineEnd = lineStart; in invalidateRegion()
5152 lineEnd = mLayout.getLineForOffset(end); in invalidateRegion()
5154 int bottom = mLayout.getLineBottom(lineEnd); in invalidateRegion()
5169 if (lineStart == lineEnd && !invalidateCursor) { in invalidateRegion()
5751 int lineEnd = mLayout.getLineForOffset(selEnd); in getFocusedRect() local
5753 r.bottom = mLayout.getLineBottom(lineEnd); in getFocusedRect()
5754 if (lineStart == lineEnd) { in getFocusedRect()
DEditor.java3396 final int lineEnd = layout.getLineEnd(line); in updatePosition() local
3398 final int offsetEnd = Math.min(lineEnd, composingTextEnd); in updatePosition()
/frameworks/base/api/
Dcurrent.txt32692 method protected boolean lineEnd(android.widget.TextView, android.text.Spannable);
Dsystem-current.txt34984 method protected boolean lineEnd(android.widget.TextView, android.text.Spannable);