aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable choosing a bigram prediction several times in a row.Jean Chalard2011-05-301-6/+8
| | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug that prevented to choose a prediction several times in a row because the predictions would be replaced right away by punctuations. Please note several things about this change: - Recorrection is pretty much in the middle of being refactored. This change has no effect on recorrection itself, but may make existing strange behavior more obvious when moving the cursor for example. - The part of this change in Recorrection.java is not used in master at the moment because ongoing changes on recorrection result in the control never landing there, but would have been needed in the past and may be needed in the future. - This change may have adverse effects on performance which need to be evaluated. A comment in the code has also been written to this effect. - This does not fix bug 4466199, only addresses a pinpoint case of it to help evaluating the bigram predictions feature. Bug: 4466199 Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
* Initialize CandidateView in setInputViewTadashi G. Takaoka2011-05-251-4/+8
| | | | | | | | When keyboard theme has been switched, input view will be replaced with new theme one and current CandidateView will get stale. The CandidateView must be reseted in setInputView. Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
* Merge "Put SuggestionSpan at commitText"satok2011-05-251-7/+10
|\
| * Put SuggestionSpan at commitTextsatok2011-05-251-7/+10
| | | | | | | | | | Bug: 4346045 Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
* | Fix missing setService call for CandaiteViewTadashi G. Takaoka2011-05-251-0/+1
|/ | | | | | | This bug has been introduced by I95f379b9. Bug: 4486388 Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
* Move CandidateView into input viewTadashi G. Takaoka2011-05-242-57/+52
| | | | | Bug: 4175031 Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
* Merge "Squash case for bigram insertion/lookup."Jean Chalard2011-05-232-10/+25
|\
| * Squash case for bigram insertion/lookup.Jean Chalard2011-05-232-10/+25
| | | | | | | | | | Bug: 4464446 Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
* | Remove CandidatesView related method call from voice imeTadashi G. Takaoka2011-05-231-3/+3
|/ | | | Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
* Merge "Remove manual config item controlling to show input language settings"Tadashi G. Takaoka2011-05-202-15/+9
|\
| * Remove manual config item controlling to show input language settingsTadashi G. Takaoka2011-05-202-15/+9
| | | | | | | | Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
* | Merge "Reload keyboard after SoftInputWindow size changed"Tadashi G. Takaoka2011-05-201-1/+8
|\ \
| * | Reload keyboard after SoftInputWindow size changedTadashi G. Takaoka2011-05-201-1/+8
| | | | | | | | | | | | | | | Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
* | | Fix copyright author from Google to AOSPTadashi G. Takaoka2011-05-203-3/+3
| |/ |/| | | | | Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
* | Merge "Show full display names in the popup of the spacebar language swicher"satok2011-05-184-23/+39
|\ \ | |/ |/|
| * Show full display names in the popup of the spacebar language swichersatok2011-05-184-23/+39
| | | | | | | | | | | | | | - Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
* | Fix a bug in one of the methods to get a dictionary.Jean Chalard2011-05-171-3/+7
|/ | | | | | | | One of the two methods for getting a dictionary from the dictionary pack had a bug and would not tolerate not getting an actual dictionary. This change fixes that. Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
* Fix NPEsatok2011-05-141-1/+3
| | | | Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
* Merge "Add advanced settings screen"Jean Chalard2011-05-132-19/+71
|\
| * Add advanced settings screenJean Chalard2011-05-132-19/+71
| | | | | | | | | | | | | | | | Also add an option for popup dismissal delay so as to inaugurate the new screen. Besides, remove a path for options to escape from LatinIME and replace with a direct read from the settings. Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
* | Merge "Fix null pointer exception in LatinIME"satok2011-05-131-8/+11
|\ \ | |/ |/|
| * Fix null pointer exception in LatinIMEsatok2011-05-131-8/+11
| | | | | | | | Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
* | Fix a bug with dictionary add interface.Jean Chalard2011-05-131-5/+2
|/ | | | | | | | | Fix a bug where the "Touch again to save" message would not stay on screen, following a wrong fix for a problem where Gingerbread- would not display punctuation in the suggestion strip in WebTextView. Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
* Merge "Fix the available input locales and moved Recorrection"satok2011-05-125-318/+24
|\
| * Fix the available input locales and moved Recorrectionsatok2011-05-125-318/+24
| | | | | | | | | | | | Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
* | Merge "Fix a bug where the locale of the keyboard app would end up wrong."Jean Chalard2011-05-121-0/+2
|\ \
| * | Fix a bug where the locale of the keyboard app would end up wrong.Jean Chalard2011-05-121-0/+2
| | | | | | | | | | | | Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7
* | | Merge "Fix a bug where suggestions would not update in Froyo WebTextView"Jean Chalard2011-05-121-1/+4
|\ \ \ | |/ / |/| |
| * | Fix a bug where suggestions would not update in Froyo WebTextViewJean Chalard2011-05-121-1/+4
| | | | | | | | | | | | | | | Bug: 4396864 Change-Id: Ia45466319498ae7e35fe8a39b4e3a361d66ac2cc
* | | Revert "Added support for speaking keys through accessibility service."Tadashi G. Takaoka2011-05-122-223/+2
|/ / | | | | | | | | | | | | This reverts commit dcade18113286a132a2f5fb508fdba836470c3fb. Bug: 4379983 Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
* | Merge "Refactor settings flags."Jean Chalard2011-05-112-257/+295
|\ \ | |/ |/|
| * Refactor settings flags.Jean Chalard2011-05-112-257/+295
| | | | | | | | | | | | This needs Ic5bd9b45 to not break the build. Change-Id: I9684be89baba0f855f19c11d000c5638c04cc26e
* | 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
|\ \