summaryrefslogtreecommitdiff
path: root/core/java/android/text/SpannableString.java
Commit message (Collapse)AuthorAgeFilesLines
* Introduce new constructor for not copying NoCopySpanSeigo Nonaka2018-03-201-3/+17
| | | | | | | | | | | | | | | | | | | To hold the original text in PrecomputedText, need to create SpannableString, but copying NoCopySpan causes some side effect. This CL introduces a way of copying SpannableString/SpannedString with all spans other than NoCopySpan. Bug: 72998298 Bug: 35638900 Test: atest CtsWidgetTestCases:EditTextTest CtsWidgetTestCases:TextViewFadingEdgeTest FrameworksCoreTests:TextViewFallbackLineSpacingTest FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest CtsTextTestCases FrameworksCoreTests:android.text CtsWidgetTestCases:TextViewPrecomputedTextTest Change-Id: I20dea2114ccaa54b16ff679c97682a5003f9a4c1
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+56
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-56/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+56