Home
last modified time | relevance | path

Searched refs:BackgroundColorSpan (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/text/style/
DBackgroundColorSpan.java37 public class BackgroundColorSpan extends CharacterStyle class
49 public BackgroundColorSpan(@ColorInt int color) { in BackgroundColorSpan() method in BackgroundColorSpan
56 public BackgroundColorSpan(@NonNull Parcel src) { in BackgroundColorSpan() method in BackgroundColorSpan
/frameworks/support/compat/src/androidTest/java/androidx/core/text/
DPrecomputedTextCompatTest.java38 import android.text.style.BackgroundColorSpan;
237 final BackgroundColorSpan span = new BackgroundColorSpan(Color.RED); in testSpannedInterface_Spannable()
240 assertEquals(0, s.getSpans(0, s.length(), BackgroundColorSpan.class).length); in testSpannedInterface_Spannable()
244 final BackgroundColorSpan[] spans = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testSpannedInterface_Spannable()
249 assertEquals(SPAN_START, s.nextSpanTransition(0, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
251 s.nextSpanTransition(SPAN_START, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
254 assertEquals(0, s.getSpans(0, s.length(), BackgroundColorSpan.class).length); in testSpannedInterface_Spannable()
/frameworks/support/core/ktx/src/main/java/androidx/core/text/
DSpannableStringBuilder.kt24 import android.text.style.BackgroundColorSpan
120 ) = inSpans(BackgroundColorSpan(color), builderAction = builderAction)
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewPropertyAlphaActivity.java29 import android.text.style.BackgroundColorSpan;
82 text.setSpan(new BackgroundColorSpan(Color.RED), 0, 3, in onCreate()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
DSpannableStringBuilderTest.kt24 import android.text.style.BackgroundColorSpan
148 val color = spans.filterIsInstance<BackgroundColorSpan>().single() in builderBackgroundColor()
267 val backgroundColor = spans.filterIsInstance<BackgroundColorSpan>().single() in nested()
/frameworks/base/core/java/android/text/
DHtml.java27 import android.text.style.BackgroundColorSpan;
573 if (style[j] instanceof BackgroundColorSpan) { in withinParagraph()
574 int color = ((BackgroundColorSpan) style[j]).getBackgroundColor(); in withinParagraph()
583 if (style[j] instanceof BackgroundColorSpan) { in withinParagraph()
1108 setSpanFromMark(text, b, new BackgroundColorSpan(b.mBackgroundColor)); in endCssStyle()
DTextUtils.java38 import android.text.style.BackgroundColorSpan;
804 readSpan(p, sp, new BackgroundColorSpan(p));
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTwoWayBindingAdapterTest.java25 import android.text.style.BackgroundColorSpan;
621 BackgroundColorSpan highlight = new BackgroundColorSpan(0xFFFFFF80); in testNoEditableLoop()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java36 import android.text.style.BackgroundColorSpan;
270 || (resultSpan instanceof BackgroundColorSpan)) { in clearColorSpans()
/frameworks/base/core/java/android/content/res/
DStringBlock.java350 return new BackgroundColorSpan(c); in getColor()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java64 import android.text.style.BackgroundColorSpan;
957 private BackgroundColorSpan mComposingTextMask;
1237 mComposingTextMask = new BackgroundColorSpan(maskColor); in setTextComposingMask()
/frameworks/base/config/
Dpreloaded-classes3031 android.text.style.BackgroundColorSpan
Dhiddenapi-public-dex.txt45729 Landroid/text/style/BackgroundColorSpan;
45730 Landroid/text/style/BackgroundColorSpan;-><init>(I)V
45731 Landroid/text/style/BackgroundColorSpan;-><init>(Landroid/os/Parcel;)V
45732 Landroid/text/style/BackgroundColorSpan;->describeContents()I
45733 Landroid/text/style/BackgroundColorSpan;->getBackgroundColor()I
45734 Landroid/text/style/BackgroundColorSpan;->getSpanTypeId()I
45735 Landroid/text/style/BackgroundColorSpan;->updateDrawState(Landroid/text/TextPaint;)V
45736 Landroid/text/style/BackgroundColorSpan;->writeToParcel(Landroid/os/Parcel;I)V
Dboot-image-profile.txt6078 HPLandroid/text/style/BackgroundColorSpan;->updateDrawState(Landroid/text/TextPaint;)V
31639 HSPLandroid/text/style/BackgroundColorSpan;-><init>(I)V
58359 Landroid/text/style/BackgroundColorSpan;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30447 …public class BackgroundColorSpan extends android.text.style.CharacterStyle implements android.text…
30448 ctor public BackgroundColorSpan(int);
30449 ctor public BackgroundColorSpan(android.os.Parcel);
/frameworks/base/api/
Dcurrent.txt44120 …public class BackgroundColorSpan extends android.text.style.CharacterStyle implements android.text…
44121 ctor public BackgroundColorSpan(int);
44122 ctor public BackgroundColorSpan(android.os.Parcel);