aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* (DO NOT MERGE) Fix showing important notice even at beginning of sentence•••Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001Tadashi G. Takaoka2014-09-181-4/+10
* Fix an IOOB exception•••Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b Jean Chalard2014-08-291-1/+1
* Fix a bug where the top prediction would disappear.•••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 Jean Chalard2014-08-261-14/+14
* Indroduce SuggestedWords#getTypedWordInfoOrNull•••This is a groundwork for subsequent CLs whith need to do certain things for and only for the typed word. Change-Id: I374b79cbc79470f57f523c996010301ea5701a61 Yohei Yukawa2014-08-241-0/+15
* Add the input style to SuggestedWords.•••Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff Jean Chalard2014-08-141-7/+23
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-1/+2
* [CS4] Remove useless tests and processing•••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 Jean Chalard2014-06-261-4/+12
* [CS3.5] Small correction•••Bug: 13238601 Change-Id: I7bd82a4678d8bf88f16bf271f20be8d37f9b97d7 Jean Chalard2014-06-241-4/+5
* [CS2] Refactor a bit removeDups•••This way is more understandable, and also supporting an external string is helping for future refactorings Bug: 13238601 Change-Id: I4ebeed46eb0b35011164946af71ac257c6449ddb Jean Chalard2014-06-231-18/+19
* Clean up for Iba6eeb7981634e7ddb.•••Bug: 15298959 Change-Id: I6921db77b7d231ad3aad99d4c380ae2ed6bbf540 Keisuke Kuroyanagi2014-05-291-4/+3
* Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f Keisuke Kuroyanagi2014-05-281-13/+25
* Add TODO comment about SuggestedWordInfo's kind and flags•••This CL must be checked in together with I6fd87e1eec. Change-Id: I4b24157f3e3ce6327579d37122a34d7a30069885 Tadashi G. Takaoka2014-05-281-0/+6
* Use whether it's exact match to detect distracters.•••Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf Keisuke Kuroyanagi2014-05-261-4/+9
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-8/+6
* [IL111] Remove a member.•••...and improve encapsulation and readability. Bug: 8636060 Change-Id: I36407630b307df0721ea7fdb7e7a22cdf2b018b3 Jean Chalard2014-03-041-9/+24
* [QRP5] Fix boldness for predictions, and small refactoring•••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 Jean Chalard2014-02-251-1/+1
* Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka2014-02-141-17/+39
* Conditionally store the raw suggestions.•••Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19 Jean Chalard2014-02-061-8/+14
* [IL103] Save the typed word separately in SuggestedWords.•••This helps managing the cases where the typed word is not in the suggestions. This happens during recorrection. Bug: 8636060 Change-Id: I6784feb793cae96272a7f1d123a0e3bbb8f03143 Jean Chalard2014-01-291-3/+22
* [IL100] Pull up a check•••Bug: 8636060 Change-Id: I344ed59f5f55b412880fc6dc70205eecb1e79961 Jean Chalard2014-01-281-0/+2
* [IL76] Remove a SuggestionStripView dependency•••This constant is better located in SuggestedWords. Or it could be in Constants, that would be fine too. Bug: 8636060 Change-Id: I3e721bb1e2559f028dce8929eceadfe0478c5924 Jean Chalard2014-01-231-0/+3
* [IL37] Small simplification•••Bug: 8636060 Change-Id: I08a6c04986a0bd86ce4c232893e804766ebeebb9 Jean Chalard2013-12-261-5/+1
* Add a sequence number to SuggestedWords.•••This allows testing for suggestion freshness in an asynchronous suggestions world. Bug: 11301597 Change-Id: Ic76cd17568598d8534aec81e037f9e37f52eb6b4 Jean Chalard2013-10-221-0/+14
* [AC8] Restrict the suggestion strip to the correct part•••...for phrase gesture. Bug: 9059617 Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5 Jean Chalard2013-09-171-0/+20
* [AC4] Add native methods necessary for auto-commit•••Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d Jean Chalard2013-09-131-3/+20
* [AC3] Start calling the methods for auto-commit.•••Bug: 9059617 Change-Id: I190a4baf2fa831b70e00e129b5dfaa8c9c32b3a0 Jean Chalard2013-08-201-0/+10
* [AC2] Reference a dict rather than a string in suggestion infos•••Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e Jean Chalard2013-08-201-5/+4
* [AC1] Add a memory of where to cut the first word.•••Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631 Jean Chalard2013-08-201-3/+11
* Reorganize Utils class•••Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18 Tadashi G. Takaoka2013-07-051-0/+15
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+3
* Refactor SuggestionStripLayoutHelper a bit•••Bug: 9059710 Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de Tadashi G. Takaoka2013-05-311-6/+9
* Implement KIND_OOV_CORRECTION•••Bug: 9127749 Change-Id: I96db15a3138e6b522c4c6ad16cc7faad577d3772 Satoshi Kataoka2013-05-271-1/+4
* [ZF1] Check profanity in Java rather than in native•••Bug: 7226877 Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301 Jean Chalard2013-04-251-0/+6
* If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard2013-04-151-0/+17
* Restart suggestions when the cursor moves.•••This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 Jean Chalard2013-04-121-0/+1
* Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8
* Consolidate SuggestedWords.getWordInfo and .getInfo•••Change-Id: I959cf049f550b7be3ec002281ca7457e566b0214 Kurt Partridge2013-01-171-5/+1
* Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka2012-10-221-11/+14
* Add SuggestedWords.isEmpty() method•••Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d Tadashi G. Takaoka2012-10-031-0/+4
* Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e Tadashi G. Takaoka2012-09-271-2/+2
* Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedL...•••This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25 Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4 Ken Wakasa2012-09-041-1/+1
* Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89 Tadashi G. Takaoka2012-08-221-4/+6
* Add values for suggestion types (A120)•••Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68 Jean Chalard2012-07-121-0/+1
* Get rid of redundant CharSequence member from SuggestedWordInfo•••Change-Id: Ie8792f4f5d3593c25c992fc72cf219daeaa70beb Tadashi G. Takaoka2012-07-041-10/+8
* Make the autocorrection scheme more straightforward (A37)•••Change-Id: I4833ca7e057b8c1f1f22390673cbca0d2433b1bd Jean Chalard2012-07-021-5/+6
* Remove a duplicate method (A36)•••Bug: 6705473 Change-Id: Ib6260034b09739b60071e90a018b2dc6be3815d7 Jean Chalard2012-07-021-4/+0
* Update log and make a variable private (A35).•••Change-Id: Ib4a8f41dc5941bce46402e1a41a6c21dccb0601f Jean Chalard2012-07-021-1/+1
* Add a more synthetic variable (A33)•••The goal here is to disambiguate TypedWordValid and HasAutoCorrectionCandidate. Ultimately, HasAutoCorrectionCandidate will disappear. Bug: 6705473 Change-Id: I1acbd0a5efc7f4bf7b0bdb12839fe3d84e9d1dda Jean Chalard2012-06-291-1/+3
* Remove a useless parameter (A29)•••Change-Id: I52625e707abf61da9b95e542f0814c66b532f483 Jean Chalard2012-06-291-2/+1
* Remove a useless variable (A28)•••Change-Id: I1058123d233540fb72a94028987a43740224f635 Jean Chalard2012-06-291-3/+0