aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the available input locales and moved Recorrectionsatok2011-05-125-318/+24
| | | | | | Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
* Fix a bug where suggestion strip pick would reset magic spaceJean Chalard2011-05-111-1/+2
| | | | | Bug: 4391347 Change-Id: I93c3c821d3ab78a300edc3d251ce7b1ee0dc3958
* Move re-correction codes to Recorrection.javasatok2011-05-104-164/+205
| | | | Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
* Merge "Move Recorrection functions to Recorrection.java"satok2011-05-092-76/+151
|\
| * Move Recorrection functions to Recorrection.javasatok2011-05-092-76/+151
| | | | | | | | Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
* | Merge "Fix suggestion strip geometry"Tadashi G. Takaoka2011-05-091-1/+1
|\ \
| * | Fix suggestion strip geometryTadashi G. Takaoka2011-05-101-1/+1
| |/ | | | | | | | | Bug: 4393288 Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
* / Improve magic space handling.Jean Chalard2011-05-091-30/+52
|/ | | | | | | | | | | | | | | | Split symbols into: - Symbols that should swap themselves with a magic space. - Symbols that should remove the magic space. - Symbols that should transform the magic space into a real space. Also, have symbols inserted from the suggestion strip always consider the space before them to be magic. Also, do minor refactoring to remove useless variables or make clearer how to carry some symbol-related information. Bug: 4391347 Change-Id: Ie2308a62c8fef55e3610897c0f58943acb7aa8c9
* Fix IndexOutOfBoundsException in LatinIME.setSuggestionsKen Wakasa2011-05-061-1/+1
| | | | | bug: 4369728 Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
* Merge "Straighten out magic space vs real spaces behavior."Jean Chalard2011-05-023-55/+46
|\
| * Straighten out magic space vs real spaces behavior.Jean Chalard2011-05-024-56/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | Picking a suggestion inserts a space after the word. This change makes this space a magic space. Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code, and remove a useless import directive in some unrelated file. Bug: 4319740 Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
* | Revert the suggestion update delay to the original value (100msec) for phones.Ken Wakasa2011-04-291-7/+13
| | | | | | | | | | | | | | This is actually a follow-up to I385f9eb2 bug: 4361287 Change-Id: I4c4a0a96a7fa28f4f96dd984453d2c9f3fa7d6c2
* | Improve the architecture to support multiple dictionaries.Jean Chalard2011-04-285-30/+46
|/ | | | | | | | | | | | | | This change enables the interface to get multiple dictionaries from a dictionary pack. It only implements it to the end in the case of the proprietary method, as the open method needs still some working out, and the "inside the package" method does not need it. This change goes together with Iaa95bf36, and breaks the build without it. Bug: 1752028 Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
* Rename a confusing variable.Jean Chalard2011-04-271-21/+21
| | | | | | | | mHasValidSuggestions -> mHasUncommittedTypedChars Bug: 4322591 Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
* Use the new Utils.setSystemLocale method in the new code.Jean Chalard2011-04-271-7/+3
| | | | | | | | The change list that introduced this code was created at the same time as the one that introduced the Utils.setSystemLocale method and didn't use it yet. Fix this. Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
* Create a dictionary collection and a dictionary factory.Jean Chalard2011-04-274-103/+252
| | | | | | | | | | | | | | | The dictionary collection is a class complying to the Dictionary interface that acts as a front end to a collection of arbitrarily many dictionaries of any type. The dictionary factory is a helper class for creating various dictionaries and get some meta information about them. At the same time, this change makes the BinaryDictionary class not a singleton any more. This also needs I9afe61a9 to not break the build. Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
* Merge "Add a method to set the locale to Utils."Jean Chalard2011-04-273-16/+13
|\
| * Add a method to set the locale to Utils.Jean Chalard2011-04-273-16/+13
| | | | | | | | | | | | | | Add a setLocale method to Utils that returns the previous locale. Also unify all calls through the code. Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
* | Merge "Handle overflow properly in multiplyRate"satok2011-04-261-2/+4
|\ \
| * | Handle overflow properly in multiplyRatesatok2011-04-261-2/+4
| | | | | | | | | | | | | | | Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
* | | Merge "Shorter timeout to update auto caps state (100ms)"Tadashi G. Takaoka2011-04-261-1/+1
|\ \ \ | |_|/ |/| |
| * | Shorter timeout to update auto caps state (100ms)Tadashi G. Takaoka2011-04-261-1/+1
| |/ | | | | | | | | Bug: 4319726 Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
* | Merge "Fix getMiddleDisplayLanguage"satok2011-04-261-1/+1
|\ \
| * | Fix getMiddleDisplayLanguagesatok2011-04-261-1/+1
| |/ | | | | | | Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
* | Fix Eclipse warnings.Jean Chalard2011-04-266-8/+5
| | | | | | | | | | | | | | This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
* | Do not use contacts for bigram prediction.Jean Chalard2011-04-261-0/+8
|/ | | | | | bug: 4346034 Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
* Display the language name on the spacebar if the full display locale name is ↵satok2011-04-251-0/+4
| | | | | | | too longer than the space bar Bug: 4329512 Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
* Move sliding language switch code to PointerTrackerTadashi G. Takaoka2011-04-221-3/+5
| | | | | | | This change is hack and temporal. Big: 4328445 Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
* Merge "Actually use the bigram prediction option."Jean Chalard2011-04-221-16/+21
|\
| * Actually use the bigram prediction option.Jean Chalard2011-04-221-16/+21
| | | | | | | | | | | | | | | | This change also rename methods that should have been renamed in a previous commit (namely, the *SetBigramSuggestions family -> *UpdateBigramSuggestions) Change-Id: I18cac17ba2b93fcc011ea133324f2c7f3532946c
* | Merge "Add an debug option to use spacebar switcher"satok2011-04-222-3/+15
|\ \ | |/ |/|
| * Add an debug option to use spacebar switchersatok2011-04-222-3/+15
| | | | | | | | Change-Id: Icc483f097696a1c5a2a7ab037afce19c9cfe837f
* | Add an option for using bigram prediction.Jean Chalard2011-04-222-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the option for bigram prediction under the option for bigram suggestion. The "prediction" option depends on the "suggestion" option. This change also reorders a tad bit the settings screen. Namely, it sticks both bigram options under a "bigram" category, and groups the options that did not have a group under a "other options", or misc, category. Finally this change also renames the internal name of the "text corrections" option category to "correction_category" instead of "prediction_category" which was misleading. Change-Id: I2d8787c8a391fd8202ed3a686c613494b7260a1e
* | Use user-history bigrams when no input if available.Jean Chalard2011-04-225-37/+168
| | | | | | | | | | | | | | | | This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15
* | Merge "Rename and reorganize key code"Tadashi G. Takaoka2011-04-211-3/+3
|\ \ | |/ |/|
| * Rename and reorganize key codeTadashi G. Takaoka2011-04-211-3/+3
| | | | | | | | Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
* | Fix language selection settingssatok2011-04-211-6/+2
|/ | | | Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
* Merge "Check the availability of layouts for showing the input languages in ↵satok2011-04-213-218/+7
|\ | | | | | | the settings"
| * Check the availability of layouts for showing the input languages in the ↵satok2011-04-213-218/+7
| | | | | | | | | | | | | | | | settings Bug: 4316889 Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
* | Compute content and visible insets even in voice modeTadashi G. Takaoka2011-04-211-5/+7
|/ | | | | Bug: 4317779 Change-Id: If54d15466db9d0362b4470a2ba4618377bdffc2a
* Remove a useless import.Jean Chalard2011-04-201-1/+0
| | | | Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
* Merge "Tweak the normalized score for the words with spaces"satok2011-04-201-1/+10
|\
| * Tweak the normalized score for the words with spacessatok2011-04-201-1/+10
| | | | | | | | Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
* | Merge "Move language-specific keyboard setting to resources."Jean Chalard2011-04-203-28/+78
|\ \ | |/ |/|
| * Move language-specific keyboard setting to resources.Jean Chalard2011-04-203-28/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some flag settings used to be stored in a keyboard layout extravalue setting. This change: - Introduces the capability of setting such specific flags in values/config.xml - Retains the ability to use extravalues (for layout-specific settings), though there is no more any such setting at the moment. - Fixes a bug where loading a dictionary from outside does not initialize the flags. - Moves Flag to another class. Note: this needs I705ec68c to avoid breaking the build Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
* | Merge "Tweak edit distance"satok2011-04-201-5/+22
|\ \ | |/ |/|
| * Tweak edit distancesatok2011-04-201-5/+22
| | | | | | | | | | | | - The edit distance of transposed characters will be changed to 1 from 2 Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
* | Fix a typo.Jean Chalard2011-04-201-4/+4
|/ | | | Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5
* Refactor key preview codeTadashi G. Takaoka2011-04-191-1/+1
| | | | | | | This change removes mOldPreviewKeyIndex from KeyboardView. Bug: 4298393 Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
* Show all languages supported in LatinImeGoogle in InputLanguageSelectionsatok2011-04-181-24/+30
| | | | | Bug: 4311203 Change-Id: I7a94e9697758cb79743c026e7f1c023f618a9aa1