summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14/changes
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-09-27 14:58:37 -0700
committerGilles Debunne <debunne@google.com>2011-09-27 15:06:52 -0700
commitb062e81e3a16af43db3619d721aa522c137d1aa9 (patch)
tree5b98606ebf5d7e77706c724aa6f6ce4a604b56d2 /docs/html/sdk/api_diff/14/changes
parent4c0884853855b1abac62c22426a803df4082fafa (diff)
Too many SpellCheckSpans are created.
Removed the Runnable in SpellChecker, spell check is triggered at the end of updateSpellCheckSpans instead of when a new SpellCheckSpan is created. Cache the spans in updateSpellCheckSpans to limit the calls to getSpans. When typing, every new letter in a word will create a SpellCheckSpan (this is needed in case the user taps somewhere else on the screen) The SpellCheckSpans are pooled in SpellChecker to limit unnecessary new SpellCheckSpan creation. Minor optimization on test order in getSpans to avoid some calculation. Spell check is not started everytime the selection is changed (would be triggered when the insertion handle is moved). Explicitely do that only on tap. Change-Id: Ibacf80dd4ba098494e0b5ba0e58a362782fc8f71
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions