aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make the typed word a SuggestedWordInfo•••That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b Jean Chalard2014-11-201-12/+14
* Remove the other deprecated constructor to SuggestedWords•••Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4 Jean Chalard2014-11-171-17/+7
* Remove a deprecated constructor to SuggestedWords•••Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc Jean Chalard2014-11-071-12/+2
* Remove DrawingHandler•••Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db Tadashi G. Takaoka2014-10-291-0/+4
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-0/+1
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-2/+1
* Merge "Make SuggestionWordInfo non-final for testabilty"Jatin Matani2014-10-101-1/+2
|\
| * Make SuggestionWordInfo non-final for testabilty•••Needed for ag/563043 Bug:17731683 Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7 Jatin Matani2014-10-071-1/+2
* | Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-091-22/+0
* | Fix missing prediction words on contextual strip•••Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a Tadashi G. Takaoka2014-10-071-0/+13
|/
* Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords...•••Bug: 17560717 Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1 Adrian Velicu2014-09-221-1/+5
* Fix showing important notice even at beginning of sentence•••This is a cherry-pick of Ic72d6fecc3 from lmp-dev. Bug: 17536096 Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2 Tadashi G. Takaoka2014-09-181-4/+10
* Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf.•••Change-Id: I1588448154d086569cb026825fdc36cd1812a582 Mohammadinamul Sheik2014-09-071-0/+9
* 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