Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java200 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw() local
205 firstLine, lastLine); in draw()
206 drawText(canvas, firstLine, lastLine); in draw()
212 public void drawText(Canvas canvas, int firstLine, int lastLine) { in drawText() argument
213 int previousLineBottom = getLineTop(firstLine); in drawText()
214 int previousLineEnd = getLineStart(firstLine); in drawText()
228 for (int i = firstLine; i <= lastLine; i++) { in drawText()
257 if (start >= spanEnd && (i == firstLine || isFirstParaLine)) { in drawText()
366 int cursorOffsetVertical, int firstLine, int lastLine) { in drawBackground() argument
381 int previousLineBottom = getLineTop(firstLine); in drawBackground()
[all …]
DStaticLayout.java559 boolean firstLine = (j == 0);
563 if (firstLine) {
626 … (((mMaximumVisibleLineCount == 1 && moreChars) || (firstLine && !moreChars)) &&
628 (!firstLine && (currentLineIsTheLastVisibleOne || !moreChars) &&
/frameworks/base/core/java/android/widget/
DEditor.java1325 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated() local
1330 firstLine, lastLine); in drawHardwareAccelerated()
1414 layout.drawText(canvas, firstLine, lastLine); in drawHardwareAccelerated()
1452 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList() local
1463 if (blockEndLines[i] >= firstLine) break; in invalidateTextDisplayList()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java14588 boolean firstLine = true; in reportMemUsage()
14610 if (firstLine) { in reportMemUsage()
14612 firstLine = false; in reportMemUsage()