/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 1135 for (HorizontalLineSpan line : lines) { 1136 line.resetWidth(width); 1145 // by inserting new line. 2385 int line = layout.getLineForOffset(end); 2386 if (line > 0) { 2388 if (layout.getParagraphDirection(line) == layout 2389 .getParagraphDirection(line - 1)) { 2391 to = layout.getOffsetForHorizontal(line - 1, h); 2393 to = layout.getLineStart(line - 1); 2407 int line [all...] |
/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 643 for (StringPiece line : util::Tokenize(content, '\n')) { 645 line = util::TrimWhitespace(line); 646 if (line.empty()) { 650 auto iter = std::find(line.begin(), line.end(), '='); 651 if (iter == line.end()) { 658 util::TrimWhitespace(line.substr(0, std::distance(line.begin(), iter))); 665 const size_t res_id_start_idx = std::distance(line [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 327 AString line = info.mName; 328 line.append(" supports "); 333 line.append(mTypes.keyAt(j)); 334 line.append(" "); 338 ALOGI("%s", line.c_str());
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 176 std::stringstream line; local 177 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" 181 processor->AppendComment(line.str());
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 244 char line[128]; local 245 if (fp != NULL && fgets(line, sizeof(line), fp) != NULL) { 246 line[sizeof(line) - 1] = '\0'; 248 sscanf(line, "%zu", &maxSystemSocketBufferSize);
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 528 final int line = layout.getLineForOffset(index); 532 layout.getLineTop(line));
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsService.java | 292 for (String line : listForUser(iprovider, mUser, mTable)) { 293 pout.println(line);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 97 void ExitOnErrorFunc( SLresult result , int line) argument 100 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
|
H A D | slesTestRecBuffQueue.cpp | 73 void ExitOnErrorFunc( SLresult result , int line) argument 76 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestSlowDownUri.cpp | 55 void ExitOnErrorFunc( SLresult result , int line) argument 58 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 1554 // of lines of height are unchanged for multi-line TextViews. 2283 * contain additional first-or last-line padding. 2284 * @return The height of one standard line in pixels. 2483 * This is frequently null, except for single-line and password fields. 3541 * other aspects of text display, including line breaking. 3878 * last line is too short for justification, the last line will be displayed with the 4849 * Sets line spacing for this TextView. Each line will have its height 4869 * Gets the line spacin 6967 getLineBounds(int line, Rect bounds) argument 8894 getInterestingRect(Rect r, int line) argument 11242 getOffsetAtCoordinate(int line, float x) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
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/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 307 line = raw_line.split() 308 name = line[-1] 311 user = line[0] 312 pid = line[1]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 1269 for (String line : dumpsys(null).split("\n")) { 1270 Log.v(TAG, line); 1307 String line; 1308 while ((line = br.readLine()) != null) { 1309 Log.v(TAG, line); 1898 for (String line : xml.split("\n")) { 1899 Log.v(TAG, line); 2071 String line; 2072 while ((line = br.readLine()) != null) { 2073 sb.append(line); [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 115 String line; 116 while ((line = r.readLine()) != null) { 117 ret.add(line); 140 for (String line : result) { 141 if (line.contains(expected)) {
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_os_Zygote.cpp | 83 static void RuntimeAbort(JNIEnv* env, int line, const char* msg) { argument 85 oss << __FILE__ << ":" << line << ": " << msg;
|
/frameworks/native/libs/hwc2on1adapter/ |
H A D | HWC2On1Adapter.cpp | 2049 std::string line(" "); 2051 line += "None"; 2053 line += rectString(visibleRegion[numPrinted]); 2055 line.resize(40, ' '); 2057 line += "None"; 2059 line += rectString(surfaceDamage[numPrinted]); 2061 line += '\n'; 2062 regions += line; 2188 // In theory the following line should work, but since the HWC1
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccRecords.java | 454 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported 459 public abstract void setVoiceMessageWaiting(int line, int countWaiting); argument 634 * @param line to enable/disable 638 public void setVoiceCallForwardingFlag(int line, boolean enable, String number) { argument
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 598 // Move down to bottom of regular (one char_heigh) or bold (two char_heigh) line 650 String8 line(s, endl - s); 651 const char* l = line.string(); 783 String8 line(trimDataStr, endl - trimDataStr); 784 const char* lineStr = line.string(); 794 ALOGE("Error parsing trim.txt, line: %s", lineStr);
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | pdx_benchmarks.cpp | 2 // line processing. 93 std::string line; local 94 base::ReadFileToString(base::FilePath{stats_path}, &line); 96 line, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); 170 // Global command line option values. 182 // Command line option names. 1020 // Process command line options. 1075 // Setup ATRACE/systrace based on command line.
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 320 int line = res.getColor(R.color.line_background); 336 view.findViewById(R.id.line).setBackgroundColor(mThemeDark? darkLine : line);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | NotificationCompat.java | 204 CharSequence line; 205 line = showNames ? makeMessageLine(b, style, m) : m.getText(); 209 completeMessage.insert(0, line);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 209 // scrolled to show the last line of chips content. 703 // Desired position shows at least 1 line of chips below the action 1185 * Calculate the offset from bottom of the EditText to top of the provided line. 1187 private int calculateOffsetFromBottomToTop(int line) { argument 1189 .abs(getLineCount() - line)) + getPaddingBottom()); 1289 * one line of recipients chips are shown when the field loses 2036 int line = getLayout().getLineForOffset(getChipStart(currentChip)); 2037 int bottomOffset = calculateOffsetFromBottomToTop(line); 2607 int line = getLayout().getLineForOffset(getChipStart(currentChip)); 2608 int bottomOffset = calculateOffsetFromBottomToTop(line); 3339 supportGetOffsetAtCoordinate(int line, float x) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 718 * If a product type was specified on the command line 730 * If the command-line-specified product is empty, only "default" 748 * The command-line product is not empty. 749 * If the product for this string is on the command-line list, 1138 "<private-symbols> is deprecated. Use the command line flag " 1974 printf("Adding bag left: file=%s, line=%d, type=%s\n", 1975 sourcePos.file.striing(), sourcePos.line, String8(type).string()); 2153 formatItem.sourcePos.line); 3450 pos.file.string(), pos.line); 3517 mItem.sourcePos.file.string(), mItem.sourcePos.line); [all...] |
H A D | XMLNode.cpp | 458 printf("%sE: %s%s (line=%d)\n", prefix.string(), elemNs.string(), 909 void XMLNode::setStartLineNumber(int32_t line) 911 mStartLineNumber = line; 914 void XMLNode::setEndLineNumber(int32_t line) 916 mEndLineNumber = line;
|