Searched defs:lines (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java46 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/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DVisualDiffUtils.java65 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...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_mpeg2_stereo_proc.cpp289 /* 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...]
H A Dpvmp3_stereo_proc.cpp355 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...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java169 * 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/tools/aidl/
H A Daidl.cpp763 // 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/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java122 * 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/libs/hwui/
H A DOpenGLRenderer.cpp1560 * 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 DTextView.java1021 // 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...]

Completed in 312 milliseconds