Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java101 String firstLine = readLine(in, sb); in readInternal() local
102 if (firstLine == null) { in readInternal()
104 } else if (USAGE_FILE_MAGIC_VERSION_1.equals(firstLine)) { in readInternal()
107 readVersion0LP(pkgSettings, in, sb, firstLine); in readInternal()
119 StringBuilder sb, String firstLine) in readVersion0LP() argument
124 for (String line = firstLine; line != null; line = readLine(in, sb)) { in readVersion0LP()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt120 val firstLine = context.getString(stringId, appName) in <lambda>() constant
121 val finalText = getFinalText(firstLine, element.attributionLabel, element.proxyLabel) in <lambda>()
136 firstLine: CharSequence, in <lambda>()
151 return if (dialogText != null) TextUtils.concat(firstLine, " ", dialogText) else firstLine in <lambda>()
/frameworks/base/core/java/android/text/
DLayout.java505 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw() local
510 drawBackground(canvas, firstLine, lastLine); in draw()
513 cursorOffsetVertical, firstLine, lastLine); in draw()
516 drawText(canvas, firstLine, lastLine); in draw()
523 cursorOffsetVertical, firstLine, lastLine); in draw()
559 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawText() local
562 drawText(canvas, firstLine, lastLine); in drawText()
579 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawBackground() local
582 drawBackground(canvas, firstLine, lastLine); in drawBackground()
595 int firstLine, in drawWithoutText() argument
[all …]
DStaticLayout.java1169 boolean firstLine = (j == 0);
1178 (((mMaximumVisibleLineCount == 1 && moreChars) || (firstLine && !moreChars)) &&
1180 (!firstLine && (currentLineIsTheLastVisibleOne || !moreChars) &&
1207 if (firstLine) {
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerComponentAggregatedPowerStats.java494 boolean[] firstLine = new boolean[]{true}; in dumpMultiStateStats()
510 if (firstLine[0]) { in dumpMultiStateStats()
514 firstLine[0] = false; in dumpMultiStateStats()
533 if (!firstLine[0]) { in dumpMultiStateStats()
/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.java2174 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated() local
2181 selectionHighlightPaint, cursorOffsetVertical, firstLine, lastLine); in drawHardwareAccelerated()
2183 layout.drawBackground(canvas, firstLine, lastLine); in drawHardwareAccelerated()
2208 int startBlock = Arrays.binarySearch(blockEndLines, 0, numberOfBlocks, firstLine); in drawHardwareAccelerated()
2224 if (blockEndLines[i] < firstLine) { in drawHardwareAccelerated()
2256 layout.drawText(canvas, firstLine, lastLine); in drawHardwareAccelerated()
2261 selectionHighlightPaint, cursorOffsetVertical, firstLine, lastLine); in drawHardwareAccelerated()
2392 final int firstLine = layout.getLineForOffset(startTransformed); in invalidateTextDisplayList() local
2403 if (blockEndLines[i] >= firstLine) break; in invalidateTextDisplayList()
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java1732 boolean firstLine = true; in reportMemUsage()
1754 if (firstLine) { in reportMemUsage()
1756 firstLine = false; in reportMemUsage()