/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
LocaleSpanCompatUtils.java | 115 final int spanEnd = spannable.getSpanEnd(existingLocaleSpan); 116 if (spanEnd < spanStart) { 117 Log.e(TAG, "Invalid span: spanStart=" + spanStart + " spanEnd=" + spanEnd); 120 if (spanEnd < start || end < spanStart) { 133 if (newEnd < spanEnd) { 134 newEnd = spanEnd; 166 final int spanEnd = spannable.getSpanEnd(localeSpan); 167 if (spanStart > spanEnd) { 168 Log.e(TAG, "Invalid span: spanStart=" + spanStart + " spanEnd=" + spanEnd) [all...] |
/frameworks/base/core/java/android/text/ |
SpanSet.java | 62 final int spanEnd = spanned.getSpanEnd(span); 63 if (spanStart == spanEnd) continue; 69 spanEnds[numberOfSpans] = spanEnd; 95 final int spanEnd = spanEnds[i]; 97 if (spanEnd > start && spanEnd < limit) limit = spanEnd;
|
SpannableStringBuilder.java | 291 int spanEnd = mSpanEnds[i]; 292 if (spanEnd > mGapStart) 293 spanEnd -= mGapLength; 297 int oen = spanEnd; 306 if (spanEnd > start && spanEnd <= end) { 307 for (spanEnd = end; spanEnd < clen; spanEnd++) 308 if (spanEnd > end && charAt(spanEnd - 1) == '\n' [all...] |
StaticLayout.java | 272 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { 275 spanEnd = paraEnd; 276 int spanLen = spanEnd - spanStart; 279 spanEnd = spanned.nextSpanTransition(spanStart, paraEnd, 281 int spanLen = spanEnd - spanStart; 283 spanned.getSpans(spanStart, spanEnd, MetricAffectingSpan.class); 293 for (int j = spanStart; j < spanEnd; j++) { 317 && j + 1 < spanEnd) { 409 while (endPos < spanEnd && widths[endPos - paraStart] == 0) [all...] |
SpannableStringInternal.java | 222 int spanEnd = data[i * COLUMNS + END]; 227 if (spanEnd < queryStart) { 231 if (spanStart != spanEnd && queryStart != queryEnd) { 235 if (spanEnd == queryStart) {
|
Layout.java | 216 int spanEnd = 0; 252 // spanEnd so that we can check less frequently. Since 255 // If spanEnd is before the end of the paragraph, that's not 257 if (start >= spanEnd && (i == firstLine || isFirstParaLine)) { 258 spanEnd = sp.nextSpanTransition(start, textLength, 260 spans = getParagraphSpans(sp, start, spanEnd, ParagraphStyle.class); 386 int spanEnd = 0; 398 if (start >= spanEnd) { 401 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength); 498 int spanEnd = spanned.nextSpanTransition(start, spanned.length() [all...] |
TextUtils.java | [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorLEDController.java | 99 int spanEnd = spanStart + 1; 100 ssb.setSpan(new SubscriptSpan(), spanStart, spanEnd, 0); 101 ssb.setSpan(new RelativeSizeSpan(0.7f), spanStart, spanEnd, 0);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TextRange.java | 87 int spanEnd = text.getSpanEnd(span); 93 spanEnd = Math.max(spanEnd, text.getSpanEnd(spans[i])); 98 if (spanStart == mWordAtCursorStartIndex && spanEnd == mWordAtCursorEndIndex) {
|
/frameworks/base/core/java/android/widget/ |
SpellChecker.java | 622 final int spanEnd = editable.getSpanEnd(spellCheckSpan); 623 if (spanEnd < spellCheckStart || spellCheckEnd < spanStart) { 627 if (spanStart <= spellCheckStart && spellCheckEnd <= spanEnd) { 639 spellCheckEnd = Math.max(spanEnd, spellCheckEnd); 687 final int spanEnd = editable.getSpanEnd(spellCheckSpans[i]); 688 if (spanEnd == start) { 758 final int end, final int spanStart, final int spanEnd) { 760 if (spanEnd != start && spanStart != end) { [all...] |
Editor.java | [all...] |
TextView.java | [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 349 for (int spanEnd = spanStart; spanEnd < text.length(); spanEnd++) { 351 ssb.setSpan(metricAffectingSpan, spanStart, spanEnd,
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
spannable_test.unitjs | 94 TEST_F('CvoxSpannableUnitTest', 'SpanEnd', function() { 314 var assertSpanExcluded = function(initial, spanStart, spanEnd, 318 spannable.setSpan(annotation, spanStart, spanEnd);
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | 1333 int spanend = txt.getSpanEnd(span); local 1355 int spanend = txt.getSpanEnd(span); local 1385 int spanend = txt.getSpanEnd(span); local [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
StaggeredGridLayoutManager.java | [all...] |
/external/chromium_org/third_party/polymer/components-chromium/core-component-page/ |
core-component-page-extracted.js | [all...] |