/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
TaskGridLayoutAlgorithm.java | 74 int lines; field in class:TaskGridLayoutAlgorithm.TaskGridRectInfo 83 lines = layoutTaskCount < 4 ? 1 : 2; 88 // If we're in portrait but task views are landscape, show more lines of fewer tasks. 91 lines = layoutTaskCount < 3 ? 1 : ( 95 // If we're in landscape but task views are portrait, show fewer lines of more tasks. 98 lines = layoutTaskCount < 7 ? 1 : 2; 105 - (lines - 1) * mPaddingTaskView) / lines; 123 - (lines * taskHeight) - (lines - 1) * mPaddingTaskView [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
TextViewTransformState.java | 63 int lines = l.getLineCount(); local 64 if (lines > 0) {
|
/frameworks/base/tools/bit/ |
make.cpp | 95 vector<string> lines; local 96 split_lines(&lines, read_file(filename)); 97 for (size_t i=0; i<lines.size(); i++) { 98 if (lines[i] == match) {
|
/frameworks/support/development/checkstyle/src/com/android/support/checkstyle/ |
MismatchedAnnotationCheck.java | 171 final String[] lines = javadoc.getText(); local 172 for (String line : lines) {
|
/system/core/storaged/ |
storaged_info.cpp | 146 vector<string> lines = Split(buffer, "\n"); local 147 if (lines.empty()) { 152 if (sscanf(lines[0].c_str(), "ufs version: 0x%7s\n", rev) < 1) { 158 for (size_t i = 1; i < lines.size(); i++) { 162 if ((ret = sscanf(lines[i].c_str(),
|
/system/update_engine/payload_consumer/ |
postinstall_runner_action.cc | 229 vector<string> lines = base::SplitString( local 231 if (!lines.empty()) { 232 progress_buffer_ = lines.back(); 233 lines.pop_back(); 234 for (const auto& line : lines) {
|
/toolchain/binutils/binutils-2.25/binutils/ |
mcparse.y | 62 %type<ustr> alias_name token lines comments 266 lang lex_want_line lines MCENDLINE 276 lines: MCLINE label 280 | lines MCLINE 293 | lines error { mc_fatal ("missing end of message text"); $$ = $1; }
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
AbstractSectionParserTest.java | 36 public IItem parse(List<String> lines) { 37 for (String line : lines) { 75 final List<String> lines = new ArrayList<String>(2*nParsers); local 84 lines.add(String.format(linePattern, i)); 86 lines.add(String.format(lineFormat, i)); 89 mParser.parse(lines);
|
/tools/tradefederation/core/prod-tests/src/com/android/media/tests/ |
PanoramaBenchMarkTest.java | 66 String[] lines = shellOutput.split("\n"); local 69 for (String line : lines) {
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
ConsoleResultReporter.java | 142 String lines[] = stack.split("\\r?\\n"); local 143 for (String line : lines) {
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
CpuThrottlingWaiter.java | 121 String[] lines = result.split("\r?\n"); local 123 for (String line : lines) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TopHelperTest.java | 45 final String lines = ("User 7%, System 5%, IOW 3%, IRQ 2%\r\n" + local 55 mTop.getReceiver().processNewLines(lines.split("\r\n")); 71 final String lines = ( local 90 mTop.getReceiver().processNewLines(lines.split("\r\n"));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
BluetoothUtilsTest.java | 68 String[] lines = { local 75 Set<String> ret = BluetoothUtils.parseBondedDeviceInstrumentationOutput(lines);
|
/external/guice/core/src/com/google/inject/internal/util/ |
LineNumbers.java | 48 private final Map<String, Integer> lines = Maps.newHashMap(); field in class:LineNumbers 90 return lines.get(memberKey(member)); 161 lines.put(pendingMethod, line); 196 && !lines.containsKey(name) && line != -1) { 197 lines.put(name, line);
|
/art/compiler/debug/dwarf/ |
dwarf_test.h | 53 // If next is true, it must be the next line. Otherwise lines are skipped. 86 std::vector<std::string> lines; local 103 lines.push_back(str); 107 return lines;
|
/bootable/recovery/update_verifier/ |
update_verifier.cpp | 173 // Care map file has four lines (two lines if vendor partition is not present): 176 // The next two lines have the same format but for vendor partition. 183 std::vector<std::string> lines; local 184 lines = android::base::Split(android::base::Trim(file_content), "\n"); 185 if (lines.size() != 2 && lines.size() != 4) { 186 LOG(ERROR) << "Invalid lines in care_map: found " << lines.size() 187 << " lines, expecting 2 or 4 lines." [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerAmStartOptionsTests.java | 95 // too many lines), and make the test look flaky. We need to either use event 118 final String[] lines = result.split("\\n"); local 120 for (int i = lines.length - 1; i >= 0; i--) { 121 final String line = lines[i].trim();
|
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 124 final ArrayList<String> lines = new ArrayList<String>(); local 128 lines.add(line); 135 if (lines.size() > 1) { 136 fail("dump() for " + service + " produced several lines of output; this " 141 if (lines.size() == 1) { 142 String message = lines.get(0);
|
/external/deqp/framework/common/ |
tcuRasterizationVerifier.hpp | 79 std::vector<SceneLine> lines; member in struct:tcu::LineSceneSpec 127 * by RasterizationArguments. Lines should not be z-clipped. 138 * by RasterizationArguments and by clipping the lines with a (-1, -1), (1, 1) 139 * square. Lines should not be z-clipped. 141 * Line colors are not used. The line is expected to be white. Lines are 173 * valid range. Lines should not be z-clipped. 184 * valid range. Lines should not be z-clipped. 186 * The background is expected to be black. The lines are rasterized
|
/external/elfutils/tests/ |
dwfllines.c | 57 size_t lines; local 58 if (dwfl_getsrclines (cu, &lines) != 0) 59 continue; // No lines... 61 for (size_t i = 0; i < lines; i++)
|
/external/guava/guava/src/com/google/common/io/ |
CharSource.java | 55 * source into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n}, 159 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or 178 * Reads all the lines of this source as a list of strings. The returned list will be empty if 181 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or 182 * {@code \r\n}, does not include the line separator in the returned lines and does not consider 205 * Reads lines of text from this source, processing each line as it is read using the given 206 * {@link LineProcessor processor}. Stops when all lines have been processed or the processor 209 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or 210 * {@code \r\n}, does not include the line separator in the lines passed to the {@code processor 356 private Iterable<String> lines() { method in class:CharSource.CharSequenceCharSource [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CharSinkTester.java | 61 private final ImmutableList<String> lines; field in class:CharSinkTester 69 this.lines = getLines(string); 108 sink.writeLines(lines); 115 sink.writeLines(lines, separator); 128 if (!lines.isEmpty()) { 129 // if we wrote any lines in writeLines(), there will be a trailing newline
|
LineBufferTest.java | 49 bufferHelper("two lines\nbut no newline at end", 50 "two lines\n", "but no newline at end"); 54 "three\r", "lines\r", "no newline at end"); 84 final List<String> lines = Lists.newArrayList(); local 87 lines.add(line + end); 98 return lines; 104 List<String> lines = Lists.newArrayList(); local 107 lines.add(line); 110 return lines; 119 List<String> lines = Lists.newArrayList() local [all...] |
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
uperf.h | 177 ULine* lines; member in class:UPerfTest
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
SourceNodeImpl.java | 24 private LineImpl[] lines; field in class:SourceNodeImpl 26 /** first line number in {@link #lines} */ 39 lines = null; 44 * Make sure that the internal buffer can keep lines from first to last. 57 if (lines == null) { 59 lines = new LineImpl[last - first + 1]; 64 if (newLength > lines.length) { 66 System.arraycopy(lines, 0, newLines, offset - newFirst, 67 lines.length); 69 lines = newLines [all...] |