/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 | 272 int spanEnd = mSpanEnds[i]; 273 if (spanEnd > mGapStart) 274 spanEnd -= mGapLength; 278 int oen = spanEnd; 287 if (spanEnd > start && spanEnd <= end) { 288 for (spanEnd = end; spanEnd < clen; spanEnd++) 289 if (spanEnd > end && charAt(spanEnd - 1) == '\n' [all...] |
StaticLayout.java | 268 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { 271 spanEnd = paraEnd; 272 int spanLen = spanEnd - spanStart; 275 spanEnd = spanned.nextSpanTransition(spanStart, paraEnd, 277 int spanLen = spanEnd - spanStart; 279 spanned.getSpans(spanStart, spanEnd, MetricAffectingSpan.class); 289 for (int j = spanStart; j < spanEnd; j++) { 313 && j + 1 < spanEnd) { 362 (j + 1 >= spanEnd || !Character.isDigit(chs[j + 1 - paraStart]))) | [all...] |
SpannableStringInternal.java | 220 int spanEnd = data[i * COLUMNS + END]; 225 if (spanEnd < queryStart) { 229 if (spanStart != spanEnd && queryStart != queryEnd) { 233 if (spanEnd == queryStart) {
|
Layout.java | 215 int spanEnd = 0; 251 // spanEnd so that we can check less frequently. Since 254 // If spanEnd is before the end of the paragraph, that's not 256 if (start >= spanEnd && (i == firstLine || isFirstParaLine)) { 257 spanEnd = sp.nextSpanTransition(start, textLength, 259 spans = getParagraphSpans(sp, start, spanEnd, ParagraphStyle.class); 379 int spanEnd = 0; 391 if (start >= spanEnd) { 394 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength); 496 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 | 86 int spanEnd = text.getSpanEnd(span); 92 spanEnd = Math.max(spanEnd, text.getSpanEnd(spans[i])); 97 if (spanStart == mWordAtCursorStartIndex && spanEnd == mWordAtCursorEndIndex) {
|
/frameworks/base/core/java/android/widget/ |
SpellChecker.java | 626 final int spanEnd = editable.getSpanEnd(spellCheckSpan); 627 if (spanEnd < spellCheckStart || spellCheckEnd < spanStart) { 631 if (spanStart <= spellCheckStart && spellCheckEnd <= spanEnd) { 643 spellCheckEnd = Math.max(spanEnd, spellCheckEnd); 691 final int spanEnd = editable.getSpanEnd(spellCheckSpans[i]); 692 if (spanEnd == start) { 762 final int end, final int spanStart, final int spanEnd) { 764 if (spanEnd != start && spanStart != end) [all...] |
Editor.java | [all...] |
TextView.java | [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 353 for (int spanEnd = spanStart; spanEnd < text.length(); spanEnd++) { 355 ssb.setSpan(metricAffectingSpan, spanStart, spanEnd,
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpAngle.cpp | 425 const SkOpSpan& spanEnd = fSegment->span(fEnd); 426 const SkOpSpan& spanMin = fStart < fEnd ? spanStart : spanEnd; 429 fStart, spanStart.fT, fEnd, spanEnd.fT);
|
/external/skia/src/pathops/ |
SkOpAngle.cpp | 425 const SkOpSpan& spanEnd = fSegment->span(fEnd); 426 const SkOpSpan& spanMin = fStart < fEnd ? spanStart : spanEnd; 429 fStart, spanStart.fT, fEnd, spanEnd.fT);
|
/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/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | [all...] |