android: account for handle repositioning, limit update to 50ms
Text handles are usually shown under the current selection or cursor position. Previously this was done in InvalidationHandler, now the TextSelectionHandle takes this into account just before drawing. The reason is that the repositioning needs to be taken into account when the handle moves to reposition the coordinates back to original position. In addition to that, the number of times the move handle update event is send is now limited to 50ms to reduce stress for the device (less in queue, less messages via LOKit). This also makes the handle more fluid and jump around less. Change-Id: Idc401375c82b3eeac66328d98c80bf3cb7b675ea
Showing
Please
register
or
sign in
to comment