aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove swipe gestureTadashi G. Takaoka2011-07-081-6/+0
| | | | | Bug: 4971680 Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
* Clear CandidateView in onStartInputViewTadashi G. Takaoka2011-07-061-0/+2
| | | | | | | | | Before starting input on new TextView, we must clear the CandidateView because it may hold the suggestion of previous TextView or even worse the suggestions pane has been expanded and keyboard has been hidden. Bug: 4995414 Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
* Use the new settings activity class nameKen Wakasa2011-07-061-1/+1
| | | | | | Follow up to I96230f05 Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
* Narrower KeyboardView referenceTadashi G. Takaoka2011-07-041-5/+5
| | | | | | | | This change also rename static inner class to more readable name and get rid of unnecessary object reference from PointerTracker. Bug: 4768084 Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
* Move keyboard event handling code to separate LatinKeyboardBaseView classTadashi G. Takaoka2011-07-041-6/+6
| | | | | | | | | | | | | | To sort out the issue, main keyboard and mini keyboard have to share the pointer trackers. In order to prepare for that, KeyboardView needs to be refactored as two separate classes. KeyboardView is responsible for drawing keyboard visual. And LatinKeyboardBaseView is responsible for handling key event and mini keyboard as well. Bug: 4768084 Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
* Disable auto-correction when application auto completion has setTadashi G. Takaoka2011-07-041-2/+2
| | | | Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
* Some clean up and fixes around auto-correction cancellation logicKen Wakasa2011-06-301-6/+4
| | | | Change-Id: I07f4c3cd98d14d9f0da2de54bfa76a3867389f6f
* Remove mInForeground flag from KeyboardViewTadashi G. Takaoka2011-06-281-2/+1
| | | | | | | Instead of that, added cancelAllMessages() and call it from onFinishInputView(). Change-Id: I58f6f0931ed8d73441d80d9616ba3afbbbe38e05
* Re-create input view after voice IME finishedTadashi G. Takaoka2011-06-271-0/+5
| | | | Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
* Fix NPETadashi G. Takaoka2011-06-271-1/+1
| | | | Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
* Fix NPETadashi G. Takaoka2011-06-271-1/+2
| | | | Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
* Avoid memory leak by by non-static Handler inner classesKen Wakasa2011-06-261-25/+35
| | | | | bug: 4901934 Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
* Added support for touch exploration to Latin IME.Alan Viverette2011-06-221-0/+2
| | | | | Bug: 4379983 Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
* Support Turkish keyboardTadashi G. Takaoka2011-06-211-6/+8
| | | | | | | | | I left TODOs in Suggest.java because we must pay attention to locale when changing character's case. Filed another Bug: 4769095 to track that. Bug: 4768050 Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
* Fix NPETadashi G. Takaoka2011-06-201-1/+1
| | | | | | | NPE has occured while getting containerHeight in LatinIME.onComputeInsets(). Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
* 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
|\