aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka2011-06-201-1/+2
| | | | | | | | | | | | | | | | | | When using the sliding spacebar language switch on ICS, both LatinIME.toggleLanguage() and InputMethodService.onCurrentInputMethodSubtypeChanged() invoke LatinIME.onRefreshKeyboard(). This change eliminates the first one if it isn't necessary. This change also cleans up the followings. * reuse theme Context when the keyboard theme hasn't been changed. * clear the Keyboard cache when theme has been switched. * eliminates unnecessary Context reference from LatinKeyboard and SlidingLocaleDrawable. * recycle Bitmap and reuse Canvas in KeyboardView. Bug: 4725930 Change-Id: I87366e9304879d94d12b7345adea768d86d43519
* Fix NPETadashi G. Takaoka2011-06-181-8/+2
| | | | | Bug: 4686479 Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
* Disable showing TAB key when navigate flags are specifiedTadashi G. Takaoka2011-06-171-2/+3
| | | | | Bug: 3094312 Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
* Make LatinKeyboard aware of themeTadashi G. Takaoka2011-06-161-1/+1
| | | | | Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
* Make CandidateView aware of themeTadashi G. Takaoka2011-06-151-1/+1
| | | | | | | This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
* Implement expandable candidates paneTadashi G. Takaoka2011-06-141-1/+1
| | | | | | | | | | This change removes horizontal scroll from candidates strip. Instead of that this change introduces "fixed 3 items candidates strip" and "expandable candidates pane". Bug: 4175031 Change-Id: Ia367d9074436fdea76d3b653d81798ce2749170e
* Add an option to use or not the contacts dictionary.Jean Chalard2011-06-131-3/+9
| | | | | Bug: 4586840 Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
* Merge "Enable reverting the auto-conversion of double space."Jean Chalard2011-06-081-9/+52
|\
| * Enable reverting the auto-conversion of double space.Jean Chalard2011-06-091-9/+52
| | | | | | | | | | Bug: 3376923 Change-Id: If3fcfd208ad4a2b8a1452a21b07694d8d512c6ae
* | Merge "Introduce CandidateView.Listener"Tadashi G. Takaoka2011-06-081-2/+5
|\ \
| * | Introduce CandidateView.ListenerTadashi G. Takaoka2011-06-091-2/+5
| |/ | | | | | | | | Bug: 4175031 Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
* / Fix duplicate action nextTadashi G. Takaoka2011-06-091-1/+0
|/ | | | Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
* Merge "Enable choosing a bigram prediction several times in a row."Jean Chalard2011-05-301-6/+8
|\
| * 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
* | Merge "Remove web mode and add webInput boolean"Tadashi G. Takaoka2011-05-271-2/+4
|\ \
| * | Remove web mode and add webInput booleanTadashi G. Takaoka2011-05-271-2/+4
| |/ | | | | | | | | | | Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
* / Stop promoting auto dictionary words to the user dict.Jean Chalard2011-05-251-7/+0
|/ | | | | | | | Also see change I5a57ecc8 which is another fix for the same problem. Bug: 3459274 Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
* 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-241-55/+50
| | | | | Bug: 4175031 Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
* 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-201-8/+8
|\
| * Remove manual config item controlling to show input language settingsTadashi G. Takaoka2011-05-201-8/+8
| | | | | | | | 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
* | Show full display names in the popup of the spacebar language swichersatok2011-05-181-3/+3
|/ | | | | | | - Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
* Fix NPEsatok2011-05-141-1/+3
| | | | Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
* Merge "Add advanced settings screen"Jean Chalard2011-05-131-5/+3
|\
| * Add advanced settings screenJean Chalard2011-05-131-5/+3
| | | | | | | | | | | | | | | | 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-121-3/+4
|\
| * Fix the available input locales and moved Recorrectionsatok2011-05-121-3/+4
| | | | | | | | | | | | Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
* | 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-121-12/+2
|/ / | | | | | | | | | | | | This reverts commit dcade18113286a132a2f5fb508fdba836470c3fb. Bug: 4379983 Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
* | Merge "Refactor settings flags."Jean Chalard2011-05-111-257/+108
|\ \ | |/ |/|
| * Refactor settings flags.Jean Chalard2011-05-111-257/+108
| | | | | | | | | | | | 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-101-159/+12
| | | | Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
* Merge "Move Recorrection functions to Recorrection.java"satok2011-05-091-76/+21
|\
| * Move Recorrection functions to Recorrection.javasatok2011-05-091-76/+21
| | | | | | | | Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
* | 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
* Merge "Straighten out magic space vs real spaces behavior."Jean Chalard2011-05-021-50/+37
|\
| * Straighten out magic space vs real spaces behavior.Jean Chalard2011-05-021-50/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename a confusing variable.Jean Chalard2011-04-271-21/+21
| | | | | | | | mHasValidSuggestions -> mHasUncommittedTypedChars Bug: 4322591 Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a