/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 212 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 1]), firstStart in testSanitizeBetween() 257 assertEquals(mEditable.getSpanStart(moreChip), thirdStart); in testMoreChipPlainText() 287 assertEquals(view.getText().getSpanStart(moreChip), secondStart); in testTooManyRecips() 317 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 3]), firstStart); in testMoreChip() 318 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 2]), secondStart); in testMoreChip() 321 assertEquals(mEditable.getSpanStart(moreChip), thirdStart); in testMoreChip() 326 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 3]), firstStart); in testMoreChip() 328 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 2]), secondStart); in testMoreChip() 329 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 1]), thirdStart); in testMoreChip() 332 assertEquals(mEditable.getSpanStart(moreChip), -1); in testMoreChip() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 62 assertEquals(0, ssb.getSpanStart(o)); in testAppend() 67 assertEquals(4, ssb.getSpanStart(o)); in testAppend() 95 assertEquals(1, s2.getSpanStart(style[0])); in testWrapParcel() 100 assertEquals(3, s2.getSpanStart(style[0])); in testWrapParcel() 106 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel() 111 assertEquals(8, s2.getSpanStart(tf[0])); in testWrapParcel()
|
D | TextUtilsTest.java | 79 assertEquals(1, ((Spanned) TextUtils.concat(foo)).getSpanStart("foo")); in testBasic() 81 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo")); in testBasic() 82 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("bar")); in testBasic() 84 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("foo")); in testBasic() 85 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("bar")); in testBasic() 86 assertEquals(7, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("baz")); in testBasic() 160 assertEquals(start, text.getSpanStart(i)); in checkContains() 611 public int getSpanStart(Object tag) { in getSpanStart() method in TextUtilsTest.MockSpanned 692 assertEquals(1, spanned.getSpanStart(span)); in testToUpperCase() 747 assertEquals(indexMap[source.getSpanStart(span)], result.getSpanStart(span)); in testToUpperCase_SpansArePreserved()
|
D | SpannedStringNoCopyTest.java | 115 public int getSpanStart(Object tag) { in getSpanStart() method in SpannedStringNoCopyTest.CustomSpanned 116 return mText.getSpanStart(tag); in getSpanStart()
|
D | SpannableStringNoCopyTest.java | 125 public int getSpanStart(Object tag) { in getSpanStart() method in SpannableStringNoCopyTest.CustomSpannable 126 return mText.getSpanStart(tag); in getSpanStart()
|
/frameworks/base/core/java/android/text/method/ |
D | PasswordTransformationMethod.java | 155 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt() 165 if (sp.getSpanStart(visible[a].mTransformer) >= 0) { in charAt() 166 st = sp.getSpanStart(visible[a]); in charAt() 200 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars() 209 if (sp.getSpanStart(visible[i].mTransformer) >= 0) { in getChars() 210 starts[i] = sp.getSpanStart(visible[i]); in getChars()
|
D | LinkMovementMethod.java | 124 if (buffer.getSpanStart(FROM_BELOW) >= 0) { in action() 165 bestStart = buffer.getSpanStart(candidates[i]); in action() 183 int start = buffer.getSpanStart(candidates[i]); in action() 242 buffer.getSpanStart(link), in onTouchEvent()
|
D | MultiTapKeyListener.java | 105 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown() 198 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() 221 if (content.getSpanStart(this) < 0) { in onKeyDown() 276 int start = buf.getSpanStart(TextKeyListener.ACTIVE); in run()
|
D | ReplacementTransformationMethod.java | 187 public int getSpanStart(Object tag) { in getSpanStart() method in ReplacementTransformationMethod.SpannedReplacementCharSequence 188 return mSpanned.getSpanStart(tag); in getSpanStart()
|
D | QwertyKeyListener.java | 111 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown() 230 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() 329 int st = content.getSpanStart(repl[0]); in onKeyDown() 344 en = content.getSpanStart(TextKeyListener.INHIBIT_REPLACEMENT); in onKeyDown()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 78 int st = src.getSpanStart(spans[i]); in copySpansFromSpanned() 296 public int getSpanStart(Object what) { in getSpanStart() method in SpannableStringInternal 519 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || in equals() 525 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || in equals() 547 hash = hash * 31 + getSpanStart(span); in hashCode()
|
D | AlteredCharSequence.java | 72 public int getSpanStart(Object span) { in getSpanStart() method in AlteredCharSequence.AlteredSpanned 73 return mSpanned.getSpanStart(span); in getSpanStart()
|
D | Selection.java | 42 return ((Spanned) text).getSpanStart(SELECTION_START); in getSelectionStart() 53 return ((Spanned) text).getSpanStart(SELECTION_END); in getSelectionEnd() 60 return ((Spanned) text).getSpanStart(SELECTION_MEMORY); in getSelectionMemory() 174 if (text.getSpanStart(SELECTION_END) != index) { in extendSelection()
|
D | InputFilter.java | 144 public int getSpanStart(Object tag) { in getSpanStart() method in InputFilter.AllCaps.CharSequenceWrapper 145 return ((Spanned) mSource).getSpanStart(tag) - mStart; in getSpanStart()
|
D | Spanned.java | 176 public int getSpanStart(Object tag); in getSpanStart() method
|
D | SpanSet.java | 67 final int spanStart = spanned.getSpanStart(span); in init()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 165 return spannedText.getSpanStart(linkSpan); in getVirtualViewAt() 179 virtualViewIds.add(spannedText.getSpanStart(span)); in getVisibleVirtualViews() 248 spannedText.getSpanStart(span), spannedText.getSpanEnd(span)); in getTextForSpan() 262 final int spanStart = spannedText.getSpanStart(span); in getBoundsForSpan()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 306 final int start = editable.getSpanStart(spellCheckSpan); in spellCheck() 380 final int spellCheckSpanStart = editable.getSpanStart(spellCheckSpan); in onGetSuggestionsInternal() 454 if (editable.getSpanStart(span) == start in removeErrorSuggestionSpan() 544 final int spellCheckSpanStart = editable.getSpanStart(spellCheckSpan); in createMisspelledSuggestionSpan() 671 return ((Editable) mTextView.getText()).getSpanStart(mRange) < 0; in isFinished() 688 Log.d(TAG, "Remove range span." + editable.getSpanStart(editable) in removeRangeSpan() 696 final int textChangeStart = editable.getSpanStart(mRange); in parse() 731 final int spanStart = editable.getSpanStart(spellCheckSpan); in parse() 784 final int start = editable.getSpanStart(span); in removeSpansAt()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
D | SpanHelper.java | 31 final int spanStart = spannable.getSpanStart(oldSpan); in replaceSpan()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TextViewTransformState.java | 81 if (ownSpanned.getSpanStart(span) != otherSpanned.getSpanStart(otherSpan) in hasSameSpans()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/ |
D | UsageProgressBarPreferenceTest.java | 81 assertThat(summary.getSpanStart(spans[0])).isEqualTo(0); in setUsageSummary_integerNumber_findAbsoluteSizeSpan() 96 assertThat(summary.getSpanStart(spans[0])).isEqualTo(0); in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan() 111 assertThat(summary.getSpanStart(spans[0])).isEqualTo(0); in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan()
|
/frameworks/base/core/java/com/android/internal/accessibility/util/ |
D | AccessibilityUtils.java | 239 || (a.getSpanStart(thisSpan) != b.getSpanStart(otherSpan)) in parcelableSpansEquals()
|
/frameworks/base/core/java/android/text/style/ |
D | IconMarginSpan.java | 84 int st = ((Spanned) text).getSpanStart(this); in drawLeadingMargin()
|
D | DrawableMarginSpan.java | 85 int st = ((Spanned) text).getSpanStart(this); in drawLeadingMargin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AnnotationLinkSpan.java | 69 msg.getSpanStart(annotationTag), in linkify()
|