diff options
| author | sallyyuen <sallyyuen@google.com> | 2021-12-06 10:02:27 -0800 |
|---|---|---|
| committer | sallyyuen <sallyyuen@google.com> | 2021-12-06 15:46:27 -0800 |
| commit | 0a674a8a4433aa1fcaca5bcaec53e4f8004e8a6a (patch) | |
| tree | 205575da1723ba6a402e33a955f6f1897eb3deba /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | a9b80a68f31549bfe6eef8e180e016b07bd0e8c9 (diff) | |
Bold StyleSpan further for auto-bold
StyleSpan with Typeface.BOLD will only bold if the text doesn't already
have a BOLD style. But auto-bolded text needs to be further bolded.
If the Typeface style is BOLD, bold more for auto-bold.
(The fake bold works for Typefaces with weight < 700)
Test: manual - settings page, example StyleSpans,
atest StyleSpanTest TextViewTests
Bug: 175177807
Change-Id: Iec7db7eadd18ed6a2efc6ee39b49c1d6cb15d870
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
