Home
last modified time | relevance | path

Searched refs:SPAN_EXCLUSIVE_EXCLUSIVE (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java58 ss.setSpan(o, 0, ss.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testAppend()
77 s.setSpan(mark, 1, 2, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testWrapParcel()
79 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testWrapParcel()
81 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testWrapParcel()
83 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testWrapParcel()
116 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
118 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
120 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
122 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
124 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
[all …]
DSpannedStringNoCopyTest.java40 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl()
54 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl()
72 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl()
86 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl()
DSpannableStringNoCopyTest.java40 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl()
54 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl()
72 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl()
86 first.setSpan(new NoCopySpan.Concrete(), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl()
DTextLineTest.java315 text.setSpan(span, 9, 12, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testHandleRun_ellipsizedReplacementSpan_isSkipped()
332 text.setSpan(span, 1, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testHandleRun_notEllipsizedReplacementSpan_isNotSkipped()
349 text.setSpan(span, 7, 11, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testHandleRun_halfEllipsizedReplacementSpan_isNotSkipped()
380 text.setSpan(new AbsoluteSizeSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_LTR_StyledText()
413 text.setSpan(new AbsoluteSizeSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_RTL_StyledText()
478 text.setSpan(new AbsoluteSizeSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_styled_BiDi()
564 text.setSpan(new TestReplacementSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_replacement_LTR()
582 text.setSpan(new TestReplacementSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_replacement_RTL()
600 text.setSpan(new TestReplacementSpan(5), 1, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testMeasureAllBounds_replacement_BiDi()
DSpannableStringBuilderTest.java52 builder.setSpan(first, 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse()
53 builder.setSpan(second, 1, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse()
DDynamicLayoutTest.java83 builder.setSpan(new MockReplacementSpan(), 0, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan()
87 builder.setSpan(new MockReplacementSpan(), 9, 13, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan()
199 spannable.setSpan(new MockReplacementSpan(), 4, 6, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testReflow_afterSpannableEdit()
200 spannable.setSpan(new MockReplacementSpan(), 10, length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testReflow_afterSpannableEdit()
DTextUtilsTest.java177 template.setSpan("before", 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testTemplateSpan()
178 template.setSpan("during", 1, 3, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testTemplateSpan()
179 template.setSpan("after", 3, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testTemplateSpan()
180 template.setSpan("during+after", 1, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testTemplateSpan()
294 s3.setSpan(new StyleSpan(0), 5, 10, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testEllipsize()
/frameworks/base/core/java/android/content/res/
DStringBlock.java248 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
252 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
256 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
260 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
264 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
268 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
272 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
276 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
280 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
309 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/method/
DInsertModeTransformationMethodTest.java209 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans()
210 text.setSpan(span2, 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans()
211 text.setSpan(span3, 4, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans()
267 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_singleLine()
268 text.setSpan(span2, 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_singleLine()
269 text.setSpan(span3, 4, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_singleLine()
339 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_collapsedRange()
340 text.setSpan(span2, 3, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_collapsedRange()
341 text.setSpan(span3, 3, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_collapsedRange()
399 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_collapsedRange_singleLine()
[all …]
DEditorState.java170 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in setByString()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewPropertyAlphaActivity.java83 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
85 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
87 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
89 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
91 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java87 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in useSpans()
93 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in useSpans()
99 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in useSpans()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java97 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
106 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
131 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
144 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
153 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
155 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DTextAppearanceInfoTest.java99 mSpannableText.setSpan(sizeSpan, 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_withSpan1()
102 mSpannableText.setSpan(colorSpan, 1, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_withSpan1()
105 mSpannableText.setSpan(typefaceSpan, 2, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_withSpan1()
154 spannableText.setSpan(colorSpan, 0, 2, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_withSpan2()
185 mSpannableText.setSpan(sizeSpan1, 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_contradictorySpans()
186 mSpannableText.setSpan(colorSpan1, 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_contradictorySpans()
187 mSpannableText.setSpan(sizeSpan2, 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_contradictorySpans()
188 mSpannableText.setSpan(colorSpan2, 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCreateFromTextView_contradictorySpans()
DBaseInputConnectionTest.java583 text.setSpan(suggestionSpanA, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetText_withStyle()
584 text.setSpan(suggestionSpanB, 3, 6, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetText_withStyle()
585 text.setSpan(suggestionSpanC, 6, 9, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testGetText_withStyle()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java615 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
619 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
623 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
627 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
631 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
635 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
639 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
643 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
647 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
668 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyles()
[all …]
/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java222 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in onKeyDown()
241 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onKeyDown()
246 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onKeyDown()
282 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onKeyDown()
353 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onKeyDown()
447 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in markAsReplaced()
DMultiTapKeyListener.java206 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onKeyDown()
210 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in onKeyDown()
/frameworks/base/core/java/android/text/
DSpanned.java109 public static final int SPAN_EXCLUSIVE_EXCLUSIVE = SPAN_POINT_MARK; field
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerUtils.java110 gmtStart, gmtEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in buildGmtDisplayName()
114 symbolStart, symbolEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in buildGmtDisplayName()
DTimeZoneInfo.java177 gmtStart, gmtEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in getGmtDisplayName()
181 symbolStart, symbolEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in getGmtDisplayName()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java135 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in apply()
140 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in apply()
/frameworks/base/core/java/com/google/android/util/
DSmileyParser.java76 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in getSpannableString()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java134 != (Spanned.SPAN_COMPOSING | Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)) { in setComposingSpans()
141 | Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setComposingSpans()
147 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING); in setComposingSpans()
775 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING); in setComposingRegion()
780 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING); in setComposingRegion()
982 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING); in replaceTextInternal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java643 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setMenuItemAsDisabledByAdmin()
645 sb.append(" ", image, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setMenuItemAsDisabledByAdmin()
694 sb.append(" ", image, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setTextViewPadlock()
712 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setTextViewAsDisabledByAdmin()

123