HomeSort by relevance Sort by last modified time
    Searched defs:textLength (Results 1 - 25 of 219) sorted by null

1 2 3 4 5 6 7 8 9

  /frameworks/base/libs/hwui/tests/common/scenes/
GlyphStressAnimation.cpp 47 ssize_t textLength = 26 * 2;
59 canvas->drawText(text.get(), 0, textLength, textLength,
  /frameworks/minikin/tests/util/
UnicodeUtils.cpp 105 const int32_t textLength = static_cast<int32_t>(text.size());
107 while (i < textLength) {
108 U8_NEXT(text.c_str(), i, textLength, c);
  /external/icu/icu4c/source/common/unicode/
chariter.h 667 int32_t textLength;
720 return textLength;
unistr.h     [all...]
  /packages/apps/Contacts/src/com/android/contacts/format/
FormatUtils.java 146 int textLength = text.length();
149 if (prefixLength == 0 || textLength < prefixLength) {
154 while (i < textLength) {
156 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) {
160 if (i + prefixLength > textLength) {
176 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) {
  /packages/apps/Dialer/java/com/android/contacts/common/format/
TextHighlighter.java 105 int textLength = text.length();
108 if (prefixLength == 0 || textLength < prefixLength) {
113 while (i < textLength) {
115 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) {
119 if (i + prefixLength > textLength) {
135 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) {
  /external/icu/icu4c/source/common/
simpleformatter.cpp 77 int32_t textLength = 0;
99 if (textLength > 0) {
100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1,
101 (UChar)(ARG_NUM_LIMIT + textLength));
102 textLength = 0;
136 if (textLength == 0) {
141 if (++textLength == MAX_SEGMENT_LENGTH) {
142 textLength = 0;
145 if (textLength > 0) {
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1
    [all...]
usc_impl.c 43 int32_t textLength;
252 scriptRun->textLength = length;
263 if (scriptRun == NULL || scriptRun->scriptLimit >= scriptRun->textLength) {
270 for (scriptRun->scriptStart = scriptRun->scriptLimit; scriptRun->scriptLimit < scriptRun->textLength; scriptRun->scriptLimit += 1) {
280 if (high >= 0xD800 && high <= 0xDBFF && scriptRun->scriptLimit < scriptRun->textLength - 1) {
  /frameworks/base/core/java/android/view/
AccessibilityIterators.java 261 final int textLength = mText.length();
262 if (textLength <= 0) {
265 if (offset >= textLength) {
272 while (start < textLength && mText.charAt(start) == '\n'
276 if (start >= textLength) {
280 while (end < textLength && !isEndBoundary(end)) {
288 final int textLength = mText.length();
289 if (textLength <= 0) {
296 if (end > textLength) {
297 end = textLength;
    [all...]
  /frameworks/base/core/java/android/widget/
AccessibilityIterators.java 137 final int textLength = mText.length();
138 if (textLength <= 0) {
166 final int textLength = mText.length();
167 if (textLength <= 0) {
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleFormatterImpl.java 91 int textLength = 0;
113 if (textLength > 0) {
114 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength));
115 textLength = 0;
151 if (textLength == 0) {
156 if (++textLength == MAX_SEGMENT_LENGTH) {
157 textLength = 0;
160 if (textLength > 0) {
161 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength))
    [all...]
  /external/icu/icu4c/source/i18n/
choicfmt.cpp 313 int32_t textLength = text.length();
315 for (int32_t j = 0; j < textLength; ++j) {
usrchimp.h 135 int32_t textLength; // exact length
153 int32_t textLength; // exact length
  /external/icu/icu4c/source/io/
ustdio.c 133 int32_t textLength;
187 textLength = f->fTranslit->length;
189 pos.contextLimit = textLength;
191 pos.limit = textLength;
195 &textLength,
210 textLength = f->fTranslit->length;
215 &textLength,
  /external/icu/icu4c/source/test/letest/
gendata.cpp 45 le_int32 textLength;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimpleFormatterImpl.java 89 int textLength = 0;
111 if (textLength > 0) {
112 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength));
113 textLength = 0;
149 if (textLength == 0) {
154 if (++textLength == MAX_SEGMENT_LENGTH) {
155 textLength = 0;
158 if (textLength > 0) {
159 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength))
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ValueParser.java 231 int textLength = rawValue[valueIndex + 1] & 0xff;
252 TextAttribute attr = new TextAttribute(start, textLength,
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessage.java 108 int textLength = textBytes.length;
110 byte[] payload = new byte[1 + langLength + textLength];
114 System.arraycopy(textBytes, 0, payload, 1 + langLength, textLength);
126 int textLength = textBytes.length;
128 byte[] payload = new byte[1 + langLength + textLength];
132 System.arraycopy(textBytes, 0, payload, 1 + langLength, textLength);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderDisplayer.java 209 final int textLength = (int) paint.measureText(name);
216 * textLength - the length of the folder's full name (can be longer than *
226 * |<-------------------------textLength------------------>| | *
236 * | |<-------------------------textLength-------------------->| *
245 textX = width - res.folderHorizontalPadding - textLength;
254 if (textLength > width - 2 * res.folderHorizontalPadding) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
KeyCodeDescriptionMapper.java 352 final int textLength = outputText.length();
353 for (int index = 0; index < textLength; index = outputText.offsetByCodePoints(index, 1)) {
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextTraversalTest.java     [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 390 int textLength = getAssociatedTextLength();
391 if (textLength < ((1 << 16) - (1 << 8)))
393 cMac.update((byte)(textLength >> 8));
394 cMac.update((byte)textLength);
402 cMac.update((byte)(textLength >> 24));
403 cMac.update((byte)(textLength >> 16));
404 cMac.update((byte)(textLength >> 8));
405 cMac.update((byte)textLength);
419 extra = (extra + textLength) % 16;
  /external/replicaisland/src/com/replica/replicaisland/
ConversationDialogActivity.java 98 int textLength = text.length();
107 int fittingChars = paint.breakText(text, currentOffset, textLength, true, maxWidth, null);
109 if (currentOffset + fittingChars < textLength) {
122 currentOffset = textLength;
125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) {
141 } while (currentOffset < textLength);
  /frameworks/base/core/java/android/text/
BoringLayout.java 236 private static boolean hasAnyInterestingChars(CharSequence text, int textLength) {
240 for (int start = 0; start < textLength; start += MAX_BUF_LEN) {
241 final int end = Math.min(start + MAX_BUF_LEN, textLength);
269 final int textLength = text.length();
270 if (hasAnyInterestingChars(text, textLength)) {
273 if (textDir != null && textDir.isRtl(text, 0, textLength)) {
278 Object[] styles = sp.getSpans(0, textLength, ParagraphStyle.class);
292 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT,
  /external/harfbuzz_ng/src/
hb-directwrite.cc 309 uint32_t textLength,
313 , mTextLength(textLength)
355 OUT uint32_t* textLength)
360 *textLength = 0;
364 *textLength = mTextLength - textPosition;
371 OUT uint32_t* textLength)
377 *textLength = 0;
381 *textLength = textPosition;
390 uint32_t* textLength,
398 OUT uint32_t* textLength,
    [all...]

Completed in 669 milliseconds

1 2 3 4 5 6 7 8 9