aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SynchronouslyLoadedUserBinaryDictionary.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-09Offer to add any OOV typed word to the dictionary.•••That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1 Jean Chalard3-8/+14
2013-04-08Update comments•••Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71 Ken Wakasa2-4/+4
2013-04-08Tiny clean up in Makefile•••Change-Id: Iff6f363894f01a4c30c795fe88892c2bb8e0a856 Ken Wakasa1-5/+2
2013-04-08Cleanup the include paths•••Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347 Ken Wakasa20-61/+69
2013-04-08Suppress bigram native log•••Change-Id: I0b3900e0a205b6925ab9a2be55d375f6b14c803c Satoshi Kataoka1-3/+3
2013-04-08Cleanup suggest interface•••Change-Id: Ibe334a1d3ab3af69acfa64412c80f0ea24cd2c46 Satoshi Kataoka9-162/+71
2013-04-08Clean up a few option strings under the Advanced settings•••Change-Id: If41ac016128fce401dedcab0fa7d6c23edaca158 Ken Wakasa1-6/+6
2013-04-05Fix bugs and add tests•••Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e Jean Chalard2-9/+66
2013-04-05Move a generic string utility to StringUtils•••Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09 Jean Chalard3-36/+36
2013-04-04Add DigraphUtils class•••Add a new DigraphUtils class to manage digraph handling for both gesture and typing input. Bug: 8493920 Change-Id: I3a509e1311b9039653f9f488d3c28bb54205f416 Tom Ouyang5-29/+153
2013-04-04Force inlining Correction::isSingleQuote•••Also, only apply -Winline with GCC 4.6. There are some copy constructors that GCC 4.7/4.8 fail to inline. Change-Id: I97906045224e89377e8ea6add07a79fa088648af Ben Cheng2-2/+2
2013-04-04Add flag to turn on new suggest implementation for typing•••Bug: 8277656 Change-Id: I974f560050cc5339d110b97620df1c5b496977fe Tom Ouyang4-14/+42
2013-04-03Import translations. DO NOT MERGE•••Change-Id: I66b30c5f9673fc4ed3b96753cfec023e7d498dec Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Icf73894934ceedf45d493c67cdc4018ebcb3f7a1 Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Icc098a0e892cee76ccef2492d32798d38a621dfb Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Ic405d085ced9e64efd9b7da38097734c71808fbc Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Move suggest logic to AOSP•••Bug: 8197301 Change-Id: I2d0ffbbc9d4d57ebfc2fe43e6cb75e8b44dae466 Satoshi Kataoka6-3/+727
2013-04-02Change which backdoor the tests goes through•••Yes that's even harder to understand. The old technique doesn't work any more, so I have to drill a new hole in this class. Bug: 8303100 Change-Id: I70a41b5094dab2bb56a17eaf55b2a2df853e4bb6 Jean Chalard1-8/+12
2013-04-02Fix a test.•••The test was not passing the correct input type when it was creating the text view, resulting in mismatched types seen from TextView and LatinIME with some bad results. The test would even go as far as restoring it after it's been fixed by TextView. Additionally, since we want to enter litteral carriage returns, the input type should be MULTI_LINE. If not, TextView does not allow carriage returns. Bug: 8302690 Change-Id: I1c20bcf6ca554ad981048ec181e19c649f6c742e Jean Chalard1-3/+3
2013-04-02Move typing policy to AOSP•••Bug: 8197301 Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab Satoshi Kataoka10-1/+704
2013-04-02Revert "[DO NOT MERGE] Activate hardware keyboard handling"•••This reverts commit c741f1f83b98293bf0040b6b81e95b75ecf3f6bc DO NOT MERGE is ignored and this is merged anyway :( Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf Jean Chalard1-1/+1
2013-04-02[DO NOT MERGE] Activate hardware keyboard handling•••Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27 Jean Chalard1-1/+1
2013-04-01Allow logging while replaying•••Previously logging was disabled during replay. This makes it impossible to use logged data as a regression test, since the new log was unavailable. This change corrects this problem. Change-Id: I19dc31def2f2f87fd219dc561c739d18e4ab9c9c Kurt Partridge1-2/+1
2013-04-01Do not record log split time when handling separator•••Previously handleSeparator() caused the ResearchLogger to mark the time at which a LogUnit should be broken. However, this causes the motion data associated with a separator to be associated with the LogUnit of the previous word. This change corrects this bug. Change-Id: I8b4d4fa6de2a013de9e2a28bb668c446a07f1957 Kurt Partridge1-1/+0
2013-04-01Deactivate hardware keyboard handling.•••Bug: 8000119 Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d Jean Chalard1-1/+1
2013-04-01Interpolate gesture preview trails•••There is the boolean flag to kill interpolation. Bug: 7167303 Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7 Tadashi G. Takaoka4-16/+507
2013-04-01Move policy and session to AOSP•••Bug: 8197301 Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177 Satoshi Kataoka10-1/+1032
2013-04-01Ask the client to make itself known when it's not•••Upon invoking the settings of the dictionary pack with an unknown client, we now launch an intent to ask the client to make itself known. This change also includes the code that receives this intent and acts upon it. Bug: 8492879 Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc Jean Chalard8-10/+134
2013-04-01Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard3-27/+141
2013-04-01Move dicnode to AOSP•••Bug: 8187060 Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e Satoshi Kataoka15-1/+2308
2013-03-29Import translations. DO NOT MERGE•••Change-Id: I8752437b40f9f8bcb7b8920bc1dc4342e51b3621 Auto-generated-cl: translation import Baligh Uddin40-320/+160
2013-03-29Import translations. DO NOT MERGE•••Change-Id: I4c79f5d3019934dba5a606e7a57ecaf2059daa3f Auto-generated-cl: translation import Baligh Uddin40-320/+160
2013-03-29Import translations. DO NOT MERGE•••Change-Id: Ib805aeefe668e6c2d79d64dad8c14cbd7d633f46 Auto-generated-cl: translation import Baligh Uddin40-320/+160
2013-03-29Import translations. DO NOT MERGE•••Change-Id: I19c04b125fc3d2a6dd7b0a32ee90f098d931f83b Auto-generated-cl: translation import Baligh Uddin40-320/+160
2013-03-29Refactor•••Change-Id: Ie50fdd1081d306e520300245498a605e79e03818 Satoshi Kataoka4-19/+21
2013-03-29Fix an NPE•••Also remove an unused method and make 2 private variables final. Bug: 8461093 Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf Jean Chalard1-18/+10
2013-03-28Fix potential NPE in MainKeyboardView.KeyTimerHandler•••Bug: 8469652 Change-Id: Ib7a548e6a24d2e02de85ab444c0ec99d8f6b82c3 Tadashi G. Takaoka1-0/+3
2013-03-28Fix an NPE•••The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502 Jean Chalard1-2/+1
2013-03-28Cleanup•••Seems there was an unclosed cursor :o Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116 Jean Chalard1-0/+5
2013-03-28Increase string limits•••These have been requested by the translators. For some reason the limits were shorter than the actual source strings. Both these messages are meant to be displayed alone on the screen, and 50 chars should fit comfortably. Bug: 8442366 Bug: 8442144 Change-Id: I7062e533e5d4521d2866a6c5f947c8f25b790675 Jean Chalard1-2/+2
2013-03-28[DO NOT MERGE] Increase string limits•••These have been requested by the translators. For some reason the limits were shorter than the actual source strings. Both these messages are meant to be displayed alone on the screen, and 50 chars should fit comfortably. Bug: 8442366 Bug: 8442144 Change-Id: I7845f85ddee992313f658e0268d090eae73778b3 Jean Chalard1-2/+2
2013-03-27Import translations. DO NOT MERGE•••Change-Id: Ic1a341b949098fc55c0e5f46c976547ba02f8eca Auto-generated-cl: translation import Baligh Uddin4-16/+12
2013-03-27Import translations. DO NOT MERGE•••Change-Id: If21c77c39e8945f39c3ecb5186b80fd8229a7659 Auto-generated-cl: translation import Baligh Uddin4-16/+12
2013-03-27Import translations. DO NOT MERGE•••Change-Id: I6ee76d24c96c4b27eec8a23afa175a1673aa17f9 Auto-generated-cl: translation import Baligh Uddin4-16/+12
2013-03-27Import translations. DO NOT MERGE•••Change-Id: I7ddec7dead61077b9972ca3a661571c096650bec Auto-generated-cl: translation import Baligh Uddin3-8/+8
2013-03-27Fix possible SIOOBE•••Bug: 8461021 Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984 Satoshi Kataoka1-2/+9
2013-03-26Split LogUnits differently.•••Previously an autocorrection caused a new LogUnit to be started, splitting off the previous LogUnit right at the autocorrection method time. This change causes the split to happen before the MotionEvents that led to the autocorrection being called. Change-Id: I2504df8eb47ee77e5f46bac34a8450636c03fd9f Kurt Partridge1-2/+1
2013-03-26Reorder ResearchLogger call•••Previously, ResearchLogger#onWordFinished() was called with an outdated parameter value for isBatchMode, causing it to report false even for gestures. This changes fixes this problem. Change-Id: Ifcabee236ba5fe20376ad882155d3f3142cd7613 Kurt Partridge1-2/+2
2013-03-26Add const_cast to live with host's jni.h•••Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862 Tadashi G. Takaoka3-22/+36
2013-03-26Fix Possible NPE•••Bug: 8448448 Change-Id: Ibe89c9abd24c4debb33a69c372eadf2afb09ea1c Satoshi Kataoka1-1/+6