diff options
| author | Raph Levien <raph@google.com> | 2015-02-12 16:16:49 -0800 | 
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2015-02-12 16:29:25 -0800 | 
| commit | bb2397c523dc3e1e54fcd2ebf7ae20907e3f37ad (patch) | |
| tree | 6e66d3acd9da06f7327548dc9846613b6906b815 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | d7c020e9e525f1db44da1d0428d87a53babb3927 (diff) | |
Fix EditText RenderNode invalidation bugs
EditText uses a TextDisplayList data structure to hold RenderNode
objects for optimized incremental drawing. This data structure uses an
isDirty flag to indicate when it has been invalidated and needs to be
re-rendered. This flag was not being computed correctly, leading to
excessive re-rendering.
This patch clears isDirty after rendering text into the RenderNode, so
that it can be reused until it is invalidated, and also explicitly sets
it when it is recycled.
Bug: 19371378
Change-Id: I70239cc30e43bb8631dfffc2ea2705e8d4c452f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
