aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add values for suggestion types (A120)Jean Chalard2012-07-121-0/+1
| | | | | | Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
* Pass an array to output suggestion types (A119a)Jean Chalard2012-07-121-3/+4
| | | | | | | | This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
* Increase encapsulation (A118)Jean Chalard2012-07-121-6/+6
| | | | | | | | showSuggestions is only ever called by updateSuggestionsOrPredictions. It only feels natural that, when called with a 0-sized or null suggestion list, it clears the suggestions. Change-Id: I5b52bc9151afca1bb6c6f0a7f81e3255add92177
* Readability improvement (A117)Jean Chalard2012-07-121-6/+3
| | | | Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282
* Simplification (A116)Jean Chalard2012-07-122-9/+8
| | | | Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
* Compute variables closer to where they are used (A115)Jean Chalard2012-07-121-4/+3
| | | | | | This improves locality, it's better for readability/performance Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333
* Cleanup (A114)Jean Chalard2012-07-121-3/+4
| | | | Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14
* Cleanup (A113)Jean Chalard2012-07-121-1/+1
| | | | | | | | | | | | | If not composing a word, then consideredWord is always the empty string. Hence, it's never whitelisted, but it's also always "NotAWord", so isWhitelistedOrNotAWord returns always true, so allowsToBeAutoCorrected is always true. Which means that isPrediction implies allowsToBeAutoCorrected == true. Thus, !isPrediction && !allowsToBeAutoCorrected is strictly equivalent to !allowsToBeAutocorrected. Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115
* Simplification (A112)Jean Chalard2012-07-121-3/+2
| | | | | | | If we are not composing a word, that isFirstCharCapitalized and isAllUpperCase are guaranteed to return false. Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757
* Remove the ultimate code duplication (A111)Jean Chalard2012-07-121-14/+5
| | | | Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977
* Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard2012-07-122-8/+4
| | | | | | | The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
* Remove an unused method (A109)Jean Chalard2012-07-121-2/+0
| | | | Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
* Stop using a redundant method (A108)Jean Chalard2012-07-121-14/+9
| | | | Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c
* Remove a useless parameter (A106)Jean Chalard2012-07-121-3/+2
| | | | Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
* Make a constant really constant (A104)Jean Chalard2012-07-121-7/+8
| | | | Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
* Cleanup (A103)Jean Chalard2012-07-111-11/+6
| | | | Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a
* Revert "Workaround to avoid a bug in the batch input bigram dictionary lookup"Tadashi Takaoka2012-07-111-8/+4
| | | This reverts commit 1250cdeab2da2c7f7d9c732a816dbc36e49fd61a
* Workaround to avoid a bug in the batch input bigram dictionary lookupTadashi G. Takaoka2012-07-111-4/+8
| | | | Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5
* Inline a method to be able to factorize code (A102)Jean Chalard2012-07-111-20/+14
| | | | Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8
* Inline a wrapper method (A101)Jean Chalard2012-07-111-14/+4
| | | | Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758
* Support batch inputTadashi G. Takaoka2012-07-111-1/+1
| | | | Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
* Merge "Small readability improvement (A100)"Jean Chalard2012-07-101-2/+2
|\
| * Small readability improvement (A100)Jean Chalard2012-07-111-2/+2
| | | | | | | | Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c
* | Merge "Pull up some common code again (A99)"Jean Chalard2012-07-101-8/+9
|\|
| * Pull up some common code again (A99)Jean Chalard2012-07-111-8/+9
| | | | | | | | Change-Id: I9e9f5664bb12bb25d74c8a076a6ee1024c708145
* | Merge "Pull up some identical code (A98)"Jean Chalard2012-07-101-39/+23
|\|
| * Pull up some identical code (A98)Jean Chalard2012-07-111-39/+23
| | | | | | | | Change-Id: I6c265956394cf49e74b0256dfa5af06fe6b30467
* | Merge "Inline a method to avoid confusion (A97)"Jean Chalard2012-07-101-25/+18
|\|
| * Inline a method to avoid confusion (A97)Jean Chalard2012-07-111-25/+18
| | | | | | | | Change-Id: I3c3ffcd3d40493f4bfa0f6596f923b3430e605aa
* | Merge "Remove parameters for easier inlining (A96)"Jean Chalard2012-07-101-5/+3
|\|
| * Remove parameters for easier inlining (A96)Jean Chalard2012-07-111-5/+3
| | | | | | | | Change-Id: Ied2e291393609300173681e26e82b7dd36b41bd0
* | Merge "Pull up some more common code (A95)"Jean Chalard2012-07-101-15/+13
|\|
| * Pull up some more common code (A95)Jean Chalard2012-07-111-15/+13
| | | | | | | | Change-Id: I3ac7ee823471a6d1da8031e064bce38b0e5a8f5c
* | Merge "Pull up common code in the caller (A94)"Jean Chalard2012-07-101-14/+8
|\|
| * Pull up common code in the caller (A94)Jean Chalard2012-07-111-14/+8
| | | | | | | | Change-Id: I84b97886280eca75d5f2b7546f20f8b1bced55bc
* | Merge "intentional logging"Kurt Partridge2012-07-103-286/+527
|\ \ | |/ |/|
| * intentional loggingKurt Partridge2012-07-103-286/+527
| | | | | | | | | | | | | | | | | | | | | | | | | | - separate ResearchLog from ResearchLogger - fix abort menu to explicitly indicate re-enabling of logging - auto flush entries every 5s - conform to new suggestedWords class multi-project change with I9fe1f8fe59d5891daa4ca84af157f36fb1bb17dc Bug: 6188932 Change-Id: I7e99390f934481c6ed9cea2b259944583edda5bb
* | Merge "Remove useless member variables (A93)"Jean Chalard2012-07-101-14/+13
|\ \
| * | Remove useless member variables (A93)Jean Chalard2012-07-101-14/+13
| | | | | | | | | | | | Change-Id: Iff0a0e8835f4d630b51a15c0d91881437094e785
* | | Merge "Register the key when the finger slides off it in multitouch"Tadashi G. Takaoka2012-07-102-0/+24
|\ \ \ | |/ / |/| |
| * | Register the key when the finger slides off it in multitouchTadashi G. Takaoka2012-07-102-0/+24
| | | | | | | | | | | | | | | | | | | | | Moved from jb-dev branch (I807fd6f4). Bug: 6722867 Change-Id: I9764ac72f726396caaac819675d440372c882981
* | | Start converging two identical methods (A92)Jean Chalard2012-07-101-4/+4
|/ / | | | | | | Change-Id: I3c85a80610fde664a328f5606d0724f00d445ebe
* | Add batch input dictionary lookupTadashi G. Takaoka2012-07-103-18/+73
| | | | | | | | Change-Id: I4da3c976838e8eb56c9ec80aafaaf54d759b7981
* | Remove a useless parameter (A91A)Jean Chalard2012-07-102-5/+3
| | | | | | | | Change-Id: I1d1758048649ef337875a5141d825569af7ad38c
* | Cleanup old methods (A90)Jean Chalard2012-07-109-151/+16
| | | | | | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* | Implement the common Dictionary interface (A89)Jean Chalard2012-07-105-8/+78
| | | | | | | | | | | | This will de-duplicate a lot of existing code. Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
* | Reduce method visibility (A88)Jean Chalard2012-07-109-14/+14
| | | | | | | | Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
* | Factorize code (A87)Jean Chalard2012-07-101-13/+7
| | | | | | | | | | | | Why was this copy-pasted :( Change-Id: I6a537c56425ad039d7301a5fe1e0485784f07914
* | Move stuff around for readability (A86)Jean Chalard2012-07-101-21/+21
| | | | | | | | Change-Id: I5f4a18e43f3012acf96978d625325bf7c69c9c80
* | Add a consolidated method to the Dictionary interface (A85)Jean Chalard2012-07-103-5/+27
| | | | | | | | Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf