Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java589 float lines[] = new float[8 * 4]; in drawDaySeparators() local
597 lines[i++] = xOffset; in drawDaySeparators()
598 lines[i++] = 0; in drawDaySeparators()
599 lines[i++] = xOffset; in drawDaySeparators()
600 lines[i++] = mHeight; in drawDaySeparators()
604 lines[i++] = 0; in drawDaySeparators()
605 lines[i++] = 0; in drawDaySeparators()
606 lines[i++] = mWidth; in drawDaySeparators()
607 lines[i++] = 0; in drawDaySeparators()
613 lines[i++] = x; in drawDaySeparators()
[all …]
/packages/apps/Car/Dialer/tests/
Dcheckresources.py11 lines = stdout.decode('utf-8').split('\n') variable
13 for i in range(len(lines)-1):
14 if '[UnusedResources]' in lines[i] and 'msgid=' not in lines[i+1]:
15 results.append(lines[i])
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DPyramid.cpp31 int lines, size = calcStorage(width, height, border2, levels, &lines); in allocatePyramidPacked() local
34 + sizeof(short *) * lines + in allocatePyramidPacked()
40 ImageTypeShort position = (ImageTypeShort) &y[lines]; in allocatePyramidPacked()
96 …gned int PyramidShort::calcStorage(real width, real height, real border2, int levels, int *lines) in calcStorage() argument
100 *lines = size = 0; in calcStorage()
104 *lines += height + border2; in calcStorage()
DPyramid.h45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DTestHelpers.java90 String[] lines = text.split("\\r?\\n"); in truncateCrash() local
92 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncateCrash()
93 ret.append(lines[i]); in truncateCrash()
96 if (lines.length > maxLines) { in truncateCrash()
98 ret.append(lines.length - maxLines); in truncateCrash()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DNgramContextUtils.java62 final String[] lines = NEWLINE_REGEX.split(prev); in getNgramContextFromNthPreviousWord()
63 if (lines.length == 0) { in getNgramContextFromNthPreviousWord()
66 final String[] w = SPACE_REGEX.split(lines[lines.length - 1]); in getNgramContextFromNthPreviousWord()
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester.py160 lines = re.split(r'\r?\n', converted)
161 return lines
210 _, lines = self.adb(['shell', 'pidof', package])
211 if not lines:
213 pids_raw = [pid.strip() for pid in re.split(r'\s+', ' '.join(lines))]
435 lines = file.content.decode('ascii', 'ignore').split('\n')
436 for line in lines:
/packages/providers/CalendarProvider/
Dmaketests.py43 lines = str.split("\n")
46 for line in lines:
87 lines = stripTimezone(s) variable
88 for s in lines:
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java128 String[] lines = new String[stack.length]; in sampleStack() local
130 lines[i] = stack[i].toString(); in sampleStack()
133 entry.holdingStacks.add(lines); in sampleStack()
135 mProfileData.addSample(lines); in sampleStack()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java666 String[] lines = TextUtils.split(mBuilder.toString(), "\n"); in updateText() local
670 int startRow = Math.max(0, lines.length - (mRowLimit + 1)); in updateText()
672 TextUtils.join("\n", Arrays.copyOfRange(lines, startRow, lines.length)); in updateText()
674 mCurrentTextRow = lines.length - startRow - 1; in updateText()
707 String[] lines = TextUtils.split(builder.toString(), "\n"); in getPrefixSpaces() local
708 for (String line : lines) { in getPrefixSpaces()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/util/
DSharedLogTest.java86 final String[] lines = dumpOutput.split("\n"); in verifyLogLines() local
87 assertEquals(expected.length, lines.length); in verifyLogLines()
90 String got = lines[i]; in verifyLogLines()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DProcfsUidIoStatsProvider.java54 List<String> lines; in load() local
57 lines = Files.readAllLines(mStatsFile); in load()
63 for (String line : lines) { in load()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java75 public void outCommentLines(final String lines) { in outCommentLines() argument
77 mOut.print(lines); in outCommentLines()
DMoreKeysResources.java234 private static String addPrefix(final String prefix, final String lines) { in addPrefix() argument
236 for (final String line : lines.split("\n")) { in addPrefix()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java1146 String[] lines = vCard.split(SEPARATOR); in apply() local
1150 for (String line : lines) { in apply()
1229 String[] lines = vcard.split(SEPARATOR); in checkprop() local
1231 for (String line : lines) { in checkprop()
1274 String[] lines = vcard.split(SEPARATOR); in getName() local
1276 for (String line : lines) { in getName()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined20 # Each word may or may not have any number of shortcut target lines
25 # Each word may also have any number of bigram lines starting with a
/packages/apps/Car/libs/specs/
Dkeylines.csv3 # * Empty lines don't matter.
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateParser.java79 props = buffer.lines().toArray(String[]::new); in parse()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java66 reader.lines().forEach(builder::append); in readJsonString()
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md34 …lete. It supports both SAX and DOM style API. The SAX parser is only a half thousand lines of code.
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java490 String json = new BufferedReader(new InputStreamReader(fis)).lines() in readCacheFile()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in632 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
634 # documentation. If the initializer consists of more lines than specified here
889 # Note that the filter must not add or remove lines; it is applied before the
890 # code is scanned, but not when the output code is generated. If lines are added
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile474 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines
476 # the documentation. If the initializer consists of more lines than specified
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile474 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines
476 # the documentation. If the initializer consists of more lines than specified
/packages/apps/TV/res/raw/
Dthird_party_licenses3120 functions (ten lines or less in length), then the use of the object

12