aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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
2013-03-29Import translations. DO NOT MERGEBaligh Uddin40-320/+160
Change-Id: I4c79f5d3019934dba5a606e7a57ecaf2059daa3f Auto-generated-cl: translation import
2013-03-29Import translations. DO NOT MERGEBaligh Uddin40-320/+160
Change-Id: Ib805aeefe668e6c2d79d64dad8c14cbd7d633f46 Auto-generated-cl: translation import
2013-03-29Import translations. DO NOT MERGEBaligh Uddin40-320/+160
Change-Id: I19c04b125fc3d2a6dd7b0a32ee90f098d931f83b Auto-generated-cl: translation import
2013-03-29RefactorSatoshi Kataoka4-19/+21
Change-Id: Ie50fdd1081d306e520300245498a605e79e03818
2013-03-29Fix an NPEJean Chalard1-18/+10
Also remove an unused method and make 2 private variables final. Bug: 8461093 Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf
2013-03-28Fix potential NPE in MainKeyboardView.KeyTimerHandlerTadashi G. Takaoka1-0/+3
Bug: 8469652 Change-Id: Ib7a548e6a24d2e02de85ab444c0ec99d8f6b82c3
2013-03-28Fix an NPEJean Chalard1-2/+1
The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
2013-03-28CleanupJean Chalard1-0/+5
Seems there was an unclosed cursor :o Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116
2013-03-28Increase string limitsJean Chalard1-2/+2
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
2013-03-28[DO NOT MERGE] Increase string limitsJean Chalard1-2/+2
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
2013-03-27Import translations. DO NOT MERGEBaligh Uddin4-16/+12
Change-Id: Ic1a341b949098fc55c0e5f46c976547ba02f8eca Auto-generated-cl: translation import
2013-03-27Import translations. DO NOT MERGEBaligh Uddin4-16/+12
Change-Id: If21c77c39e8945f39c3ecb5186b80fd8229a7659 Auto-generated-cl: translation import
2013-03-27Import translations. DO NOT MERGEBaligh Uddin4-16/+12
Change-Id: I6ee76d24c96c4b27eec8a23afa175a1673aa17f9 Auto-generated-cl: translation import
2013-03-27Import translations. DO NOT MERGEBaligh Uddin3-8/+8
Change-Id: I7ddec7dead61077b9972ca3a661571c096650bec Auto-generated-cl: translation import
2013-03-27Fix possible SIOOBESatoshi Kataoka1-2/+9
Bug: 8461021 Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984
2013-03-26Split LogUnits differently.Kurt Partridge1-2/+1
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
2013-03-26Reorder ResearchLogger callKurt Partridge1-2/+2
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
2013-03-26Add const_cast to live with host's jni.hTadashi G. Takaoka3-22/+36
Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862
2013-03-26Fix Possible NPESatoshi Kataoka1-1/+6
Bug: 8448448 Change-Id: Ibe89c9abd24c4debb33a69c372eadf2afb09ea1c