aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-04-10Preserve a class for testingKurt Partridge1-0/+3
Addresses b/8583091 Change-Id: I89605223784312d9572dfc7c8aaa7e5eba44c4f6
2013-04-10Add ability to handle digraphs in gesture and tap typingTom Ouyang2-4/+25
Example: Gesture the German word "ueber" and the system will now replace the transliteration "ue" with the correct u-umlaut. Bug: 8493920 Change-Id: I03e1d6311b4187b6c7f802d8fef43a50eee12721
2013-04-10Add mechanism to handle digraphs in DicNodeTom Ouyang4-21/+114
This is needed to support for German umlaut handling for both gesture and typing input. Bug: 8493920 Change-Id: I292e2a4911c54aa5566c38411016a220bb35a1f4
2013-04-10Import translations. DO NOT MERGEBaligh Uddin4-32/+16
Change-Id: Icb4c4f32b1549f3d98b99a48b7c2f1b0de1b5a04 Auto-generated-cl: translation import
2013-04-10Better release build reportingKurt Partridge1-4/+21
The ResearchLogger reports whether a build is a release build or not to avoid polluting data with IME debugging work by developers. Previously this was done by checking a constant flag, which was also serving the dual purpose of masking out debug code in release builds. This change introduces a heuristic to determine whether a build was created by a developer (using the package versionName), and annotating the data sent to the server appropriately. Change-Id: Icbad17c66b703cabf6d23d05e2c7c41bcceaae45
2013-04-10Fix a bug where a space would not be inserted before a gestureJean Chalard1-1/+2
Bug: 8583675 Change-Id: I14924fef5663f48481994c02c56be45f9f85be65
2013-04-10Use private object as a lock instead of synchronized methodTadashi G. Takaoka1-123/+145
Change-Id: I0b9a935d8c97ddfb18ab7950a9d6bf542863072a
2013-04-10Use private lock object instead of synchronized methodTadashi G. Takaoka1-22/+31
Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47
2013-04-10Protect simultaneously modifying gesture preview dataTadashi G. Takaoka1-1/+15
Bug: 8556775 Change-Id: I83272e3adbfc0c9cc14f9e8b479e926aabf4fa2a
2013-04-10Fix a faulty testJean Chalard1-1/+1
Change-Id: I5c03cea41e9b6e936e8f93b7d756f0fc9520002d
2013-04-10Fix a bug where autocorrection status would be wrong.Jean Chalard9-20/+41
Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
2013-04-10Don't override EXTRA_SHOW_FRAGMENT if existsTadashi G. Takaoka1-1/+4
Bug: 8541190 Change-Id: I37d3de12558efd55f157389d2e0b51fc83dc5da1
2013-04-10Separate StringUtils.capitalizeFirstCharacterTadashi G. Takaoka5-9/+16
Bug: 8582061 Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363
2013-04-10Typing double letters via a 'circle' on the key.Keisuke Kuroynagi4-22/+33
Bug: 8550980 Change-Id: I5e432dea0e025ccea196f80e90a6bf945488e130
2013-04-10Hide Setup Wizard icon for stock keyboardTadashi G. Takaoka3-1/+34
Bug: 8581647 Change-Id: Id530f1a33a5c919f4a732ec0d545dfbe76e56316
2013-04-09Fix touch coordinate calibrationSatoshi Kataoka10-32/+51
TRT: I3b5f3ed07eabc59306a17 Bug: 8505668 Change-Id: I574d25a4e9886c521f013f9a8ffc09cc145fc0fc
2013-04-09Offer to add any OOV typed word to the dictionary.Jean Chalard3-8/+14
That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1
2013-04-08Add method to get dictionary flags from DicTraverseSessionTom Ouyang6-6/+17
This is needed for the traversal algorithm to know which digraphs (if any) are associated with the current dictionary. Bug: 8493920 Change-Id: I6ae088b55e50c0c2c7066d045b304c5068e23390
2013-04-08Import translations. DO NOT MERGEBaligh Uddin49-196/+389
Change-Id: I3605a7fd941d9ebe76460d114f384b1e233b3440 Auto-generated-cl: translation import
2013-04-08Update commentsKen Wakasa2-4/+4
Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71
2013-04-08Tiny clean up in MakefileKen Wakasa1-5/+2
Change-Id: Iff6f363894f01a4c30c795fe88892c2bb8e0a856
2013-04-08Cleanup the include pathsKen Wakasa20-61/+69
Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347
2013-04-08Suppress bigram native logSatoshi Kataoka1-3/+3
Change-Id: I0b3900e0a205b6925ab9a2be55d375f6b14c803c
2013-04-08Cleanup suggest interfaceSatoshi Kataoka9-162/+71
Change-Id: Ibe334a1d3ab3af69acfa64412c80f0ea24cd2c46
2013-04-08Clean up a few option strings under the Advanced settingsKen Wakasa1-6/+6
Change-Id: If41ac016128fce401dedcab0fa7d6c23edaca158
2013-04-05Fix bugs and add testsJean Chalard2-9/+66
Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e
2013-04-05Move a generic string utility to StringUtilsJean Chalard3-36/+36
Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09
2013-04-04Add DigraphUtils classTom Ouyang5-29/+153
Add a new DigraphUtils class to manage digraph handling for both gesture and typing input. Bug: 8493920 Change-Id: I3a509e1311b9039653f9f488d3c28bb54205f416
2013-04-04Force inlining Correction::isSingleQuoteBen Cheng2-2/+2
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
2013-04-04Add flag to turn on new suggest implementation for typingTom Ouyang4-14/+42
Bug: 8277656 Change-Id: I974f560050cc5339d110b97620df1c5b496977fe
2013-04-03Import translations. DO NOT MERGEBaligh Uddin8-57/+29
Change-Id: I66b30c5f9673fc4ed3b96753cfec023e7d498dec Auto-generated-cl: translation import
2013-04-03Import translations. DO NOT MERGEBaligh Uddin8-57/+29
Change-Id: Icf73894934ceedf45d493c67cdc4018ebcb3f7a1 Auto-generated-cl: translation import
2013-04-03Import translations. DO NOT MERGEBaligh Uddin8-57/+29
Change-Id: Icc098a0e892cee76ccef2492d32798d38a621dfb Auto-generated-cl: translation import
2013-04-03Import translations. DO NOT MERGEBaligh Uddin8-57/+29
Change-Id: Ic405d085ced9e64efd9b7da38097734c71808fbc Auto-generated-cl: translation import
2013-04-03Move suggest logic to AOSPSatoshi Kataoka6-3/+727
Bug: 8197301 Change-Id: I2d0ffbbc9d4d57ebfc2fe43e6cb75e8b44dae466
2013-04-02Refactor SpellCheckerProximityInfo as extending ProximityInfoTadashi G. Takaoka3-56/+59
Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
2013-04-02Change which backdoor the tests goes throughJean Chalard1-8/+12
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
2013-04-02Fix a test.Jean Chalard1-3/+3
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
2013-04-02Move typing policy to AOSPSatoshi Kataoka10-1/+704
Bug: 8197301 Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab
2013-04-02Revert "[DO NOT MERGE] Activate hardware keyboard handling"Jean Chalard1-1/+1
This reverts commit c741f1f83b98293bf0040b6b81e95b75ecf3f6bc DO NOT MERGE is ignored and this is merged anyway :( Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf
2013-04-02[DO NOT MERGE] Activate hardware keyboard handlingJean Chalard1-1/+1
Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27
2013-04-01Allow logging while replayingKurt Partridge1-2/+1
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
2013-04-01Do not record log split time when handling separatorKurt Partridge1-1/+0
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
2013-04-01Deactivate hardware keyboard handling.Jean Chalard1-1/+1
Bug: 8000119 Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d
2013-04-01Interpolate gesture preview trailsTadashi G. Takaoka4-16/+507
There is the boolean flag to kill interpolation. Bug: 7167303 Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7
2013-04-01Move policy and session to AOSPSatoshi Kataoka10-1/+1032
Bug: 8197301 Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177
2013-04-01Ask the client to make itself known when it's notJean Chalard8-10/+134
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
2013-04-01Fix two nasty bugs with surrogate pairs.Jean Chalard3-27/+141
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
2013-04-01Move dicnode to AOSPSatoshi Kataoka15-1/+2308
Bug: 8187060 Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e
2013-03-29Import translations. DO NOT MERGEBaligh Uddin40-320/+160
Change-Id: I8752437b40f9f8bcb7b8920bc1dc4342e51b3621 Auto-generated-cl: translation import