Searched defs:line (Results 1 - 19 of 19) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DSearchUtil.java29 public String line; field in class:SearchUtil.MatchedLine
34 "line='" + line + '\'' +
41 * Given a string with lines delimited with '\n', finds the matching line to the given
46 * @return A MatchedLine object containing the matching line and the startIndex of the substring
47 * match within that line.
56 // Match found. Find the corresponding line.
71 matched.line = contents.substring(start + 1, end);
130 * @param line The string to search for the next token.
132 * @return The index for the start of the next token. line
135 findNextTokenStart(String line, int startIndex) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DLineIterator.java39 * String line = it.nextLine();
40 * /// do something with line
57 /** The current line. */
96 String line = bufferedReader.readLine();
97 if (line == null) {
100 } else if (isValidLine(line)) {
101 cachedLine = line;
113 * Overridable method to validate each line that is returned.
115 * @param line the line tha
118 isValidLine(String line) argument
[all...]
H A DFileSystemUtils.java112 * the command line.
124 * The free space is calculated via the command line.
144 * the command line.
149 * The free space is calculated via the command line.
155 * some simple tests to compare the command line with the output from this class.
178 * The free space is calculated via the command line.
229 // non-empty line (the free space bytes should be in the last element
231 // not, still assuming it is on the last non-blank line)
233 String line = lines.get(i);
234 if (line
252 parseDir(String line, String path) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapTestUtils.java87 public static final ImapResponse parseResponse(String line) { argument
89 new ByteArrayInputStream(Utility.toAscii(line + "\r\n")), new DiscourseLogger(4));
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/experimental/procstatlog/
H A Dprocstatlog.c49 // /proc/binder/stats - per line: "/proc/binder/stats:BC_REPLY"
52 // /proc/stat - per line: "/proc/stat:intr"
53 // /proc/yaffs - per device/line: "/proc/yaffs:userdata:nBlockErasures"
55 // - per line: "/sys/.../time_in_state:245000"
96 // Read a name/value file and write data entries for each line.
99 // delimiter: used to split each line into name and value
101 // skip_words: skip this many words at the start of each line
126 char *line; local
127 for (line = strtok(buf, "\n");
128 line !
175 char *line, *device = NULL; local
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
35 protected int line = 1; field in class:SimpleCharStream
162 line += (column = 1);
172 line += (column = 1);
191 bufline[bufpos] = line;
261 line = startline;
284 line = startline;
407 * Method to adjust line and column numbers for the start of a token.
450 line = bufline[j];
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGradControl.java128 public void actionDown(float x, float y, Line line) { argument
134 mDownPoint1X = line.getPoint1X();
135 mDownPoint1Y = line.getPoint1Y();
136 mDownPoint2X = line.getPoint2X();
137 mDownPoint2Y = line.getPoint2Y();
140 public void actionMove(int handle, float x, float y, Line line) { argument
163 line.setPoint1(mDownPoint1X + dx, mDownPoint1Y + dy);
164 line.setPoint2(mDownPoint2X + dx, mDownPoint2Y + dy);
171 line.setPoint1(mDownPoint1X + dx, mDownPoint1Y + dy);
178 line
[all...]
H A DGeometryMathUtils.java128 public static float[] shortestVectorFromPointToLine(float[] point, float[] line) { argument
129 float x1 = line[0];
130 float x2 = line[2];
131 float y1 = line[1];
132 float y2 = line[3];
/packages/apps/Camera/jni/
H A Dmosaic_renderer_jni.cpp194 bool checkGLErrorDetail(const char* file, int line, const char* op) { argument
203 LOGE("Error after %s(). glError: %s (0x%x) in line %d of %s", op, err_msg, error, line, file);
/packages/apps/Terminal/jni/
H A Dcom_android_terminal_Terminal.cpp437 ScrollbackLine* line = NULL; local
441 line = mScroll[mScrollCur - 1];
451 if (line == NULL) {
452 line = new ScrollbackLine(cols);
455 mScroll[0] = line;
461 line->copyFrom(cols, cells);
470 ScrollbackLine* line = mScroll[0]; local
474 dimen_t n = line->copyTo(cols, cells);
480 delete line;
499 ScrollbackLine* line local
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListItemView.java75 * present) is set to the left of the status line.
1371 // Show the first line that matches the query.
1374 if (matched != null && matched.line != null) {
1380 if (matched.line.length() > lengthThreshold) {
1381 return snippetize(matched.line, matched.startIndex, lengthThreshold);
1383 return matched.line;
1391 private String snippetize(String line, int matchIndex, int maxLength) { argument
1403 while (index < line.length()) {
1404 if (!Character.isLetterOrDigit(line.charAt(index))) {
1418 if (!Character.isLetterOrDigit(line
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java414 for (String line : NEWLINE_SPLITTER.split(str)) {
415 lines.add(line);
426 * line breaking. Newlines within a line are treated like any other
443 for (String line : lines) {
444 formattedLines.add(formatLineToFixedWidth(line, width));
456 private static String formatLineToFixedWidth(String line, int width) { argument
457 if (line.length() <= width) {
458 return line;
464 for (String word : TO_WORDS.split(line)) {
[all...]
/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 281 milliseconds