aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (DO NOT MERGE) Fix showing important notice even at beginning of sentenceTadashi G. Takaoka2014-09-181-2/+10
| | | | Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
* Fix a bug where the top prediction would disappear.Jean Chalard2014-08-261-6/+6
| | | | | | | | | | This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
* Add the input style to SuggestedWords.Jean Chalard2014-08-141-19/+18
| | | | Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
* Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-161-1/+2
| | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-081-14/+11
| | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* [CS6] Cut out methods to clarify what we are doingJean Chalard2014-06-301-39/+45
| | | | | Bug: 13238601 Change-Id: I99cc62e91b1e89130358fded572987023d919507
* [CS5] Use a local var to keep the first suggestionJean Chalard2014-06-271-6/+7
| | | | | Bug: 13238601 Change-Id: Ida8973945e8b141d01ea9d1825b89d84f0911575
* Fix the buildJean Chalard2014-06-261-1/+1
| | | | | | That was a merge not well resolved by git >.> Change-Id: I3cd042d6a5206daf1e9942358405d647c67423dd
* [CS4] Remove useless tests and processingJean Chalard2014-06-261-22/+9
| | | | | | | | Since we have a de-duped and transformed collection, we can just read from it instead of computing it separately. Bug: 13238601 Change-Id: I0aa4b0d91d3b350f9449e13658bfb587fc538764
* [CS3] Move transformation of words to earlierJean Chalard2014-06-231-15/+15
| | | | | Bug: 13238601 Change-Id: I37fe66c6152cdf8c60878d5619bb5dc41f3223df
* [CS2] Refactor a bit removeDupsJean Chalard2014-06-231-2/+2
| | | | | | | | This way is more understandable, and also supporting an external string is helping for future refactorings Bug: 13238601 Change-Id: I4ebeed46eb0b35011164946af71ac257c6449ddb
* [CS1] Some initial clean upJean Chalard2014-06-231-24/+17
| | | | | Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
* [CM1] Let predictions be aware of capitalize mode.Jean Chalard2014-06-161-1/+2
| | | | | Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
* Remove mPrevWordsInfoJean Chalard2014-06-101-8/+8
| | | | | | | | This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
* Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-291-13/+0
| | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
* Stop directly checking SuggestedWordInfo.mKindKeisuke Kuroyanagi2014-05-281-1/+1
| | | | | | Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
* Use whether it's exact match to detect distracters.Keisuke Kuroyanagi2014-05-261-2/+2
| | | | | Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-7/+5
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Merge "Revert "Fix: too many calls to getSuggestedWordsForTypingInput""Ken Wakasa2014-05-231-0/+1
|\
| * Revert "Fix: too many calls to getSuggestedWordsForTypingInput"Ken Wakasa2014-05-231-0/+1
| | | | | | | | | | | | | | This reverts commit 7aa895e2e3edb59620c28354c7d7746b93964b10. Bug: 15148015 Change-Id: If39c4f8b897f247d4eb935923d55d81def4c8fb4
* | Have DictionaryFacilitator in LatinIME.Keisuke Kuroyanagi2014-05-231-2/+5
| | | | | | | | | | | | Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
* | Merge "Don't upcase suggestions when resuming on an uppercase word"Jean Chalard2014-05-221-1/+4
|\ \ | |/ |/|
| * Don't upcase suggestions when resuming on an uppercase wordJean Chalard2014-05-221-1/+4
| | | | | | | | | | Bug: 13917781 Change-Id: I7458d120898a7c8c0bc2db2f6db3578fd1dd1681
* | Fix: too many calls to getSuggestedWordsForTypingInputJean Chalard2014-05-221-1/+0
|/ | | | | Bug: 15148015 Change-Id: Idcb729734bd62b537fb81acf8bdb5cae4470404c
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-191-8/+8
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Fix: StringIndexOutOfBoundsException.Keisuke Kuroyanagi2014-05-161-1/+1
| | | | | Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
* [CB14.5] Stop copying WordComposers.Jean Chalard2014-03-281-14/+1
| | | | | | | | | | | | | | This is an overdue refactoring that I have been wanted to do forever, and that we can at last do now that suggestions come only from instances of BinaryDictionary instances. With this, all unit tests and regression tests are passing again. Bug: 13667648 Bug: 13665487 Bug: 8636060 Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6
* 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