commit | b35ab7b72967adcfd01cec483a705dafe8b951d1 | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Mon Dec 05 15:54:00 2011 -0800 |
committer | Gilles Debunne <debunne@google.com> | Thu Jan 12 15:56:37 2012 -0800 |
tree | 3c82a2653c3a9854ddcb92f4528ddb8e464f54e6 | |
parent | cf5cecd854376b1a08b3f28a34e7555b44c594f3 [diff] |
Sub display list in TextView TextView uses a sub-display list to 'cache' the rendering of its text. This saves time when drawing an editable text, where the blinking cursor forces a re-draw twice per second, which creates pauses during scrolling. Added a sub-display list invalidation when an appearance span is modified/added/removed. Also added an invalidation of the display list when selection range is changed. Change-Id: I41e8068a12902b8a745c5bb77de8c77def76a270