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

12345

/frameworks/base/core/java/android/text/
H A DDynamicLayout.java145 // Initial state is a single line with 0 characters (0 to 0),
303 // If the new layout has a blank line at the end, but it is not
304 // the very end of the buffer, then we already have a line that
305 // starts there, so disregard the blank line.
412 * A block will actually be created only if has at least one line, i.e. this offset is
413 * not on the end line of the previous block.
416 final int line = getLineForOffset(offset);
419 // Initial creation of the array, no test on previous block ending line
421 mBlockEndLines[mNumberOfBlocks] = line;
427 if (line > previousBlockEndLin
601 getLineTop(int line) argument
606 getLineDescent(int line) argument
611 getLineStart(int line) argument
616 getLineContainsTab(int line) argument
621 getParagraphDirection(int line) argument
626 getLineDirections(int line) argument
644 getHyphen(int line) argument
700 getEllipsisStart(int line) argument
709 getEllipsisCount(int line) argument
[all...]
H A DLayout.java54 * Value for break strategy indicating simple line breaking. Automatic hyphens are not added
62 * Value for break strategy indicating high quality line breaking, including automatic
63 * hyphenation and doing whole-paragraph optimization of line breaks.
68 * Value for break strategy indicating balanced line breaking. The breaks are chosen to
84 * as suggestions for potential line breaks.
107 * specified text with one line per paragraph.
116 * specified text slice with one line per paragraph.
152 * default line spacing
153 * @param spacingAdd amount to add to the default line spacing
172 * default line spacin
519 getLineStartPos(int line, int left, int right) argument
660 getLineBounds(int line, Rect bounds) argument
676 getLineTop(int line) argument
681 getLineDescent(int line) argument
688 getLineStart(int line) argument
695 getParagraphDirection(int line) argument
701 getLineContainsTab(int line) argument
710 getLineDirections(int line) argument
729 getHyphen(int line) argument
738 getIndentAdjust(int line, Alignment alignment) argument
924 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument
959 getLineLeft(int line) argument
990 getLineRight(int line) argument
1021 getLineMax(int line) argument
1031 getLineWidth(int line) argument
1044 getLineExtent(int line, boolean full) argument
1080 getLineExtent(int line, TabStops tabStops, boolean full) argument
1145 getOffsetForHorizontal(int line, float horiz) argument
1159 getOffsetForHorizontal(int line, float horiz, boolean primary) argument
1247 getLineEnd(int line) argument
1255 getLineVisibleEnd(int line) argument
1259 getLineVisibleEnd(int line, int start, int end) argument
1288 getLineBottom(int line) argument
1295 getLineBaseline(int line) argument
1304 getLineAscent(int line) argument
1406 shouldClampCursor(int line) argument
1499 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument
1594 getParagraphAlignment(int line) argument
1615 getParagraphLeft(int line) argument
1627 getParagraphRight(int line) argument
1642 getParagraphLeadingMargin(int line) argument
1885 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument
1940 getEllipsisStart(int line) argument
1946 getEllipsisCount(int line) argument
[all...]
H A DStaticLayout.java200 * Set line spacing parameters. The default is 0.0 for {@code spacingAdd}
203 * @param spacingAdd line spacing add
204 * @param spacingMult line spacing multiplier
261 * ellipsizing, where it changes the layout of the last line. The default is
300 * Set indents. Arguments are arrays holding an indent amount, one per line, measured in
326 * For each paragraph, do a nSetupParagraph, which sets paragraph text, line width, tab
338 * Run nComputeLineBreaks() to obtain line breaks for the paragraph.
698 // measurement has to be done before performing line breaking
770 // Treat the last line and overflowed lines as a single line
1005 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument
1140 getLineTop(int line) argument
1145 getLineDescent(int line) argument
1150 getLineStart(int line) argument
1155 getParagraphDirection(int line) argument
1160 getLineContainsTab(int line) argument
1165 getLineDirections(int line) argument
1183 getHyphen(int line) argument
1191 getIndentAdjust(int line, Alignment align) argument
1220 getEllipsisCount(int line) argument
1229 getEllipsisStart(int line) argument
[all...]
/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp78 static void RuntimeAbort(JNIEnv* env, int line, const char* msg) { argument
80 oss << __FILE__ << ":" << line << ": " << msg;
H A Dandroid_os_Debug.cpp219 char line[1024]; local
243 if(fgets(line, sizeof(line), fp) == 0) return;
253 len = strlen(line);
255 line[--len] = 0;
257 if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) {
260 while (isspace(line[name_pos])) {
263 name = line + name_pos;
265 // Trim the end of the line if it is " (deleted)".
352 // isSqliteHeap, line);
514 char line[1024]; local
599 char line[1024]; local
791 char line[1024]; local
[all...]
H A Dandroid_util_Process.cpp356 char *line = NULL; local
358 ssize_t num_read = getline(&line, &len, file);
361 parse_cpuset_cpus(line, cpu_set);
365 free(line);
1074 char line[256]; local
1076 while (fgets(line, sizeof(line), file)) {
1078 if (sscanf(line, "Pss: %" SCNd64 " kB", &v) == 1) {
/frameworks/base/location/java/android/location/
H A DAddress.java75 * Returns the largest index currently in use to specify an address line.
83 * Returns a line of the address numbered by the given index
84 * (starting at 0), or null if no such line is present.
96 * Sets the line of the address numbered by index (starting at 0) to the
101 public void setAddressLine(int index, String line) { argument
108 mAddressLines.put(index, line);
110 if (line == null) {
111 // We've eliminated a line, recompute the max index
431 String line = mAddressLines.get(i);
432 if (line
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java141 public static SmsMessage newFromCDS(String line) { argument
144 msg.parsePdu(IccUtils.hexStringToBytes(line));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java901 public void setVoiceMessageWaiting(int line, int countWaiting) { argument
H A DIccRecords.java427 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
432 public abstract void setVoiceMessageWaiting(int line, int countWaiting); argument
607 * @param line to enable/disable
611 public void setVoiceCallForwardingFlag(int line, boolean enable, String number) { argument
H A DSIMRecords.java436 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
443 setVoiceMessageWaiting(int line, int countWaiting) { argument
444 if (line != 1) {
533 public void setVoiceCallForwardingFlag(int line, boolean enable, String dialNumber) { argument
535 if (line != 1) return; // only line 1 is supported
1582 // to determine which is the voice/data/fax line
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java52 * Needed since "next line" may be null due to end of line.
71 final String line = super.readLine();
74 return line;
78 * Read one line, but make this object store it in its queue.
83 final String line = super.readLine();
87 mNextLine = line;
127 * Developers should not directly read a line from this object. Use
192 * @throws VCardException when the stream reached end of line
195 String line;
363 constructPropertyData(String line) argument
887 getPropertyNameUpperCase(String line) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp307 char line[MAXLINE]; local
336 if (strgets(line, MAXLINE, &rsInfo) == nullptr) {
339 if (sscanf(line, EXPORT_VAR_STR "%zu", &varCount) != 1) {
340 ALOGE("Invalid export var count!: %s", line);
360 if (strgets(line, MAXLINE, &rsInfo) == nullptr) {
363 char *c = strrchr(line, '\n');
367 void* addr = dlsym(sharedObj, line);
370 line, dlerror());
375 fieldName[i] = new char[strlen(line)+1];
376 strcpy(fieldName[i], line);
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp147 void ExitOnErrorFunc( SLresult result , int line) argument
150 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp561 AString line; local
563 line.setTo(&data[offset], offsetLF - offset - 1);
565 line.setTo(&data[offset], offsetLF - offset);
568 // ALOGI("#%s#", line.c_str());
570 if (line.empty()) {
575 if (lineNo == 0 && line == "#EXTM3U") {
582 if (line.startsWith("#EXT-X-TARGETDURATION")) {
586 err = parseMetaData(line, &mMeta, "target-duration");
587 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) {
591 err = parseMetaData(line,
724 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument
748 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument
774 FindNextUnquoted( const AString &line, char what, size_t offset) argument
794 parseStreamInf( const AString &line, sp<AMessage> *meta) const argument
904 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument
973 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument
1018 parseMedia(const AString &line) argument
1256 parseDiscontinuitySequence(const AString &line, size_t *seq) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java183 String line;
186 line = in.readLine();
187 if (line == null || line.startsWith("}")) {
190 n.rememberLine(line);
198 void rememberLine(String line) { argument
200 line = line.trim();
201 if (line.isEmpty()) return; // only whitespace; drop the line
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java256 // - add end-of-line match $
696 public void visitLineNumber(int line, Label start) { argument
H A DDependencyFinder.java574 public void visitLineNumber(int line, Label start) { argument
/frameworks/native/services/sensorservice/
H A DSensorService.cpp234 char line[128]; local
235 if (fp != NULL && fgets(line, sizeof(line), fp) != NULL) {
236 line[sizeof(line) - 1] = '\0';
238 sscanf(line, "%zu", &maxSystemSocketBufferSize);
/frameworks/rs/
H A DrsContext.h199 void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const { argument
202 watchdog.line = line;
239 uint32_t line; member in struct:android::renderscript::Context::__anon1670
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1637 private void cachePlaylistEntry(String line, String playListDirectory) { argument
1640 int entryLength = line.length();
1641 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--;
1645 if (entryLength < line.length()) line = line.substring(0, entryLength);
1649 char ch1 = line.charAt(0);
1651 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\'));
1654 line
[all...]
H A DWebVttRenderer.java152 // for politeness, finish last cue-line if it ends abruptly
323 /* we are finished with a line unless we are in the middle of a tag */
444 for (int line = 0; line < mLines.length; line++) {
445 if (!Arrays.equals(mLines[line], cue.mLines[line])) {
555 for (TextTrackCueSpan[] line: mLines) {
556 for (TextTrackCueSpan span: line) {
578 mBuffer = ""; /* mBuffer contains up to 1 incomplete line */
689 parse(String line) argument
[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
309 // Command-line option settings
318 * 1. Command-line parsing
320 * 2. Form a list of command-line specified graphic formats. If
347 // Parse command line arguments
368 testPrintE("Invalid command-line specified start "
392 // No command-line specified graphic formats
398 // Add names of command-line specified graphic formats to the
1510 ostringstream line; local
1532 ostringstream line; local
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1592 // If the icon view is being displayed, we limit the text to 1 line
1608 // If we're in fixed mode, going up in text size and currently have 1 line
1611 // will cause a line count change. If so, abort the size change and stick
1794 private float approximateLineWidth(Layout layout, int line, float textSize) { argument
1795 return layout.getLineWidth(line) * (textSize / layout.getPaint().getTextSize());

Completed in 757 milliseconds

12345