Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java100 String firstLine = readLine(in, sb); in readInternal() local
101 if (firstLine == null) { in readInternal()
103 } else if (USAGE_FILE_MAGIC_VERSION_1.equals(firstLine)) { in readInternal()
106 readVersion0LP(packages, in, sb, firstLine); in readInternal()
118 StringBuffer sb, String firstLine) in readVersion0LP() argument
123 for (String line = firstLine; line != null; line = readLine(in, sb)) { in readVersion0LP()
/frameworks/base/core/java/android/text/
DLayout.java242 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw() local
247 firstLine, lastLine); in draw()
248 drawText(canvas, firstLine, lastLine); in draw()
254 public void drawText(Canvas canvas, int firstLine, int lastLine) { in drawText() argument
255 int previousLineBottom = getLineTop(firstLine); in drawText()
256 int previousLineEnd = getLineStart(firstLine); in drawText()
270 for (int lineNum = firstLine; lineNum <= lastLine; lineNum++) { in drawText()
299 if (start >= spanEnd && (lineNum == firstLine || isFirstParaLine)) { in drawText()
411 int cursorOffsetVertical, int firstLine, int lastLine) { in drawBackground() argument
426 int previousLineBottom = getLineTop(firstLine); in drawBackground()
[all …]
DStaticLayout.java921 boolean firstLine = (j == 0);
925 if (firstLine) {
990 … (((mMaximumVisibleLineCount == 1 && moreChars) || (firstLine && !moreChars)) &&
992 (!firstLine && (currentLineIsTheLastVisibleOne || !moreChars) &&
/frameworks/base/core/java/android/widget/
DEditor.java1667 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated() local
1672 firstLine, lastLine); in drawHardwareAccelerated()
1759 layout.drawText(canvas, firstLine, lastLine); in drawHardwareAccelerated()
1809 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList() local
1820 if (blockEndLines[i] >= firstLine) break; in invalidateTextDisplayList()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java16576 boolean firstLine = true; in reportMemUsage()
16598 if (firstLine) { in reportMemUsage()
16600 firstLine = false; in reportMemUsage()