aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-1/+1
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Move settings related classes to "settings"Ken Wakasa2013-07-221-1/+2
| | | | Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
* Add methods for dynamic updating binary dictionary.Keisuke Kuroynagi2013-07-041-4/+33
| | | | | Bug: 6669677 Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
* Add jni methods for dynamically handling a dictionary.Keisuke Kuroynagi2013-06-261-1/+5
| | | | | Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
* Add a parameter isUpdatable to the constructor of BinaryDictionary.Keisuke Kuroynagi2013-06-251-4/+6
| | | | | Bug: 6669677 Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
* Allow mmapping dictionary file in writable mode in openNative.Keisuke Kuroynagi2013-06-251-2/+3
| | | | | Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+4
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Adding additional feature settings.Keisuke Kuroyanagi2013-05-281-0/+2
| | | | Change-Id: I9fec0c03b7da9ce0305b494193f4cfe3fca144f3
* Passing options to native suggestion method.Keisuke Kuroyanagi2013-05-241-5/+6
| | | | | Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-6/+7
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* [ZF2] Read settings for profanity filtering.Jean Chalard2013-04-251-3/+6
| | | | | Bug: 7226877 Change-Id: Ie0c713e1eba1529c0b288a1e5011023a79bedd6b
* [ZF1] Check profanity in Java rather than in nativeJean Chalard2013-04-251-2/+12
| | | | | Bug: 7226877 Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
* Don't kill suggestions with native score < 1Jean Chalard2013-04-221-1/+0
| | | | Change-Id: I954856b7fec0b91e19a467f2a87978d49caa639d
* Break dependencies to allow offdevice tests to buildJean Chalard2013-03-191-2/+0
| | | | Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
* Merge the dictionary pack in Latin IME.Jean Chalard2013-03-191-2/+2
| | | | | Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
* Refactor parameters by naming conventionSatoshi Kataoka2013-03-181-2/+2
| | | | Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77
* Tiny cleanupJean Chalard2013-02-221-1/+0
| | | | Change-Id: I5d7150a4abb3a498e790f41af569093217cb8b43
* Remove MAX_PROXIMITY_CHARS_SIZE_INTERNALKen Wakasa2013-01-221-2/+2
| | | | Change-Id: I18a997503de4033b5341b564145bca862a872098
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Remove MAX_WORD_LENGTH_INTERNALKen Wakasa2013-01-151-20/+15
| | | | Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
* Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS ↵Ken Wakasa2013-01-111-19/+10
| | | | | | to MAX_RESULTS Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-3/+3
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Remove unused variablesKen Wakasa2012-11-161-3/+3
| | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* Use 32-bit code points for suggestions outputKen Wakasa2012-11-011-17/+19
| | | | | | | This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
* Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-221-13/+15
|\
| * Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-13/+15
| | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-2/+1
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused ↵Ken Wakasa2012-10-091-8/+4
| | | | | | parameter. Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
* Throw illegal argument exception in BinaryDictionary::editDistanceSatoshi Kataoka2012-10-031-0/+3
| | | | | Bug: 7276803 Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-1/+1
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Fix gesture start detection algorithmTadashi G. Takaoka2012-09-211-1/+1
| | | | | Bug: 7032858 Change-Id: I9f4d939fa87fdead4c5a5921338a16cd0a59b7ac
* Check the length of the word when add to FusionDictionary.Yuichiro Hanada2012-09-101-1/+1
| | | | Change-Id: Id98d18e90a8b83b597507728b467f56888c8fd12
* Add static construct method for SparseArrayTadashi G. Takaoka2012-08-221-1/+1
| | | | Change-Id: I6da97f6ea23578318f403bb5d64c30b1663c69ee
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-1/+1
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-1/+1
| | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Make some usages of SparseArray thread-safeTadashi G. Takaoka2012-08-201-11/+16
| | | | | | This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10. Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466
* Fix a debug methodJean Chalard2012-08-171-1/+1
| | | | Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
* Step 28-A Introduce the session Id to getSuggestionSatoshi Kataoka2012-08-151-5/+34
| | | | Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
* Fix JNIsatok2012-08-111-0/+1
| | | | Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
* Use JNI Region calls also in getSuggestions()Ken Wakasa2012-08-101-10/+8
| | | | Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
* Merge "Pass the type from native code all the way to Java." into jb-mr1-devJean Chalard2012-08-101-2/+3
|\
| * Pass the type from native code all the way to Java.Jean Chalard2012-08-101-2/+3
| | | | | | | | | | Bug: 6906525 Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
* | Add arguments for dic traverse sessionSatoshi Kataoka2012-08-101-0/+1
|/ | | | Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
* Use more JNI Region callsKen Wakasa2012-08-101-11/+7
| | | | Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
* Pass traverse sessionSatoshi Kataoka2012-08-081-4/+5
| | | | Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
* Add traverse sessionSatoshi Kataoka2012-08-081-0/+3
| | | | | | Bug: 6942265 Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
* 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
* Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard2012-07-121-2/+0
| | | | | | | 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