Searched refs:lines (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
H A DColorChipView.java116 float[] lines = new float[16];
118 lines [ptr++] = 0;
119 lines [ptr++] = top;
120 lines [ptr++] = right;
121 lines [ptr++] = top;
122 lines [ptr++] = 0;
123 lines [ptr++] = bottom - halfBorderWidth;
124 lines [ptr++] = right;
125 lines [ptr++] = bottom - halfBorderWidth;
126 lines [pt
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileSystemUtils.java226 List<String> lines = performCommand(cmdAttribs, Integer.MAX_VALUE);
228 // now iterate over the lines we just read and find the LAST
232 for (int i = lines.size() - 1; i >= 0; i--) {
233 String line = lines.get(i);
238 // all lines are blank
323 // perform the command, asking for up to 3 lines (header, interesting, overflow)
324 List<String> lines = performCommand(cmdAttribs, 3);
325 if (lines.size() < 2) {
329 "for path '" + path + "'- response was " + lines);
331 String line2 = lines
[all...]
H A DIOUtils.java516 * Return an Iterator for the lines in a <code>Reader</code>.
538 * @return an Iterator of the lines in the reader, never null
547 * Return an Iterator for the lines in an <code>InputStream</code>, using
571 * @return an Iterator of the lines in the reader, never null
890 * @param lines the lines to write, null entries produce blank lines
897 public static void writeLines(Collection<Object> lines, String lineEnding, argument
899 if (lines == null) {
905 for (Iterator<Object> it = lines
930 writeLines(Collection<Object> lines, String lineEnding, OutputStream output, String encoding) argument
962 writeLines(Collection<Object> lines, String lineEnding, Writer writer) argument
[all...]
H A DFileUtils.java1181 * Returns an Iterator for the lines in a <code>File</code>.
1207 * @return an Iterator of the lines in the file, never <code>null</code>
1226 * Returns an Iterator for the lines in a <code>File</code> using the default encoding for the VM.
1229 * @return an Iterator of the lines in the file, never <code>null</code>
1303 * @param lines the lines to write, <code>null</code> entries produce blank lines
1308 public static void writeLines(File file, String encoding, Collection<Object> lines) throws IOException { argument
1309 writeLines(file, encoding, lines, null);
1318 * @param lines th
1322 writeLines(File file, Collection<Object> lines) argument
1342 writeLines(File file, String encoding, Collection<Object> lines, String lineEnding) argument
1363 writeLines(File file, Collection<Object> lines, String lineEnding) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DNgramContextUtils.java62 final String[] lines = NEWLINE_REGEX.split(prev);
63 if (lines.length == 0) {
66 final String[] w = SPACE_REGEX.split(lines[lines.length - 1]);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfile.java128 String[] lines = new String[stack.length];
130 lines[i] = stack[i].toString();
133 entry.holdingStacks.add(lines);
135 mProfileData.addSample(lines);
/packages/providers/CalendarProvider/
H A Dmaketests.py43 lines = str.split("\n")
46 for line in lines:
87 lines = stripTimezone(s) variable
88 for s in lines:
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java230 * checking and reallocation. Used for drawing lines.
589 float lines[] = new float[8 * 4];
597 lines[i++] = xOffset;
598 lines[i++] = 0;
599 lines[i++] = xOffset;
600 lines[i++] = mHeight;
604 lines[i++] = 0;
605 lines[i++] = 0;
606 lines[i++] = mWidth;
607 lines[
778 addChipOutline(FloatRef lines, int count, int x, int y) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/mail/transport/
H A DDiscourseLogger.java25 * A class to keep last N of lines sent to the server and responses received from the server.
108 String[] lines = getLines();
109 if (lines.length == 0) {
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DArrayInitializerFormatter.java75 public void outCommentLines(final String lines) { argument
77 mOut.print(lines);
H A DMoreKeysResources.java234 private static String addPrefix(final String prefix, final String lines) { argument
236 for (final String line : lines.split("\n")) {
/packages/services/Telephony/src/org/apache/commons/io/
H A DIOUtils.java815 * @param lines the lines to write, null entries produce blank lines
822 public static void writeLines(Collection<Object> lines, String lineEnding, argument
824 if (lines == null) {
830 for (Iterator<Object> it = lines.iterator(); it.hasNext(); ) {
847 * @param lines the lines to write, null entries produce blank lines
855 public static void writeLines(Collection<Object> lines, Strin argument
887 writeLines(Collection<Object> lines, String lineEnding, Writer writer) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp31 int lines, size = calcStorage(width, height, border2, levels, &lines); local
34 + sizeof(short *) * lines +
40 ImageTypeShort position = (ImageTypeShort) &y[lines];
96 unsigned int PyramidShort::calcStorage(real width, real height, real border2, int levels, int *lines) argument
100 *lines = size = 0;
104 *lines += height + border2;
H A DPyramid.h45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
H A DCaptionWindowLayout.java525 String[] lines = TextUtils.split(mBuilder.toString(), "\n");
530 lines, Math.max(0, lines.length - (mRowLimit + 1)), lines.length));
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DPop3Store.java549 * to the specified number of lines. If lines is -1 the entire message
550 * is fetched. This is implemented with RETR for lines = -1 or TOP
552 * emulated with RETR and extra lines are thrown away.
555 * @param lines
558 public void fetchBody(Pop3Message message, int lines, argument
562 if (lines == -1) {
569 String.format(Locale.US, "TOP %d %d", messageId, lines));
616 if (lines == -1) {
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlTree.java649 BlankLine // two new lines
707 * A BlankLine separator (two new lines) should be set for opening and
764 // We're in a <pre> block. Split the text into lines, and append
766 String[] lines = text.split("[\\r\\n]", -1);
769 appendTextDirect(lines[0]);
771 // For all of the remaining lines, we append a newline first, which
774 for (int i = 1; i < lines.length; i++) {
776 appendTextDirect(lines[i]);
785 * {@code text} must not contain any new lines--in order to handle
787 * newlines, or split the text up into separate lines an
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java405 * then passed to {@link #fixedWidth(String[], int)} as the {@code lines}
412 List<String> lines = new ArrayList<String>();
415 lines.add(line);
418 String[] lineArray = lines.toArray(new String[0]);
423 * Reformats the given array of lines to a fixed width by inserting
437 * @param lines array of lines to format
440 public static String fixedWidth(String[] lines, int width) { argument
443 for (String line : lines) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java797 String lines[] = vCard.split(SEPARATOR);
801 for (String line : lines) {
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 1906 milliseconds