diff options
author | 2009-08-07 19:46:55 -0700 | |
---|---|---|
committer | 2009-08-13 18:03:41 -0700 | |
commit | 3263841911dc3dbbf4ffe26d2f046e38a1896f72 (patch) | |
tree | 3e1e4f33904ea933c48976a80ec9e0365d75a479 /src/com/android/inputmethod/latin/WordComposer.java | |
parent | f115088924ae24d78b468c52a9bb10dc3ae6aae0 (diff) | |
download | latinime-3263841911dc3dbbf4ffe26d2f046e38a1896f72.tar.gz latinime-3263841911dc3dbbf4ffe26d2f046e38a1896f72.tar.xz latinime-3263841911dc3dbbf4ffe26d2f046e38a1896f72.zip |
Some performance optimizations.
Makes the user/contacts dictionary lookup faster. This is necessary because
there's more in these dictionaries now and it's written in Java.
Fix an auto-caps issue when moving the cursor. And do it a little lazily.
Fixed a bug that was causing user dictionary words to get a much
higher weightage than the main dictionary.
Diffstat (limited to 'src/com/android/inputmethod/latin/WordComposer.java')
-rw-r--r-- | src/com/android/inputmethod/latin/WordComposer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/inputmethod/latin/WordComposer.java b/src/com/android/inputmethod/latin/WordComposer.java index 6679fca76..50725d481 100644 --- a/src/com/android/inputmethod/latin/WordComposer.java +++ b/src/com/android/inputmethod/latin/WordComposer.java @@ -26,7 +26,7 @@ public class WordComposer { /** * The list of unicode values for each keystroke (including surrounding keys) */ - private List<int[]> mCodes; + private ArrayList<int[]> mCodes; /** * The word chosen from the candidate list, until it is committed. |