/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4PSW_DebugTrace.c | 38 * void M4OSA_DebugTrace(M4OSA_Int32 line, char* file, M4OSA_Int32 level, 43 * @param line (IN): the line number in the source file 52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_DebugTrace(M4OSA_Int32 line, argument 70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file); 75 M4OSAL_TRACE_EXPORT_TYPE M4OSA_Void M4OSA_DEBUG_traceFunction(M4OSA_UInt32 line, argument 82 M4OSA_DebugTrace(line, fileName, level, stringCondition, message, returnedError);
|
H A D | M4PSW_Trace.c | 39 * void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file ,M4OSA_Int32 level, 52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , argument 69 (char *)message, line, file); 74 M4OSAL_TRACE_EXPORT_TYPE M4OSA_Void M4OSA_TRACE_traceFunction(M4OSA_UInt32 line, argument 94 (char *)message, line, (char*)file);
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 53 int line, 73 "%s:%d: %s", file, line, str.c_str()); 50 logMessageHandler( int severity, const char* file, int line, size_t message_start, const std::string& str) argument
|
/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...] |
H A D | psy_main.c | 259 Word16 line; /* counts through lines */ local 297 for(line=0; line<FRAME_LEN_LONG; line++) { 319 for (line=hPsyConfLong->sfbOffset[sfb+1] - 1; line>=hPsyConfLong->sfbOffset[sfb]; line--) { 321 if (psyData[ch].mdctSpectrum[line] != 0) break; 323 if (line >= hPsyConfLong->sfbOffset[sfb]) break;
|
H A D | qc_main.c | 418 Word16 line; local 422 for (line = sfbOffset[sfbOffs+sfb]; line < sfbOffset[sfbOffs+sfb+1]; line++) { 424 absVal = abs_s(quantSpectrum[line]);
|
H A D | quantize.c | 109 Word32 line; local 122 for (line=0; line<noOfLines; line++) { 126 mdctSpeL = mdctSpectrum[line]; 165 quaSpectrum[line] = qua ; 170 for (line=0; line<noOfLines; line++) { 174 mdctSpeL = mdctSpectrum[line]; 235 Word32 line; local 331 Word32 line; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 47 AString line; local 49 appendIndent(&line, indent); 54 line.append(tmp); 58 line.append(' '); 61 line.append(" "); 64 line.append(tmp); 68 line.append(' '); 76 line.append((char)data[offset + i]); 78 line.append('.'); 83 appendTo->append(line); [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 165 AString line; local 167 line.setTo(&data[offset], offsetLF - offset - 1); 169 line.setTo(&data[offset], offsetLF - offset); 172 // ALOGI("#%s#", line.c_str()); 174 if (line.empty()) { 179 if (lineNo == 0 && line == "#EXTM3U") { 186 if (line.startsWith("#EXT-X-TARGETDURATION")) { 190 err = parseMetaData(line, &mMeta, "target-duration"); 191 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { 195 err = parseMetaData(line, 274 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument 298 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument 322 parseStreamInf( const AString &line, sp<AMessage> *meta) argument 379 FindNextUnquoted( const AString &line, char what, size_t offset) argument 400 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument 469 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 553 bool ARTSPConnection::receiveLine(AString *line) { argument 554 line->clear(); 564 line->erase(line->size() - 1, 1); 568 line->append(&c, 1); 570 if (c == '$' && line->size() == 1) { 661 AString line; local 664 if (!receiveLine(&line)) { 668 if (line.empty()) { 672 ALOGV("line [all...] |
H A D | ASessionDescription.cpp | 65 AString line; local 67 // We accept both '\n' and '\r\n' line endings, if it's 69 line.setTo(desc, i, eolPos - i - 1); 71 line.setTo(desc, i, eolPos - i); 74 if (line.empty()) { 79 if (line.size() < 2 || line.c_str()[1] != '=') { 83 ALOGI("%s", line.c_str()); 85 switch (line.c_str()[0]) { 88 if (strcmp(line [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ParsedMessage.cpp | 104 AString line(&data[offset], lineEndOffset - offset); 107 // Special handling for the request/status line. 109 mDict.add(AString("_"), line); 120 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') { 124 // Otherwise it's malformed since the first header line 128 value.append(line); 135 ssize_t colonPos = line.find(":"); 137 AString key(line, 0, colonPos); 141 line 172 AString line; local 208 AString line; local [all...] |
/frameworks/av/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 51 void assert_fail(const char *file, int line, const char *func, const char *expr) { argument 52 INFO("assertion failed at file %s, line %d, function %s:", 53 file, line, func); 58 void assert_eq_fail(const char *file, int line, const char *func, argument 60 INFO("assertion failed at file %s, line %d, function %s:", 61 file, line, func);
|
/frameworks/base/core/java/android/text/ |
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...] |
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 | StaticLayout.java | 249 // here is the offset of the starting character of the line we are currently measuring 253 // we would prefer to cut the current line. Equals to here when no such break was found. 259 // We will cut the line there if no ok position is found. 690 // If there is only one line, then do any type of ellipsis except when it is MARQUEE 691 // if there are multiple lines, just allow END ellipsis on the last line 715 int line, float textWidth, TextPaint paint, 719 mLines[mColumns * line + ELLIPSIS_START] = 0; 720 mLines[mColumns * line + ELLIPSIS_COUNT] = 0; 731 // We only support start ellipsis on a single line 751 Log.w(TAG, "Start Ellipsis only supported with one line"); 712 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument 847 getLineTop(int line) argument 857 getLineDescent(int line) argument 867 getLineStart(int line) argument 872 getParagraphDirection(int line) argument 877 getLineContainsTab(int line) argument 882 getLineDirections(int line) argument 897 getEllipsisCount(int line) argument 906 getEllipsisStart(int line) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 753 final int line = layout.getLineForOffset(offset); 754 final int lineBottom = layout.getLineBottom(line); 767 final int line = mTextView.getLineAtCoordinate(y); 770 if (x < layout.getLineLeft(line)) return false; 771 if (x > layout.getLineRight(line)) return false; 1232 // Rely on the drawable entirely, do not draw the cursor line. 1260 // If the height of the layout changes (usually when inserting or deleting a line, 1307 for (int line = blockBeginLine; line <= blockEndLine; line 1975 getVerticalLocalPosition(int line) argument 2085 getVerticalLocalPosition(int line) argument 2393 getVerticalLocalPosition(int line) argument 2841 getVerticalLocalPosition(int line) argument [all...] |
H A D | TextView.java | 1021 // of lines of height are unchanged for multi-line TextViews. 1304 * @return the height of one standard line in pixels. Note that markup 1307 * or last-line padding. 1451 * This will frequently be null except for single-line and password 2787 * Setting this value overrides any other (minimum) height setting. A single line TextView will 2904 * height setting. A single line TextView will set this value to 1. 3085 * Sets line spacing for this TextView. Each line will have its height 3105 * Gets the line spacing multiplier 3107 * @return the value by which each line' 4976 getLineBounds(int line, Rect bounds) argument 6654 getInterestingRect(Rect r, int line) argument 8190 getOffsetAtCoordinate(int line, float x) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AndroidPrintStream.java | 46 protected void log(String line) { argument 47 Log.println(priority, tag, line);
|
H A D | LoggingPrintStream.java | 32 * A print stream which logs output line by line. 70 * Logs the given line. 72 protected abstract void log(String line); argument 80 * Searches buffer for line breaks and logs a message for each one. 82 * @param completely true if the ending chars should be treated as a line 83 * even though they don't end in a line break 91 // Log one line for each line break. 303 // Log one line fo [all...] |
/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...] |
H A D | android_util_Process.cpp | 880 char line[256]; local 882 while (fgets(line, sizeof(line), file)) { 884 if (sscanf(line, "Pss: %lld kB", &v) == 1) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 39 * metrics and line metrics. 64 * Basic test showing effect of includePad = true with 1 line. 65 * Top and bottom padding are affected, as is the line descent and height. 80 * Ascent of top line and descent of bottom line are affected. 97 * First line ascent is top, bottom line descent is bottom. 311 private void assertLineMetrics(Layout l, int line, argument 313 String info = "line " + line; [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListOfEditTexts.java | 93 String getBody(String line) { argument 94 StringBuilder sb = new StringBuilder((line.length() + 5) * mLinesPerEditText); 96 sb.append(i + 1).append(' ').append(line); 98 sb.append('\n'); // all but last line
|