aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a consolidated method to the Dictionary interface (A85)Jean Chalard2012-07-101-2/+3
| | | | Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf
* Separate ICS-dependent code from the spell checker serviceSatoshi Kataoka2012-07-102-285/+319
| | | | | Bug: 6789576 Change-Id: Ia768258f6fa121c7a7757093eb8a20e665580865
* Create AndroidSpellCheckerSessionFactorySatoshi Kataoka2012-07-103-2/+28
| | | | | Bug: 6789576 Change-Id: I6de1e1aa64cf14f38ecb250579418bc518f0d838
* Separate SpellCheckerSession from SpellCheckerServiceSatoshi Kataoka2012-07-102-393/+436
| | | | | Bug: 6789576 Change-Id: I7c55d36afad7ef6046353b3c9e849a54a6dc83ae
* Remove WordComposer.add(int, int, int, KeyDetector) methodTadashi G. Takaoka2012-07-041-2/+2
| | | | Change-Id: Ie6af46acba18a2d1cf3ddd1578d60ded4c90f89a
* Remove a meaningless separation (A18)Jean Chalard2012-06-261-5/+4
| | | | Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f
* Remove the Callback interface for simpler code. (A17)Jean Chalard2012-06-261-10/+2
| | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-261-1/+1
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Do away with Utils#addAllSuggestions (A14)Jean Chalard2012-06-261-1/+1
| | | | | | It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
* Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)Jean Chalard2012-06-261-2/+16
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
* Change JNI for GestureSatoshi Kataoka2012-06-251-2/+2
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Remove deprecated classes.Jean Chalard2012-06-081-33/+19
| | | | | | | Should we maybe rename back *BinaryDict* to *Dict* in another change for simplicity? Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b
* am eead5492: am 769cecf7: Close spell-checking dictionaries in a background ↵Jean Chalard2012-06-061-20/+25
|\ | | | | | | | | | | | | thread * commit 'eead5492615f0b05ef85ca1f88d3a41ce3f8d496': Close spell-checking dictionaries in a background thread
| * Close spell-checking dictionaries in a background threadJean Chalard2012-06-071-20/+25
| | | | | | | | | | Bug: 6584677 Change-Id: Ifd9b0f995f4e0cf4d35a7ecde767826ab976f0b8
* | Cache bigram results in Android SpellCheckerSatoshi Kataoka2012-06-061-8/+24
|/ | | | | Bug: 6610579 Change-Id: I255c068f64f99ee80abda49153ed8ea009ca8ad3
* Fix a bug where Latin IME crashes on spell checker requestJean Chalard2012-06-051-2/+8
| | | | | Bug: 6611183 Change-Id: I8a879feb598e1ac55d73f9cb27e54aa533d3a010
* Merge "Fix a bug where the spellcheck is using the old non-binary contacts ↵Tom Ouyang2012-06-041-1/+5
|\ | | | | | | dictionary" into jb-dev
| * Fix a bug where the spellcheck is using the old non-binary contacts dictionaryTom Ouyang2012-06-041-1/+5
| | | | | | | | | | Bug: 6607023 Change-Id: I6dc120dea23052a0841e281c20706bfb21fd9876
* | Read the script correctlyJean Chalard2012-06-041-4/+6
|/ | | | | | | | | The script of a language presumably does not depend on the country variant. This was how it was made but it was later forgotten and the full locale was registered. Bug: 6542210 Change-Id: Iebc90c546f9c8caf89f8aa6c6a7c4733e5bcba48
* Clean up some compiler warningsTadashi G. Takaoka2012-05-251-4/+0
| | | | Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
* Add new locales for the spell checker.Jean Chalard2012-05-241-0/+6
| | | | | Bug: 6533167 Change-Id: I1581e8446b1af5dc3679e01be16d4fc34af725cc
* Support bigram suggestions in Android spell checkersatok2012-05-241-1/+28
| | | | | Bug: 6136291 Change-Id: Ic278153f95b23e9aa180d1d6b5960785766d96e5
* Change to a binary version of the expandable user dictionary.Tom Ouyang2012-05-171-1/+6
| | | | | Bug: 6435677 Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
* Use "float" instead of "double"satok2012-05-161-11/+11
| | | | Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
* Don't auto-correct when there is no main dictionary.Jean Chalard2012-05-161-1/+1
| | | | | Bug: 6502485 Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
* Remove unexpectedly split words with single quotessatok2012-05-111-0/+95
| | | | | Bug: 6451163 Change-Id: I4c5595f727934f2b401e9bb11a6ba613668f4a42
* Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.Ken Wakasa2012-05-111-1/+4
| | | | | | In conjunction with I596b2deb Change-Id: I42f059158ae78e1c1c807ed4d3688edbcf18c006
* Treat apostrophe as single quote in spell checkersatok2012-05-071-6/+9
| | | | | Bug: 6435348 Change-Id: Iaaac9042e7e6cb21a3f2243bc6e8e055cc24f74d
* Cache results of the spell checkersatok2012-04-171-2/+42
| | | | Change-Id: Ie11cd1b07e069474b140fbaae65fca703adc056f
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-1/+1
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Add a new binary contacts dictionary based on ExpandableBinaryDictionary and ↵Tom Ouyang2012-04-131-6/+17
| | | | | | | use locale for bigrams. Bug: 6188977 Change-Id: I753422eed1effaeb5fd01124cf1ddd1e31ee9d60
* Read the dictionary resource in a more sensical place.Jean Chalard2012-04-111-4/+1
| | | | | | | We don't need to pass this down all the way from LatinIME any more. It fetched be done exactly where it needs to be. Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988
* Add language suffix to main dictionaryTadashi G. Takaoka2012-04-111-1/+2
| | | | | Bug: 6319377 Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
* Remove the now useless Flag class.Jean Chalard2012-04-061-1/+0
| | | | Change-Id: Ibe45189b73e2606cf77e30da166dd0d45ae47c5c
* Change the flags to a boolean in constructors.Jean Chalard2012-04-061-12/+1
| | | | Change-Id: I9939204f3b16346aaebd4d726315ba9c4faf910a
* Use keyboardSet extra value of subtype to specify layout typeTadashi G. Takaoka2012-04-051-2/+1
| | | | Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
* Use "No language (QWERTY)" for language agnostic QWERTY keyboard nameTadashi G. Takaoka2012-04-041-2/+3
| | | | | Bug: 6010147 Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18
* Remove ArraysCompatUtilsKen Wakasa2012-03-301-2/+1
| | | | | bug: 6129704 Change-Id: I0f1a0dee744e6dcdea7ae8606119b4af22b86663
* Split a method for reuseJean Chalard2012-03-261-1/+5
| | | | Change-Id: I9a82e538903f05bedad51bc195866abbd9daf957
* Fix a native crashJean Chalard2012-03-232-2/+12
| | | | | | -1 & 0xFFFF is 65536 :p Change-Id: I8ecb882b6d6c5bcc91b52e23eb9cc02b04fcdd34
* Small optimizationJean Chalard2012-03-231-4/+3
| | | | Change-Id: I5dd7c848f2aaec20325e7ee85f27e282e1ba7a85
* Send correct coordinates for the spell checkerJean Chalard2012-03-232-5/+25
| | | | | | | | This results in the computation being done in native code and the correct proximity being used. Bug: 6181080 Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d
* Make some constants more explicit.Jean Chalard2012-03-221-2/+17
| | | | | | | | This wasn't very obvious, but the actual values are critical, so make it more readable Bug: 6181080 Change-Id: I07461d2df4c796dad0cb6f5283e41a28036d023c
* Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-081-5/+5
| | | | Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
* Integrate the logic to calculate the proximitiessatok2012-03-061-17/+1
| | | | | | Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
* Fix string iterations in a couple places.Jean Chalard2012-02-031-6/+5
| | | | | | | | Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
* Convert an internal enum into an int of same underlying value.Jean Chalard2012-01-261-2/+1
| | | | | | | Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
* Add a test for auto-correction.Jean Chalard2012-01-251-1/+2
| | | | | | | | | Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257
* Move auto correction thresthold to the native codesatok2012-01-121-4/+5
| | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* Change visibility to avoid synthetic accessor methodTadashi G. Takaoka2011-12-151-6/+6
| | | | Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1