aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Get rid of LinearLayoutCompatUtils"Tadashi G. Takaoka2011-09-051-19/+7
|\
| * Get rid of LinearLayoutCompatUtilsTadashi G. Takaoka2011-09-051-19/+7
| | | | | | | | Change-Id: If0f63eaeb4539c0e03ef20190d2f9211a176babc
* | Only set LOOKS_LIKE_TYPO if the max score meets a thresholdJean Chalard2011-09-051-23/+84
|/ | | | | Bug: 5240463 Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
* Merge "Use separate View for key preview backing"Tadashi G. Takaoka2011-09-021-4/+9
|\
| * Use separate View for key preview backingTadashi G. Takaoka2011-09-031-4/+9
| | | | | | | | | | Bug: 5246982 Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
* | Merge "Add logs"satok2011-09-021-0/+10
|\ \ | |/ |/|
| * Add logssatok2011-09-021-0/+10
| | | | | | | | Change-Id: I640186c8be8013841b542e8cefa5f033eb7afc32
* | Squash MiniKeyboardKeyDetector and SuggestionsPaneKeyDetector into oneTadashi G. Takaoka2011-09-021-49/+2
|/ | | | | Bug: 5241105 Change-Id: I4c310373fb8b2426fb46205fa17a49a8346f8244
* Squash SuggestionsStripParams into SuggestionsViewParamsTadashi G. Takaoka2011-09-021-42/+34
| | | | | Bug: 5246982 Change-Id: Idc2563cb0175aabc4282f9fd45eefaa129ed4961
* Merge "Fix an NPE in settings"Jean Chalard2011-09-011-2/+4
|\
| * Fix an NPE in settingsJean Chalard2011-09-021-2/+4
| | | | | | | | Change-Id: I264c001a9cc28f864ad024fcf51fb42e9c203d3f
* | Merge "Add an option to prevent insertion of suggestion spans"Jean Chalard2011-09-012-3/+12
|\ \
| * | Add an option to prevent insertion of suggestion spansJean Chalard2011-09-022-3/+12
| |/ | | | | | | | | | | | | This is to help debug of Bug: 5250788 Change-Id: I961321aff3776c4912eaf7a1fa4de0c01d715f24
* / Dim keyboard when more suggestions are shownTadashi G. Takaoka2011-09-011-11/+17
|/ | | | | Bug: 5241009 Change-Id: Ia42bcfc34dddf93d35f9cea8a4f0efead6ce3a6a
* Rename CandidateView to SuggestionsViewTadashi G. Takaoka2011-09-015-166/+165
| | | | Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
* Merge "Fix a bug where autotext would occasionally not work"Jean Chalard2011-08-311-15/+5
|\
| * Fix a bug where autotext would occasionally not workJean Chalard2011-09-011-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotext correction would check whether the first suggestion so far was the same as what Autotext would return, and if it was indeed the same, would not send its result as autocorrect. However, the first suggestion is not guaranteed to have a high enough score to trigger autocorrection, and there would be cases where a word in autotext would not get autocorrected because the word came out of bigram suggestions. These occurrences would be extremely rare, as they would require concomitant insert between autotext for one char and bigram suggestion. It is, in fact, probably limited to the capitalization of "I". This did not happen in gingerbread because gingerbread would not register 1-letter words as valid bigrams. This fix works by just always sending the result of autotext regardless of whether it is already the first suggestion or not. This is okay because duplicates are removed afterwards anyway - and this processing is absolutely necessary because the autotext'd word may actually be somewhere else in the suggestion, so it made really no sense checking for only the first one. Please note that there is also a race condition that can result in "i" not being converted to "I": at the moment, Latin IME relies on having the suggestions evaluated at the time autocorrection is performed, but when typing very, very fast, those messages may have been canceled. This is not limited to the autocorrection of "i", but affects all autocorrections. It requires a nearly inhumane typing speed to trigger, but hitting "i" and space in turn as fast as one can it's possible to reproduce occasionally. Bug: 5135113 Change-Id: I530ea6212487300001a2c0fc5b25a5c7716bdf63
* | Merge "Remove unused suggestions pane code"Tadashi G. Takaoka2011-08-311-160/+5
|\ \
| * | Remove unused suggestions pane codeTadashi G. Takaoka2011-09-011-160/+5
| | | | | | | | | | | | | | | | | | | | | This is a followup for Ie1d69131. Bug: 5023981 Change-Id: I42ec596af40cb7dcdd84b96ba5bff9ef1fb5dc92
* | | Implement KeyboardLocale InputMethodSubtype extra keyTadashi G. Takaoka2011-09-012-5/+17
|/ / | | | | | | | | | | | | | | The locale is specified by KeyboardLocale extra key in method.xml, LatinIME will use the specified locale for keyboard layout. Bug: 5238658 Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
* | Merge "Implement popup suggestions pane"Tadashi G. Takaoka2011-08-313-8/+554
|\ \
| * | Implement popup suggestions paneTadashi G. Takaoka2011-08-313-8/+554
| |/ | | | | | | | | Bug: 5023981 Change-Id: Ie1d69131dbf884a3f6a2beb3ac3427e5437c1486
* / Fix a possible NPEJean Chalard2011-08-311-1/+3
|/ | | | Change-Id: I5c57752772414b4f9475d0ad43d7fc52b97c3f33
* Clean up bigram settingsJean Chalard2011-08-311-1/+0
| | | | | | | | | Move bigram suggestion option to the advanced settings screen, remove bigram prediction option for ICS release and remove the now-empty bigram option category. Bug: 5240082 Change-Id: Ib1fc608ad33d5598410f7b0cb4a1639bffef28c7
* Merge "Check the magic number of a decoded file"Jean Chalard2011-08-301-6/+36
|\
| * Check the magic number of a decoded fileJean Chalard2011-08-311-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking the magic number of a file upon decoding is necessary, because if the file is corrupt and we don't check it, we will fall back to a simple copy of the corrupted file. Latin IME would realize this and would not crash, but would not use the corrupted dictionary. If this happened to be a main dictionary, then the user would lose the ability to use the correct built-in dictionary. Not the same, but kinda similar to Bug: 5223031 Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
* | Get rid of MeasureSpec.UNSPECIFIEDTadashi G. Takaoka2011-08-311-12/+16
|/ | | | | Bug: 5023981 Change-Id: I14ded3c3d554ac72b66f190110652f54d91df954
* Add Key constructor for suggestions paneTadashi G. Takaoka2011-08-301-2/+2
| | | | | Bug: 5023981 Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
* Fix a bug with synchronicity of spell checking/user dictJean Chalard2011-08-293-4/+54
| | | | | | | | | This fixes a race condition that would end up with the spell checker not finding some words in the user dictionary when it just booted. Bug: 5194627 Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de
* Merge "Move locale-related utility methods to LocaleUtils."Jean Chalard2011-08-288-52/+72
|\
| * Move locale-related utility methods to LocaleUtils.Jean Chalard2011-08-298-52/+72
| | | | | | | | Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
* | Merge "Move debug information back to suggestions strip"Tadashi G. Takaoka2011-08-261-7/+13
|\ \
| * | Move debug information back to suggestions stripTadashi G. Takaoka2011-08-261-7/+13
| | | | | | | | | | | | Change-Id: I8cfad5f780a481a251cc4f752bff3cda5ae3ffbe
* | | Do not put the suggestion span for obsolete suggestions.satok2011-08-262-2/+2
|/ / | | | | | | | | | | Bug: 5219037 Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
* / Fix "touch to save" colorsTadashi G. Takaoka2011-08-261-31/+62
|/ | | | | Bug: 5218662 Change-Id: I094b2ceb7438148eb5bdf620b188f598e8442a07
* Allow sharing dictionaries between similar locales.Jean Chalard2011-08-254-29/+259
| | | | | Bug: 5058488 Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
* Add a debug variableJean Chalard2011-08-241-0/+1
| | | | | | ...that was missing Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
* Avoid unnecessary output to the system log.Jean Chalard2011-08-241-1/+3
| | | | | | | | | | | | | | | | | | The message this removes gets printed under normal conditions. Normally dictionary files are compressed then crypted, but not compressed a second time; however LatinIME tries to open a compressed-crypted-compressed file first, because it could not do it afterwards and we want to support this case. So under normal operations, the first method LatinIME tries is actually expected to fail. Also, if we decide to stop compressing or/and encrypting dicts LatinIME supports it as a valid use case. It should not print errors to the log. If the file cannot be open at all, then it is an unexpected case, and Latin IME still reports to the log. Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
* Merge "Fix suggestions strip press state to align vertically"Tadashi G. Takaoka2011-08-241-4/+5
|\
| * Fix suggestions strip press state to align verticallyTadashi G. Takaoka2011-08-241-4/+5
| | | | | | | | | | | | | | | | This change also tweaks more_suggestions_hint drawables to eliminate unnecessarily padding at the bottom. Bug: 5204563 Change-Id: If5ec731c9a490da0116a020e8fd405c7d025d707
* | Call the decrypt/unzip routines upon copying a dictionary.Jean Chalard2011-08-242-40/+143
| | | | | | | | | | Bug: 5095140 Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
* | Merge "Refactoring: cut out a method for caching a word list"Jean Chalard2011-08-232-34/+44
|\ \ | |/ |/|
| * Refactoring: cut out a method for caching a word listJean Chalard2011-08-242-34/+44
| | | | | | | | | | | | | | | | This is preparation to have the decrypting/unzipping code moved over to LatinIME. Bug: 5095140 Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
* | Merge "Move some static methods from SubtypeSwitcher to Utils"Tadashi G. Takaoka2011-08-232-29/+29
|\ \
| * | Move some static methods from SubtypeSwitcher to UtilsTadashi G. Takaoka2011-08-242-29/+29
| |/ | | | | | | Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
* / Implement "forceAscii" private IME optionTadashi G. Takaoka2011-08-242-1/+16
|/ | | | | | | | | | | | | This change also introduces "AsciiCapable" extra value for subtype that indicates the subtype can input any ASCII code point from its keyboard layout. Only if the input field has "forceAscii" private IME option and the current subtype doesn't have "AsciiCapable" extra value, the en_US keyboard layout will be used for the input field. Bug: 3384942 Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
* Merge "Fix an excessive fallback problem."Jean Chalard2011-08-231-18/+4
|\
| * Fix an excessive fallback problem.Jean Chalard2011-08-231-18/+4
| | | | | | | | | | | | | | | | | | LatinIME has several fallbacks to ensure a dictionary is used. However, it should now be possible to deactivate the main dictionary through the dictionary pack settings. In this case, Latin IME should not fallback to the built-in dictionary. Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
* | Rename LatinKeyboardBaseView to LatinKeyboardViewTadashi G. Takaoka2011-08-231-6/+6
|/ | | | | Bug: 5182291 Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
* Merge "Extract sudden jumping touch event hack into separate class"Tadashi G. Takaoka2011-08-231-6/+6
|\