diff options
| author | 2022-12-05 15:56:01 +0800 | |
|---|---|---|
| committer | 2022-12-18 15:58:43 +0800 | |
| commit | 222e682161d1366611664c7becdb830ca59abbfe (patch) | |
| tree | 33388ee095919ee0bc0c7ff30e00b99d66eeba2b /libs/androidfw/ConfigDescription.cpp | |
| parent | 329f5f38580e38ea4b4d8c212c3a375349851cc2 (diff) | |
Make TextAppearanceInfo support spannable text
Extract the text appearance from the character before cursor when its TextPaint is overided by CharaterStyle spans. Also move the assignment code from Editor to TextAppearanceInfo#createFromTextView for easier testing.
Bug: 261378534
Test: atest android.view.inputmethod.TextAppearanceInfoTest
Change-Id: I9365767762bce5137f454260e342e833d3f35e55
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions