Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java357 final int lineEnd = lineRange[1]; in getOffsetForPosition() local
360 (getCharacterFlags(lineEnd - 1) & FLAG_CHARACTER_LINEFEED) != 0; in getOffsetForPosition()
378 lineLimit = lineEnd; in getOffsetForPosition()
380 lineLimit = lineEnd + 1; in getOffsetForPosition()
393 lineEnd, lineBounds.left, lineBounds.right); in getOffsetForPosition()
464 private boolean primaryIsTrailingPrevious(int offset, int lineStart, int lineEnd) { in primaryIsTrailingPrevious() argument
466 if (offset < lineEnd) { in primaryIsTrailingPrevious()
502 private float getCursorHorizontalPosition(int index, int lineStart, int lineEnd, in getCursorHorizontalPosition() argument
504 Preconditions.checkArgumentInRange(index, lineStart, lineEnd, "index"); in getCursorHorizontalPosition()
507 primaryIsTrailingPrevious(index, lineStart, lineEnd); in getCursorHorizontalPosition()
[all …]
/frameworks/base/core/java/android/util/
DIndentingPrintWriter.java204 int lineEnd = offset; in write() local
207 while (lineEnd < bufferEnd) { in write()
208 char ch = buf[lineEnd++]; in write()
212 super.write(buf, lineStart, lineEnd - lineStart); in write()
213 lineStart = lineEnd; in write()
224 mCurrentLength = lineEnd - lineStart; in write()
228 super.write(buf, lineStart, lineEnd - lineStart); in write()
231 lineStart = lineEnd; in write()
237 if (lineStart != lineEnd) { in write()
239 super.write(buf, lineStart, lineEnd - lineStart); in write()
/frameworks/base/core/java/android/text/
DLayout.java683 final int lineEnd = getLineEnd(lineNum); in isJustificationRequired() local
684 return lineEnd < mText.length() && mText.charAt(lineEnd - 1) != '\n'; in isJustificationRequired()
1433 int lineEnd = getLineEnd(line); in isLevelBoundary() local
1434 if (offset == lineStart || offset == lineEnd) { in isLevelBoundary()
1533 int lineEnd = getLineEnd(line); in primaryIsTrailingPrevious() local
1540 if (limit > lineEnd) { in primaryIsTrailingPrevious()
1541 limit = lineEnd; in primaryIsTrailingPrevious()
1566 if (limit > lineEnd) { in primaryIsTrailingPrevious()
1567 limit = lineEnd; in primaryIsTrailingPrevious()
1589 int lineEnd = getLineEnd(line); in primaryIsTrailingPreviousAllLineOffsets() local
[all …]
DTextLine.java946 int lineEnd = mLen;
950 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
955 } else if (cursor == lineEnd) {
964 if (runLimit > lineEnd) {
965 runLimit = lineEnd;
981 if (prevRunLimit > lineEnd) {
982 prevRunLimit = lineEnd;
1038 if (otherRunLimit > lineEnd) {
1039 otherRunLimit = lineEnd;
1084 if (newCaret <= lineEnd) {
[all …]
DStaticLayout.java1283 private void calculateEllipsis(int lineStart, int lineEnd,
1299 int len = lineEnd - lineStart;
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt337 inputPosition?.let { lineEnd -> in <lambda>() method
341 sqrt((from.y - lineEnd.y).pow(2) + (from.x - lineEnd.x).pow(2)) in <lambda>()
344 end = lineEnd, in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTextInterpolator.kt496 val lineEnd = layout.getLineEnd(lineNo) in <lambda>() constant
497 var count = lineEnd - lineStart in <lambda>()
519 text.append(layout.text.substring(lineStart, lineEnd)) in <lambda>()
/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in ScrollingMovementMethod
DArrowKeyMovementMethod.java209 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in ArrowKeyMovementMethod
246 return lineEnd(widget, buffer); in end()
DBaseMovementMethod.java184 return lineEnd(widget, buffer); in handleMovementKey()
367 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() method in BaseMovementMethod
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java267 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan() local
269 if (lineEnd == lineStart) { in getBoundsForSpan()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30202 method protected boolean lineEnd(android.widget.TextView, android.text.Spannable);
/frameworks/base/core/api/
Dcurrent.txt48419 method protected boolean lineEnd(android.widget.TextView, android.text.Spannable);