a70d4a90a029910f788c3e7f8715cf3b842b1e2b |
|
03-Jun-2015 |
Alan Viverette <alanv@google.com> |
Prevent poorly-extended ParcelableSpans from writing to parcels If a developer extends an existing ParcelableSpan and overwrites writeToParcel, TextUtils will crash when attempting to unparcel since the span type ID is not accurate. This CL makes a separate framework-private method for writeToParcel to ensure that even if a developer extends a ParcelableSpan class, they won't modify the parceling or unparceling code that's tied to the span type ID. Bug: 21274544 Change-Id: If4c3506a55999df7a3b6d87cb8d550235d7a02c6
/frameworks/base/core/java/android/text/style/SuggestionRangeSpan.java
|
fa4e2d994bb398b89d08304bb233671ef1a5d5f8 |
|
09-Sep-2011 |
Gilles Debunne <debunne@google.com> |
Bug 5278456: text highlight color depends on the type of suggestion spans. Change-Id: I76ac02b7688a297c0e83d593f446a4cf2ee36015
/frameworks/base/core/java/android/text/style/SuggestionRangeSpan.java
|
0eea6681519277310e1733d791bfc0342b8e5cea |
|
29-Aug-2011 |
Gilles Debunne <debunne@google.com> |
Using ListView for Suggestion popup window New background assets from Bug 5204807. New text selection color and associated handles, bug 5217848. Change-Id: I4eaea6be732843d8ff344400d029b4a1b80b084f
/frameworks/base/core/java/android/text/style/SuggestionRangeSpan.java
|
28294cc74491885c7fe4442353026f01f5b773e8 |
|
24-Aug-2011 |
Gilles Debunne <debunne@google.com> |
Suggestions popup window is dismissed on tap outside. But now the tap is not handled at all, as it was before. To do this, the popup window is now focusable. As a result, the TextView's window loses focus. We hide the cursor to prevent a non-blinking visible cursor. We should also fake the state of the parent TextView to keep it visually focussed. SuggestionRangeSpan and SpellCheckSpan had to made Parcelable since they are recreatedi when the TextView is re-created when the popup is dismissed. Change-Id: Ic99b2c4f02c282394f214938dd19168547af4886
/frameworks/base/core/java/android/text/style/SuggestionRangeSpan.java
|