/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 63 * specified text with one line per paragraph. 72 * specified text slice with one line per paragraph. 108 * default line spacing 109 * @param spacingAdd amount to add to the default line spacing 128 * default line spacing 129 * @param spacingAdd amount to add to the default line spacing 226 // The baseline is the top of the following line minus the current line's descent. 248 // Reset tabStops, we'll rebuild if we encounter a line with 273 // to the paragraph direction of the line 472 getLineStartPos(int line, int left, int right) argument 613 getLineBounds(int line, Rect bounds) argument 629 getLineTop(int line) argument 634 getLineDescent(int line) argument 641 getLineStart(int line) argument 648 getParagraphDirection(int line) argument 655 getLineContainsTab(int line) argument 664 getLineDirections(int line) argument 815 getHorizontal(int offset, boolean trailing, int line) argument 847 getLineLeft(int line) argument 878 getLineRight(int line) argument 909 getLineMax(int line) argument 919 getLineWidth(int line) argument 932 getLineExtent(int line, boolean full) argument 968 getLineExtent(int line, TabStops tabStops, boolean full) argument 1033 getOffsetForHorizontal(int line, float horiz) argument 1108 getLineEnd(int line) argument 1116 getLineVisibleEnd(int line) argument 1120 getLineVisibleEnd(int line, int start, int end) argument 1146 getLineBottom(int line) argument 1153 getLineBaseline(int line) argument 1162 getLineAscent(int line) argument 1339 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument 1434 getParagraphAlignment(int line) argument 1455 getParagraphLeft(int line) argument 1467 getParagraphRight(int line) argument 1482 getParagraphLeadingMargin(int line) argument 1708 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument 1763 getEllipsisStart(int line) argument 1769 getEllipsisCount(int line) argument [all...] |
H A D | BoringLayout.java | 27 * fits on a single line and is all left-to-right characters. 211 TextLine line = TextLine.obtain(); 212 line.set(paint, source, 0, source.length(), Layout.DIR_LEFT_TO_RIGHT, 214 mMax = (int) FloatMath.ceil(line.metrics(null)); 215 TextLine.recycle(line); 305 TextLine line = TextLine.obtain(); 306 line.set(paint, text, 0, length, Layout.DIR_LEFT_TO_RIGHT, 308 fm.width = (int) FloatMath.ceil(line.metrics(fm)); 309 TextLine.recycle(line); 328 public int getLineTop(int line) { argument 336 getLineDescent(int line) argument 341 getLineStart(int line) argument 349 getParagraphDirection(int line) argument 354 getLineContainsTab(int line) argument 359 getLineMax(int line) argument 364 getLineDirections(int line) argument 379 getEllipsisCount(int line) argument 384 getEllipsisStart(int line) argument [all...] |
H A D | DynamicLayout.java | 140 // Initial state is a single line with 0 characters (0 to 0), 290 // If the new layout has a blank line at the end, but it is not 291 // the very end of the buffer, then we already have a line that 292 // starts there, so disregard the blank line. 396 * A block will actually be created only if has at least one line, i.e. this offset is 397 * not on the end line of the previous block. 400 final int line = getLineForOffset(offset); 403 // Initial creation of the array, no test on previous block ending line 405 mBlockEndLines[mNumberOfBlocks] = line; 411 if (line > previousBlockEndLin 568 getLineTop(int line) argument 573 getLineDescent(int line) argument 578 getLineStart(int line) argument 583 getLineContainsTab(int line) argument 588 getParagraphDirection(int line) argument 593 getLineDirections(int line) argument 659 getEllipsisStart(int line) argument 668 getEllipsisCount(int line) argument [all...] |
/frameworks/base/tools/preload/ |
H A D | Compile.java | 46 String line; 48 while ((line = in.readLine()) != null) { 50 if (line.startsWith("I/PRELOAD")) { 52 String clipped = line.substring(19); 56 "Exception while recording line " + lineNumber + ": " + line, e);
|
H A D | PrintHtmlDiff.java | 61 String line; 62 while ((line = oldClasses.readLine()) != null) { 63 line = line.trim(); 64 LoadedClass clazz = root.loadedClasses.get(line);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HexDump.java | 32 byte[] line = new byte[16]; 46 if (line[j] > ' ' && line[j] < '~') 48 result.append(new String(line, j, 1)); 66 line[lineIndex++] = b; 80 if (line[i] > ' ' && line[i] < '~') 82 result.append(new String(line, i, 1));
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V30.java | 74 * vCard 3.0 requires that the line with space at the beginning of the line 75 * must be combined with previous line. 79 String line; 82 line = mReader.readLine(); 83 if (line == null) { 92 } else if (line.length() == 0) { 100 } else if (line.charAt(0) == ' ' || line.charAt(0) == '\t') { 105 // DESCRIPTION:This is a long description that exists on a long line [all...] |
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 228 # Add a line to the axes for a time series. 267 line = self.adbout.readline() 271 if line is None: 273 print line 276 timestamp = self._parse_timestamp(line) 284 if line.find('Raw acceleration vector:') != -1: 285 self.parse_raw_acceleration_x = self._get_following_number(line, 'x=') 286 self.parse_raw_acceleration_y = self._get_following_number(line, 'y=') 287 self.parse_raw_acceleration_z = self._get_following_number(line, 'z=') 288 self.parse_raw_acceleration_magnitude = self._get_following_number(line, 'magnitud [all...] |
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 86 for (String line : lines) { 88 if (line.charAt(1) != '=') { 91 if (line.charAt(0) == 'm') { 92 String[] parts = line.substring(2).split(" ", 4); 102 fields.parse(line); 105 throw new IllegalArgumentException("Invalid SDP: " + line); 516 for (String line : mLines) { 517 if (line.charAt(0) == type) { 518 buffer.append(line).append("\r\n"); 525 * Invokes {@link #set} after splitting the line int 527 parse(String line) argument [all...] |
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 154 # Add a line to the axes for a time series. 181 line = self.adbout.readline() 185 if line is None: 187 print line 190 timestamp = self._parse_timestamp(line) 198 if line.find(': position') != -1: 199 self.parse_velocity_x = self._get_following_number(line, 'vx=') 200 self.parse_velocity_y = self._get_following_number(line, 'vy=') 201 self.parse_velocity_magnitude = self._get_following_number(line, 'speed=') 206 if line [all...] |
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 90 def add(self, line): 91 length = len(line) 93 if line.startswith('#') or (length == 0): 97 self.letters.append(line[1:2]) 99 self.words.append(line) 101 def getBucket(buckets, line): 102 letter = line[0]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | grp_data.c | 51 Word32 line; local 65 for (line=(sfbOffset[sfb + 1] - 1); line>=sfbOffset[sfb]; line--) { 67 if (mdctSpectrum[wnd*FRAME_LEN_SHORT+line] != 0) break; 70 if (line >= sfbOffset[sfb]) break; 172 for (line = lineOffset + sfbOffset[sfb]; line < lineOffset + sfbOffset[sfb+1]; line++) { 173 tmpSpectrum[i] = mdctSpectrum[line]; [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | M3UParser.h | 64 const AString &line, sp<AMessage> *meta, const char *key); 67 const AString &line, sp<AMessage> *meta, const char *key); 70 const AString &line, sp<AMessage> *meta); 73 const AString &line, sp<AMessage> *meta, const AString &baseURI); 76 const AString &line, uint64_t curOffset,
|
/frameworks/wilhelm/src/ |
H A D | locks.c | 34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 54 SL_LOGE("%s:%d: recursive lock detected", file, line); 57 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 94 " %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 98 " state by pthread %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), 105 thiz->mLine = line; 122 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 129 thiz->mLine = line; 150 const char *file, int line) 149 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 275 object_cond_wait_(IObject *thiz, const char *file, int line) argument [all...] |
H A D | locks.h | 20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line); 21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line); 23 const char *file, int line); 24 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
|
/frameworks/native/libs/utils/ |
H A D | CallStack.cpp | 104 char line[MAX_BACKTRACE_LINE_LENGTH]; local 106 line, MAX_BACKTRACE_LINE_LENGTH); 107 ALOGD("%s%s", prefix, line); 118 char line[MAX_BACKTRACE_LINE_LENGTH]; local 120 line, MAX_BACKTRACE_LINE_LENGTH); 122 str.append(line);
|
/frameworks/compile/slang/tests/ |
H A D | test.py | 51 """Extracts command line arguments from first comment line in a file.""" 53 line = f.readline() 54 if line[0] == '/' and line [1] == '/': 55 return line[2:].strip() 82 # Extra command line arguments can be placed as // comments at the start of 114 for line in stdout_file: 115 print 'STDOUT>', line, 116 for line i [all...] |
/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 13 int line; member in class:SourcePos
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_tls.h | 44 const char* caller, int line, EGLint error, bool quiet); 58 int line, EGLint error, T returnValue, bool quiet = false) { 59 setErrorEtcImpl(caller, line, error, quiet); 57 setErrorEtc(const char* caller, int line, EGLint error, T returnValue, bool quiet = false) argument
|
/frameworks/base/core/jni/ |
H A D | android_os_Debug.cpp | 122 char line[1024]; local 141 if(fgets(line, sizeof(line), fp) == 0) return; 149 len = strlen(line); 151 line[--len] = 0; 153 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 156 while (isspace(line[name_pos])) { 159 name = line + name_pos; 191 // isSqliteHeap, line); 194 if (fgets(line, 102 287 char line[1024]; local 325 char line[1024]; local [all...] |
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_page_cycler.py | 90 for line in adb_output.splitlines(): 91 line = line.strip() 92 if line.find('INSTRUMENTATION_CODE') == 0: 93 if not line[22:] == '-1': 96 if (line.find('INSTRUMENTATION_FAILED') != -1 or 97 line.find('Process crashed.') != -1):
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 396 public String line; // TODO: just point to original text field in class:ICalendar.ParserState 411 // we deal with line folding, by replacing all "\n " strings 422 * case, expects a BEGIN as the first line. Returns the provided or newly 437 // each line is of the format: 439 for (String line : lines) { 441 current = parseLine(line, state, current); 443 // NOTE: in this case, if the first line is not a BEGIN, a 450 Log.v(TAG, "Cannot parse " + line, fe); 461 * Parses a line into the provided component. Creates a new component if 462 * the line i 466 parseLine(String line, ParserState state, Component component) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 228 String line; 232 while ((line = reader.readLine()) != null) { 233 if (comment.matcher(line).matches()) continue; 235 Matcher m = tag.matcher(line); 237 Log.wtf(TAG, "Bad entry in " + TAGS_FILE + ": " + line); 247 Log.wtf(TAG, "Error in " + TAGS_FILE + ": " + line, e);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | KMLFormatter.java | 76 public void addLine(String line) { argument 77 mBuilder.append(line);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 72 * Note: doesn't return the last incomplete line read on EOF, since 230 String line; 232 line = lineReader.getNextLine(); 234 //System.out.println("MI<< " + line); 236 if (line == null) { 252 processLine(line); 571 processLine (String line) throws InterpreterEx argument 575 commands = splitCommands(line); 615 splitCommands(String line) throws InterpreterEx argument 617 if (!line [all...] |