aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add BinaryDictionary.getBigramProbabilityNative()."Keisuke Kuroyanagi2013-09-181-5/+17
|\
| * Add BinaryDictionary.getBigramProbabilityNative().Keisuke Kuroyanagi2013-09-181-5/+17
| | | | | | | | | | Bug: 10197478 Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
* | [AC9] Resize an arrayJean Chalard2013-09-171-1/+1
|/ | | | | | | | It's not easy for native code to only output the first result, so let's supply enough room for it to output all. Bug: 9059617 Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
* Prepare dictionary saving in native code.Keisuke Kuroyanagi2013-09-171-0/+24
| | | | | | Bug: 6669677 Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
* [AC7] Actually auto-commit.Keisuke Kuroyanagi2013-09-171-1/+1
| | | | | Bug: 9059617 Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
* Merge "[AC4] Add native methods necessary for auto-commit"Jean Chalard2013-09-131-3/+25
|\
| * [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-3/+25
| | | | | | | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* | Change cache capacity depending on the dictionary size.Keisuke Kuroyanagi2013-09-121-1/+3
|/ | | | | | Bug: 10699291 Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-6/+5
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-1/+1
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* [AC1] Add a memory of where to cut the first word.Jean Chalard2013-08-201-1/+2
| | | | | Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
* 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