aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/FeedbackLog.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-05-16 18:39:40 -0700
committerKurt Partridge <kep@google.com>2013-05-17 09:47:40 -0700
commit500dea6ad45d82d745902103067885f58b42fddf (patch)
tree0275f0fb4a55afce2f03843de445ff45d9643721 /java/src/com/android/inputmethod/research/FeedbackLog.java
parent17b63ba588598d0bd6f643d3a8cb385c75d2c163 (diff)
downloadlatinime-500dea6ad45d82d745902103067885f58b42fddf.tar.gz
latinime-500dea6ad45d82d745902103067885f58b42fddf.tar.xz
latinime-500dea6ad45d82d745902103067885f58b42fddf.zip
Fix punctuation logging
Punctuation is currently put into the same LogUnit as the following word. This is counter-intuitive and makes post-processing more complicated. This change causes punctuation to be put into its own LogUnit. A tricky case is the phantom space. A phantom space is inserted right before other text, whose MotionEvents have already been collected and inserted into mCurrentLogBuffer. Phantom spaces are handled by creating their own LogUnit and inserting it into the LogBuffer right before mCurrentLogBuffer is shifted in. Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d
Diffstat (limited to 'java/src/com/android/inputmethod/research/FeedbackLog.java')
0 files changed, 0 insertions, 0 deletions