Searched defs:line (Results 76 - 94 of 94) sorted by relevance

1234

/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp149 void ExitOnErrorFunc( SLresult result , int line) argument
152 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java143 String line;
146 line = in.readLine();
147 if (line == null || line.startsWith("}")) {
150 n.rememberLine(line);
158 void rememberLine(String line) { argument
160 line = line.trim();
161 if (line.isEmpty()) return; // only whitespace; drop the line
[all...]
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp51 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/jni/
H A Dandroid_util_Process.cpp880 char line[256]; local
882 while (fgets(line, sizeof(line), file)) {
884 if (sscanf(line, "Pss: %lld kB", &v) == 1) {
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java208 // - add end-of-line match $
634 public void visitLineNumber(int line, Label start) { argument
H A DDependencyFinder.java574 public void visitLineNumber(int line, Label start) { argument
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc81 void CheckSLResult_Real(const char* message, SLresult result, int line) { argument
85 LOGE("slresult was %d at %s file variablespeed line %d",
86 static_cast<int>(result), message, line);
720 // Repro is to comment out all before this line, and all after enqueueing
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java364 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
370 setVoiceMessageWaiting(int line, int countWaiting) { argument
371 if (line != 1) {
443 public void setVoiceCallForwardingFlag(int line, boolean enable) { argument
445 if (line != 1) return; // only line 1 is supported
1334 // to determine which is the voice/data/fax line
/frameworks/base/core/java/android/text/
H A DLayout.java63 * 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...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java190 // scrolled to show the last line of chips content.
637 * Calculate the bottom of the line the chip will be located on using:
638 * 1) which line the chip appears on
642 private int calculateOffsetFromBottom(int line) { argument
644 int actualLine = getLineCount() - (line + 1);
725 * one line of recipients chips are shown when the field loses
1385 private void scrollLineIntoView(int line) { argument
1387 mScrollView.scrollBy(0, calculateOffsetFromBottom(line));
1393 int line = getLayout().getLineForOffset(getChipStart(currentChip));
1395 if (line
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp68 * positional parameters on the command-line. If no graphic formats
69 * are specified on the command line, then by default measurements are
311 // Command-line option settings
320 * 1. Command-line parsing
322 * 2. Form a list of command-line specified graphic formats. If
350 // Parse command line arguments
371 testPrintE("Invalid command-line specified start "
395 // No command-line specified graphic formats
401 // Add names of command-line specified graphic formats to the
1513 ostringstream line; local
1535 ostringstream line; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneProxy.java972 public void setVoiceMessageWaiting(int line, int countWaiting) { argument
973 mActivePhone.setVoiceMessageWaiting(line, countWaiting);
H A DPhone.java852 * Get the line 1 phone number (MSISDN). For CDMA phones, the MDN is returned
1561 * Register for CDMA line control information record notification
1574 * Unregisters for line control information notifications.
1679 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
1684 void setVoiceMessageWaiting(int line, int countWaiting); argument
H A DPhoneBase.java1196 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
1202 public void setVoiceMessageWaiting(int line, int countWaiting) { argument
1205 r.setVoiceMessageWaiting(line, countWaiting);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1569 private void cachePlaylistEntry(String line, String playListDirectory) { argument
1572 int entryLength = line.length();
1573 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--;
1577 if (entryLength < line.length()) line = line.substring(0, entryLength);
1581 char ch1 = line.charAt(0);
1583 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\'));
1586 line
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp2265 const char* pkg, const String8& srcName, int line)
2291 sprintf(lineno, ":%d", line);
2299 const char* pkg, const String8& srcName, int line)
2308 sprintf(lineno, ":%d", line);
2608 // Each file path is written on its own line with a terminating backslash.
2264 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, const char* pkg, const String8& srcName, int line) argument
2298 addProguardKeepMethodRule(ProguardKeepSet* keep, const String8& memberName, const char* pkg, const String8& srcName, int line) argument
/frameworks/native/opengl/libagl/
H A Dcontext.h132 // we group together, by cache-line, the fields most likely to be used
620 line_width_t line; member in struct:android::gl::ogles_context_t
/frameworks/base/core/java/android/widget/
H A DEditor.java753 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 DTextView.java1021 // 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...]

Completed in 667 milliseconds

1234