Home
last modified time | relevance | path

Searched refs:numberOfSpans (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/
DSpanSet.java34 int numberOfSpans; field in SpanSet
42 numberOfSpans = 0; in SpanSet()
58 int prevNumberOfSpans = numberOfSpans; in init()
59 numberOfSpans = 0; in init()
69 spans[numberOfSpans] = span; in init()
70 spanStarts[numberOfSpans] = spanStart; in init()
71 spanEnds[numberOfSpans] = spanEnd; in init()
72 spanFlags[numberOfSpans] = spanFlag; in init()
74 numberOfSpans++; in init()
78 if (numberOfSpans < prevNumberOfSpans) { in init()
[all …]
DTextLine.java152 hasReplacement = mReplacementSpanSpanSet.numberOfSpans > 0; in set()
892 for (int j = 0; j < mMetricAffectingSpanSpanSet.numberOfSpans; j++) { in handleRun()
919 for (int k = 0; k < mCharacterStyleSpanSet.numberOfSpans; k++) { in handleRun()
DLayout.java425 if (mLineBackgroundSpans.numberOfSpans > 0) { in drawBackground()
453 for (int j = 0; j < mLineBackgroundSpans.numberOfSpans; j++) { in drawBackground()