/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 46 String[] lines = sout.toString().split("\\n"); 47 assertEquals(Arrays.asList(lines), out.lines); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); 70 assertEquals(Arrays.asList("Name: Bob"), out.lines); 72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); 78 assertTrue(out.lines.isEmpty()); 80 assertEquals(Collections.singletonList("42"), out.lines); 86 assertEquals(Arrays.asList("4", "2"), out.lines); 182 final List<String> lines = new ArrayList<String>(); field in class:LoggingPrintStreamTest.TestPrintStream [all...] |
/frameworks/native/opengl/libs/GLES_trace/tools/ |
H A D | genapi.py | 340 lines = open(apiEntryFile).readlines() 343 for i in range(0, len(lines)/3): 344 apis.append(ApiCall(prefix, lines[i*3], lines[i*3+1])) 372 lines = [] 373 lines.append(HEADER_LICENSE) 374 lines.append(HEADER_NAMESPACE_START) 378 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix) 380 lines.append(api.genDeclaration()) 381 lines [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SMSDispatcherTest.java | 38 String[] lines = new String[2]; 40 lines[0] = "+CMT: ,158"; 41 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" 48 sms = SmsMessage.newFromCMT(lines); 68 String[] lines = new String[2]; 70 lines[0] = "+CMT: ,77"; 71 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" 75 sms = SmsMessage.newFromCMT(lines);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | VisualDiffUtils.java | 65 LinkedList<Integer> lineNums, LinkedList<String> lines) { 79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff); 90 lines.add(line); 96 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff); 106 LinkedList<Integer> lineNums, LinkedList<String> lines) { 120 line = processDiff(diff, lineNums, lines, line, i, insSpan, isLastDiff); 131 lines.add(line); 137 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff); 152 * @param lines 160 LinkedList<String> lines, Strin 64 generateExpectedResultLines(LinkedList<diff_match_patch.Diff> diffs, LinkedList<Integer> lineNums, LinkedList<String> lines) argument 105 generateActualResultLines(LinkedList<diff_match_patch.Diff> diffs, LinkedList<Integer> lineNums, LinkedList<String> lines) argument 159 processDiff(diff_match_patch.Diff diff, LinkedList<Integer> lineNums, LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) argument [all...] |
H A D | FsUtils.java | 227 LinkedList<String> lines = new LinkedList<String>(); 230 return lines; 234 return lines; 242 lines.add(line); 250 return lines;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_stereo_proc.cpp | 355 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to process */ 373 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 405 int32 lines; local 406 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; 407 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 409 while (lines > 0) 415 lines = -10; 417 lines--; 449 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 488 int32 lines local [all...] |
H A D | pvmp3_mpeg2_stereo_proc.cpp | 289 /* can be between -1 (all lines zero) and 575 (no line zero) */ 312 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* number of lines to process */ 314 /* from sfbStart up sfbNo lines do ms_stereo or normal stereo */ 326 sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process */ 355 sfbNo = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; /* No of lines to process */ 383 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local 385 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 387 while (lines > 0) 393 lines = -10; 395 lines 485 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local [all...] |
/frameworks/compile/libbcc/runtime/make/ |
H A D | AppleBI.mk | 15 # Log full compile lines in B&I logs and omit summary lines.
|
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 597 int[] lines = mLines; 599 if (want >= lines.length) { 602 System.arraycopy(lines, 0, grow, 0, lines.length); 604 lines = grow; 666 lines[off + START] = start; 667 lines[off + TOP] = v; 668 lines[off + DESCENT] = below + extra; 671 lines[off + mColumns + START] = end; 672 lines[of [all...] |
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_layout_tests.py | 40 """Compute the number of lines in a given file. 47 lines = 0 49 lines = lines + 1 51 return lines 75 # Read lines from each file 83 # Strip reason from result lines
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 550 List<String> lines; 552 lines = simulatedCallState.getClccLines(); 554 for (int i = 0, s = lines.size() ; i < s ; i++) { 555 println (lines.get(i));
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 79 * Basic test showing effect of includePad = true wrapping to 2 lines. 96 * Basic test showing effect of includePad = true wrapping to 3 lines. 115 * Basic test showing effect of includePad = true wrapping to 3 lines and 144 * to 3 lines. 165 * spacingMult = 1.5, wrapping to 3 lines. 187 * spacingMult = 0.8 when wrapping to 3 lines. 296 int lines = values.length >> 1; 297 assertEquals(lines, l.getLineCount()); 300 for (int i = 0, n = 0; i < lines; ++i, n += 2) {
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LoadTestsAutoTest.java | 234 String lines[] = webViewDump.split("\\r?\\n"); 235 for (String line : lines) {
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsMessage.java | 169 * TS 27.005 3.4.1 lines[0] and lines[1] are the two lines read from the 177 public static SmsMessage newFromCMT(String[] lines) { argument 180 com.android.internal.telephony.gsm.SmsMessage.newFromCMT(lines);
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 83 String[] lines = message.trim().replaceAll(" +", " ").split("[\r\n]+"); 86 for (String line : lines) {
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 434 // split into lines 435 String[] lines = text.split("\n"); 439 for (String line : lines) {
|
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 763 // skip comments and empty lines 978 vector<string> lines; local 1014 lines.push_back(line); 1031 N = lines.size(); 1033 const string& s = lines[i];
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 729 String[] lines; 731 lines = quotedPrintable.split("\r\n"); 758 lines = list.toArray(new String[0]); 762 for (String line : lines) {
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfigStore.java | 628 String[] lines = listStr.split("\n"); 630 for (int i = 1; i < lines.length; i++) { 631 String[] result = lines[i].split("\t");
|
H A D | WifiStateMachine.java | 1461 String[] lines = scanResults.split("\n"); 1463 for (String line : lines) { 1536 String[] lines = signalPoll.split("\n"); 1537 for (String line : lines) { 1589 String[] lines = pktcntPoll.split("\n"); 1590 for (String line : lines) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 122 * TS 27.005 3.4.1 lines[0] and lines[1] are the two lines read from the 130 public static SmsMessage newFromCMT(String[] lines) { argument 133 msg.parsePdu(IccUtils.hexStringToBytes(lines[1]));
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pService.java | 1965 String[] lines = listStr.split("\n"); 1966 if (lines == null) return; 1971 for (int i = 1; i < lines.length; i++) { 1972 String[] result = lines[i].split("\t");
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 1134 HorizontalLineSpan[] lines = txt.getSpans(0, len, HorizontalLineSpan.class); 1135 for (HorizontalLineSpan line : lines) { 1143 if (lines.length > 0) {
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 1560 * Sets up the shader to draw an AA line. We draw AA lines with quads, where there is an 1933 * that of AA lines in the drawLines() function. We expand the convex path by a half pixel in 1996 * We draw lines as quads (tristrips). Using GL_LINES can be difficult because the rasterization 1997 * rules for those lines produces some unexpected results, and may vary between hardware devices. 1998 * The basics of lines-as-quads is easy; we simply find the normal to the line and position the 2002 * Anti-aliased lines add another factor to the approach. We use a specialized fragment shader 2041 // AA lines, we only want one pixel of translucent boundary around the quad. 2091 Vertex lines[verticesCount]; local 2092 Vertex* vertices = &lines[0]; 2161 // aa lines expan [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 1021 // of lines of height are unchanged for multi-line TextViews. 1305 * within the text can cause individual lines to be taller or shorter 2785 * Makes the TextView at least this many lines tall. 2804 * @return the minimum number of lines displayed in this TextView, or -1 if the minimum 2818 * Setting this value overrides any other (minimum) number of lines setting. 2833 * height was set in number of lines instead using {@link #setMinLines(int) or #setLines(int)}. 2844 * Makes the TextView at most this many lines tall. 2860 * @return the maximum number of lines displayed in this TextView, or -1 if the maximum 2875 * Setting this value overrides any other (maximum) number of lines setting. 2890 * height was set in number of lines instea 2909 setLines(int lines) argument [all...] |