summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove SuggestionsGatherer.Keisuke Kuroyanagi2014-07-101-89/+4
| | | | | | Bug: 13689011 Bug: 13630847 Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5
* Quit sorting suggestions in AndroidSpellCheckerService.Keisuke Kuroyanagi2014-07-101-37/+14
| | | | | | | | Suggestions have been sorted in SuggestionResults. Bug: 13689011 Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef
* Make spell checker use dictionary facilitator.Keisuke Kuroyanagi2014-07-101-153/+185
| | | | | Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
* Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
* [SD9] Add armenian and georgian scriptsJean Chalard2014-07-011-2/+1
| | | | | Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
* [SD1] Move script-related methods to a new utils class.Jean Chalard2014-06-261-45/+5
| | | | | Bug: 15840116 Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-6/+4
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Move dicts for spellchecker to under spellcheck.Keisuke Kuroyanagi2014-04-281-2/+0
| | | | | | Bug: 13630847 Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd
* Fix: spell checker wrongly sorts suggestions.Keisuke Kuroyanagi2014-03-281-7/+4
| | | Change-Id: I729e1cd5e5e333038b9d9e6197cf50b574990d76
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-2/+3
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* Remove useless method call for spell checker.Keisuke Kuroyanagi2013-12-261-0/+2
| | | | | Bug: 8187060 Change-Id: I2f91da12ba2a9e7ce28abd06f314e0e6125d08dc
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-1/+1
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Remove suggestions when string contains a periodJean Chalard2013-10-071-2/+12
| | | | | | | | | This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
* Move createKeyboardSetForSpellChecker to AndroidSpellCheckServiceTadashi G. Takaoka2013-08-071-3/+22
| | | | Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-3/+3
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka2013-05-081-4/+21
| | | | | | Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
* Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1Ken Wakasa2013-05-011-5/+0
| | | | Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
* Fix Google spell checker testsSatoshi Kataoka2013-05-011-14/+3
| | | | | | Bug: 8613307 Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
* Fix a bug where autocorrection status would be wrong.Jean Chalard2013-04-101-1/+1
| | | | Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
* Merge "Refactor SpellCheckerProximityInfo as extending ProximityInfo"Tadashi G. Takaoka2013-04-101-5/+1
|\
| * Refactor SpellCheckerProximityInfo as extending ProximityInfoTadashi G. Takaoka2013-04-021-5/+1
| | | | | | | | Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
* | Move a generic string utility to StringUtilsJean Chalard2013-04-051-33/+2
|/ | | | Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Fix spell checker subtype list.Jean Chalard2013-01-111-7/+13
| | | | | | | | Remove the subtypes that don't get a dictionary any more in AOSP. Also prepare for all downloadable-dictionary supported subtypes. Bug: 7673670 Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
* Remove a useless memberJean Chalard2012-12-111-0/+2
| | | | Change-Id: Id13e0aeec6ec3655d6bb0edc7f8f7821e7dc5a36
* Fix wrong misspelling reports of fully capitalized wordsJean Chalard2012-12-041-7/+15
| | | | | | | | | | | Two flavors of words would be wrongly reported as misspelled by the android spell checker when they are written in all upper case letters: - Words containing a quote or a dash or any other non-letter - Words that need the first letter to be capitalized Bug: 7659216 Change-Id: Ibc5d261945ffcbb8a858d4c73b7c62cef6671abf
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-2/+2
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-3/+3
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-9/+8
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Remove the whitelist dictionary.Jean Chalard2012-08-171-14/+0
| | | | | | | | | The functionality now lives in the binary dictionary. This finalizes work on Bug: 6906525 Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
* Create AndroidSpellCheckerSessionFactorySatoshi Kataoka2012-07-101-1/+3
| | | | | Bug: 6789576 Change-Id: I6de1e1aa64cf14f38ecb250579418bc518f0d838
* Separate SpellCheckerSession from SpellCheckerServiceSatoshi Kataoka2012-07-101-393/+16
| | | | | 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