Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java102 String firstLine = readLine(in, sb); in readInternal() local
103 if (firstLine == null) { in readInternal()
105 } else if (USAGE_FILE_MAGIC_VERSION_1.equals(firstLine)) { in readInternal()
108 readVersion0LP(pkgSettings, in, sb, firstLine); in readInternal()
120 StringBuffer sb, String firstLine) in readVersion0LP() argument
125 for (String line = firstLine; line != null; line = readLine(in, sb)) { in readVersion0LP()
/frameworks/base/core/java/android/text/
DLayout.java318 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw() local
323 firstLine, lastLine); in draw()
324 drawText(canvas, firstLine, lastLine); in draw()
418 public void drawText(Canvas canvas, int firstLine, int lastLine) { in drawText() argument
419 int previousLineBottom = getLineTop(firstLine); in drawText()
420 int previousLineEnd = getLineStart(firstLine); in drawText()
435 for (int lineNum = firstLine; lineNum <= lastLine; lineNum++) { in drawText()
467 if (start >= spanEnd && (lineNum == firstLine || isFirstParaLine)) { in drawText()
588 int cursorOffsetVertical, int firstLine, int lastLine) { in drawBackground() argument
603 int previousLineBottom = getLineTop(firstLine); in drawBackground()
[all …]
DStaticLayout.java963 boolean firstLine = (j == 0);
972 (((mMaximumVisibleLineCount == 1 && moreChars) || (firstLine && !moreChars)) &&
974 (!firstLine && (currentLineIsTheLastVisibleOne || !moreChars) &&
998 if (firstLine) {
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DPowerProfile.java394 + firstLine(text, start, length).trim() + "'", mLocator); in characters()
480 private static String firstLine(char[] text, int start, int length) { in firstLine() method in PowerProfile
/frameworks/base/core/java/android/widget/
DEditor.java1963 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated() local
1968 firstLine, lastLine); in drawHardwareAccelerated()
1992 int startBlock = Arrays.binarySearch(blockEndLines, 0, numberOfBlocks, firstLine); in drawHardwareAccelerated()
2008 if (blockEndLines[i] < firstLine) { in drawHardwareAccelerated()
2039 layout.drawText(canvas, firstLine, lastLine); in drawHardwareAccelerated()
2159 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList() local
2170 if (blockEndLines[i] >= firstLine) break; in invalidateTextDisplayList()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java14422 boolean firstLine = true; in reportMemUsage()
14444 if (firstLine) { in reportMemUsage()
14446 firstLine = false; in reportMemUsage()