Home
last modified time | relevance | path

Searched refs:firstLine (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/text/
DLayout.java256 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw() local
261 firstLine, lastLine); in draw()
262 drawText(canvas, firstLine, lastLine); in draw()
268 public void drawText(Canvas canvas, int firstLine, int lastLine) { in drawText() argument
269 int previousLineBottom = getLineTop(firstLine); in drawText()
270 int previousLineEnd = getLineStart(firstLine); in drawText()
284 for (int lineNum = firstLine; lineNum <= lastLine; lineNum++) { in drawText()
313 if (start >= spanEnd && (lineNum == firstLine || isFirstParaLine)) { in drawText()
425 int cursorOffsetVertical, int firstLine, int lastLine) { in drawBackground() argument
440 int previousLineBottom = getLineTop(firstLine); in drawBackground()
[all …]
DStaticLayout.java911 boolean firstLine = (j == 0);
915 if (firstLine) {
980 … (((mMaximumVisibleLineCount == 1 && moreChars) || (firstLine && !moreChars)) &&
982 (!firstLine && (currentLineIsTheLastVisibleOne || !moreChars) &&
/frameworks/base/core/java/android/widget/
DEditor.java1517 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated() local
1522 firstLine, lastLine); in drawHardwareAccelerated()
1609 layout.drawText(canvas, firstLine, lastLine); in drawHardwareAccelerated()
1647 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList() local
1658 if (blockEndLines[i] >= firstLine) break; in invalidateTextDisplayList()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15170 boolean firstLine = true; in reportMemUsage()
15192 if (firstLine) { in reportMemUsage()
15194 firstLine = false; in reportMemUsage()