aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[CB14] Implement backspace in the combiner chain"Jean Chalard2014-03-251-1/+6
|\
| * [CB14] Implement backspace in the combiner chainJean Chalard2014-03-251-1/+6
| | | | | | | | | | | | Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
* | Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-251-63/+24
|/ | | | | | | | | | | Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
* Merge "Separate utility methods from BinaryDictionary."Keisuke Kuroyanagi2014-03-051-1/+2
|\
| * Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-1/+2
| | | | | | | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* | Merge changes I20ce61c4,I2edab4e3Keisuke Kuroyanagi2014-03-031-0/+1
|\ \ | |/ |/| | | | | | | * changes: Remove "Use only personalization dictionary". Remove redundant creation of dictionary facilitator.
| * Remove redundant creation of dictionary facilitator.Keisuke Kuroyanagi2014-02-271-0/+1
| | | | | | | | Change-Id: I2edab4e3ba4ea0b9b13f9bb224aac86cac9b9f31
* | Fix: wrong auto correction for whilelist and personalized words.Keisuke Kuroyanagi2014-02-281-4/+4
| | | | | | | | | | | | | | This happens when there are tailing single quotes. Bug: 13237314 Change-Id: I7fd2a20b25ac2217f9621d7f2510345bbd633c14
* | Fix a bug with auto-caps entries from personalizationJean Chalard2014-02-271-3/+6
| | | | | | | | | | Bug: 13215163 Change-Id: I00099cb4927c96de46e57e14ab906d41c9c2151a
* | [QRP5] Fix boldness for predictions, and small refactoringJean Chalard2014-02-251-1/+1
| | | | | | | | | | | | | | | | | | This is more correct. When predictions, the typed word should always be null unless explicitly passed. The text color should be that of a valid typed word only if it's actually the typed word. Bug: 13170509 Change-Id: I769ae100e112c37c6f02064fe9ef2f81372ca9e5
* | [QRP2] Small refactorJean Chalard2014-02-251-3/+4
|/ | | | | Bug: 13170509 Change-Id: Ib9f10b8a137fc773ab0e5dc903e577038e29a9e2
* Add PunctuationSuggestions classTadashi G. Takaoka2014-02-141-2/+0
| | | | | | | This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
* Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlagTadashi G. Takaoka2014-02-061-4/+3
| | | | | | | | This change must be checked in together with Iac93eb79fc. Bug: 12913520 Bug: 12179576 Change-Id: Ic9a40fb0529202893be8ccb6f5abfbbe6d78508c
* Merge "Conditionally store the raw suggestions."Jean Chalard2014-02-061-4/+18
|\
| * Conditionally store the raw suggestions.Jean Chalard2014-02-061-4/+18
| | | | | | | | | | Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
* | Remove a redundant comment.Jean Chalard2014-02-051-2/+0
|/ | | | | | No need to say this twice. Change-Id: Ief7ac425037aa2767ee8f21c9552138a9c46afc8
* Stop considering personalization dicts outputs as wordsJean Chalard2014-02-051-5/+17
| | | | | | Bug: 12800726 Bug: 12798403 Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
* [IL76] Remove a SuggestionStripView dependencyJean Chalard2014-01-231-4/+2
| | | | | | | | This constant is better located in SuggestedWords. Or it could be in Constants, that would be fine too. Bug: 8636060 Change-Id: I3e721bb1e2559f028dce8929eceadfe0478c5924
* Fix a failing testJean Chalard2013-12-271-2/+3
| | | | | | How/when did this happen? How was it not noticed? Change-Id: I352a8dad65f8c27bf5120d567e96d9a12cfa8496
* Make setAdditionalDictionaries private.Keisuke Kuroyanagi2013-12-271-16/+9
| | | | | Bug: 8187060 Change-Id: I17be7b77ff89972d3ca6823b087b7bf35105af56
* Extract dict operations from Suggest to a new class.Keisuke Kuroyanagi2013-12-261-329/+14
| | | | | Bug: 8187060 Change-Id: I77775aa50763158d99753c2312fa11fe14267aef
* Use SettingsValues instead of Settings in Suggest.Keisuke Kuroyanagi2013-12-251-6/+2
| | | | | Bug: 8187060 Change-Id: Idba1e708d67c036072b728949d17f8bd98ae0115
* Move dict operations to Suggest.Keisuke Kuroyanagi2013-12-251-23/+90
| | | | | | Bug: 8187060 Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160
* Enable Personalized dictionaries based on the setting.Keisuke Kuroyanagi2013-12-171-6/+125
| | | | | Bug: 11757851 Change-Id: I83e484195f036e35cbae21fe63148bc9c22bfad7
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-9/+2
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-1/+1
| | | | | Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
* Add a sequence number to SuggestedWords.Jean Chalard2013-10-221-7/+11
| | | | | | | | | | | This allows testing for suggestion freshness in an asynchronous suggestions world. In-advance cherrypick of Ic76cd17568598d8534aec81e037f9e37f52eb6b4 because there's a merge conflict. Bug: 11301597 Change-Id: I4aec765a975298fcac30a48dede73d2622224fe5
* Don't auto-correct to non-whitelist shortcutsJean Chalard2013-10-071-2/+4
| | | | | Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
* Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-5/+3
| | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* Quit skipping user history dictionary for gesture.Keisuke Kuroyanagi2013-09-191-6/+0
| | | | | Bug: 6669677 Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
* Improve trailing quotes processingJean Chalard2013-09-171-2/+7
| | | | | Bug: 10445496 Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
* [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-2/+4
| | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* Use same session id for typing and gesture.Keisuke Kuroyanagi2013-09-121-1/+2
| | | | | Bug: 10699291 Change-Id: I7c8a3a57e8d189b72a17e4b9c6831becee6ec146
* Revert "Revert "Add onGetSuggestedWordsCallback.""Yuichiro Hanada2013-09-021-19/+25
| | | | | This reverts commit 78f707a142570c33bf5a7a3173f39d19103383ea. Change-Id: I5dd4f2d40314002736226886477563f29a25079c
* Revert "Add onGetSuggestedWordsCallback."Ken Wakasa2013-08-301-25/+19
| | | | | | This reverts commit 820c290a61e4067c9d8557af4c3160c866f70667. Change-Id: I5c50731ff9f330c05c5841b8c65f16e28e67422c
* Add onGetSuggestedWordsCallback.Yuichiro Hanada2013-08-301-19/+25
| | | | Change-Id: Ib527d31f9c2dd6dc385cb2f767cd90d9d28a1b1b
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-7/+12
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Register personalization dictionarySatoshi Kataoka2013-08-221-0/+7
| | | | | Bug: 9429906 Change-Id: Ic754dd8da67446dfb1ebf44aa3d5ab0804298ca0
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-3/+4
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* [AC1] Add a memory of where to cut the first word.Jean Chalard2013-08-201-2/+3
| | | | | Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
* Fix a debug functionality for the personalization predictionSatoshi Kataoka2013-08-141-1/+1
| | | | | | Bug: 9429906 Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
* Add a debug preference for using only personalization dictionarySatoshi Kataoka2013-08-021-10/+29
| | | | | Bug: 9429906 Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
* Connect the personalization dictionarySatoshi Kataoka2013-08-011-0/+7
| | | | | | Bug: 9429906 Bug: 4192129 Change-Id: I9c9f3ed7699f74339ad92be6dcddb8a52c377545
* Refactor on the user history dictionarySatoshi Kataoka2013-07-311-3/+5
| | | | | | Bug: 9429906 Bug: 4192129 Change-Id: I1a2bfe96e18119d30a72290aa48746f77a021018
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-0/+1
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Move a couple classes to the utils packageKen Wakasa2013-07-191-2/+3
| | | | Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+3
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Make it easy to open several dictionaries from testsJean Chalard2013-05-311-4/+3
| | | | | Bug: 9127175 Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
* Merge "Use localized toLowerString in AutoCorrection.isValidWord"Tadashi G. Takaoka2013-05-241-1/+1
|\
| * Use localized toLowerString in AutoCorrection.isValidWordTadashi G. Takaoka2013-05-241-1/+1
| | | | | | | | | | Bug: 9112465 Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934