Home
last modified time | relevance | path

Searched refs:removeSpan (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java145 text.removeSpan(CAP); in resetMetaState()
146 text.removeSpan(ALT); in resetMetaState()
147 text.removeSpan(SYM); in resetMetaState()
148 text.removeSpan(SELECTING); in resetMetaState()
301 content.removeSpan(what); in adjust()
319 content.removeSpan(what); in resetLock()
355 content.removeSpan(what); in press()
374 content.removeSpan(SELECTING); in stopSelecting()
406 content.removeSpan(what); in release()
412 content.removeSpan(what); in release()
[all …]
DTextKeyListener.java168 e.removeSpan(ACTIVE); in clear()
169 e.removeSpan(CAPPED); in clear()
170 e.removeSpan(INHIBIT_REPLACEMENT); in clear()
171 e.removeSpan(LAST_TYPED); in clear()
177 e.removeSpan(repl[i]); in clear()
187 s.removeSpan(ACTIVE); in onSpanChanged()
DMultiTapKeyListener.java225 content.removeSpan(method); in onKeyDown()
240 buf.removeSpan(TextKeyListener.ACTIVE); in onSpanChanged()
253 buf.removeSpan(t); in removeTimeouts()
283 buf.removeSpan(Timeout.this); in run()
DQwertyKeyListener.java194 content.removeSpan(TextKeyListener.ACTIVE); in onKeyDown()
206 content.removeSpan(TextKeyListener.CAPPED); in onKeyDown()
271 content.removeSpan(repl[a]); in onKeyDown()
333 content.removeSpan(repl[0]); in onKeyDown()
350 content.removeSpan(TextKeyListener.INHIBIT_REPLACEMENT); in onKeyDown()
425 content.removeSpan(repl[a]); in markAsReplaced()
DPasswordTransformationMethod.java50 sp.removeSpan(vr[i]); in getTransformation()
134 sp.removeSpan(old[i]); in removeVisibleSpans()
246 mText.removeSpan(this); in run()
DTouch.java97 buffer.removeSpan(ds[i]); in onTouchEvent()
109 buffer.removeSpan(ds[i]); in onTouchEvent()
DLinkMovementMethod.java256 text.removeSpan(FROM_BELOW); in initialize()
266 text.removeSpan(FROM_BELOW); in onTakeFocus()
/frameworks/base/core/java/android/text/
DSpannable.java46 public void removeSpan(Object what); in removeSpan() method
57 default void removeSpan(Object what, int flags) { in removeSpan() method
58 removeSpan(what); in removeSpan()
DSpannableString.java63 public void removeSpan(Object what) { in removeSpan() method in SpannableString
64 super.removeSpan(what); in removeSpan()
DSelection.java122 text.removeSpan(SELECTION_MEMORY); in removeMemory()
125 text.removeSpan(watcher); in removeMemory()
143 s.removeSpan(SELECTION_MEMORY); in afterTextChanged()
144 s.removeSpan(this); in afterTextChanged()
183 text.removeSpan(SELECTION_START, Spanned.SPAN_INTERMEDIATE); in removeSelection()
184 text.removeSpan(SELECTION_END); in removeSelection()
DSpannableStringInternal.java251 /* package */ void removeSpan(Object what) { in removeSpan() method in SpannableStringInternal
252 removeSpan(what, 0 /* flags */); in removeSpan()
258 public void removeSpan(Object what, int flags) { in removeSpan() method in SpannableStringInternal
DPrecomputedText.java556 public void removeSpan(Object what) { in removeSpan() method in PrecomputedText
561 mText.removeSpan(what); in removeSpan()
DSpannableStringBuilder.java315 removeSpan(i, 0 /* flags */); in removeSpansForChange()
475 private void removeSpan(int i, int flags) { in removeSpan() method in SpannableStringBuilder
786 public void removeSpan(Object what) { in removeSpan() method in SpannableStringBuilder
787 removeSpan(what, 0 /* flags */); in removeSpan()
795 public void removeSpan(Object what, int flags) { in removeSpan() method in SpannableStringBuilder
799 removeSpan(i.intValue(), flags); in removeSpan()
/frameworks/support/core/ktx/src/main/java/androidx/core/text/
DSpannableString.kt36 inline operator fun Spannable.minusAssign(span: Any) = removeSpan(span) in toSpannable()
39 inline fun Spannable.clearSpans() = getSpans<Any>().forEach { removeSpan(it) } in toSpannable()
/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java85 spannable.removeSpan(emptySpan, Spanned.SPAN_INTERMEDIATE); in testRemoveSpanWithIntermediateFlag()
87 spannable.removeSpan(unemptySpan); in testRemoveSpanWithIntermediateFlag()
DSpannableStringNoCopyTest.java114 public void removeSpan(Object what) { in removeSpan() method in SpannableStringNoCopyTest.CustomSpannable
115 mText.removeSpan(what); in removeSpan()
/frameworks/base/core/java/android/widget/
DSpellChecker.java370 editable.removeSpan(tempSuggestionSpan); in onGetSuggestionsInternal()
390 editable.removeSpan(spellCheckSpan); in onGetSuggestions()
423 editable.removeSpan(spellCheckSpan); in onGetSentenceSuggestions()
494 editable.removeSpan(tempSuggestionSpan); in createMisspelledSuggestionSpan()
541 editable.removeSpan(mRange); in removeRangeSpan()
638 editable.removeSpan(spellCheckSpan); in parse()
749 editable.removeSpan(span); in removeSpansAt()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DSpanHelper.java33 spannable.removeSpan(oldSpan); in replaceSpan()
/frameworks/base/core/java/android/view/textservice/
DTextInfo.java79 spannableString.removeSpan(spans[i]); in TextInfo()
/frameworks/support/compat/src/main/java/androidx/core/text/
DPrecomputedTextCompat.java551 public void removeSpan(Object what) { in removeSpan() method in PrecomputedTextCompat
557 mWrapped.removeSpan(what); in removeSpan()
559 mText.removeSpan(what); in removeSpan()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DSpannableBuilder.java167 public void removeSpan(Object what) { in removeSpan() method in SpannableBuilder
178 super.removeSpan(what); in removeSpan()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java126 text.removeSpan(existingSpan); in apply()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java78 text.removeSpan(COMPOSING); in removeComposingSpans()
84 text.removeSpan(o); in removeComposingSpans()
101 text.removeSpan(o); in setComposingSpans()
/frameworks/support/compat/src/androidTest/java/androidx/core/text/
DPrecomputedTextCompatTest.java253 s.removeSpan(span); in testSpannedInterface_Spannable()
268 s.removeSpan(SPAN); in testSpannedInterface_Spannable_removeSpan_MetricsAffectingSpan()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2434 getSpannable().removeSpan(tempMore[0]); in createMoreChip()
2463 spannable.removeSpan(recipients[i]); in createMoreChip()
2488 span.removeSpan(mMoreChip); in removeMoreChip()
2540 spannable.removeSpan(currentChip); in selectChip()
2642 getSpannable().removeSpan(chip); in unselectChip()
2644 editable.removeSpan(chip); in unselectChip()
2709 spannable.removeSpan(chip); in removeChip()
2730 getSpannable().removeSpan(chip); in replaceChip()
2795 spannable.removeSpan(chip); in afterTextChanged()
2798 spannable.removeSpan(mMoreChip); in afterTextChanged()
[all …]

12