aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/android/inputmethod (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-0931-8668/+0
| | | | | | | Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
* Retain voice input across orientation changes. Fixes 2428545Amith Yamasani2010-03-083-50/+66
| | | | | | If an configuration change happens when voice is being captured or processed, it keeps the voice input state intact and reattaches the recognition view to the input method.
* Use KEYBOARD_TAP instead of VIRTUAL_KEY for vibrationAmith Yamasani2010-03-051-1/+1
|
* Refactor android.backup -> android.app.backupChristopher Tate2010-03-052-3/+3
| | | | Change-Id: I0ea45d114ef642bb50b0ea155cfc59f20da1f430
* Blacklist asian languages from input selection list, since this is LatinIME.Amith Yamasani2010-03-042-1/+13
| | | | | | | | | Bug: 2488167 Don't show ko, ja and zh languages in the list. Remove a debug println. Add alternates_for_g to the keyboard for it to work on turkish. This must have not gotten merged from donut.
* Merge "Fix incorrect matching of last character to unexpected names in ↵Amith Yamasani2010-03-041-1/+1
|\ | | | | | | contact dictionary."
| * Fix incorrect matching of last character to unexpected names in contactAmith Yamasani2010-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | dictionary. Example, "ho9" would match "Shoemaker", if "Shoemaker" existed in your contacts. This was due to premature switch to completions mode when trying to insert a missing letter. This syncs up the Java version to what the native one was doing.
* | b/2449438 : ALT key sometimes doesn't work in the symbols keyboardAmith Yamasani2010-03-031-2/+1
| | | | | | | | | | | | | | | | This change seems to fix it. Will continue to monitor if it happens. From tracing the code, it seemed to think that the current keyboard was not a symbols keyboard, so the "equals" call was failing. It was probably due to voice mode changing between keyboard creation and display.
* | Fix 2414566 : Capitalizing first letter in unexpected fields.Amith Yamasani2010-03-011-0/+1
|/ | | | Also move some symbols around as per yaks' request.
* Fix for microphone icon showing up incorrectly on the ?123 icon.Amith Yamasani2010-02-263-20/+42
| | | | | | | | | This also addresses the defaults for voice button on a wiped device. I think it also addresses mic button showing up when not expected by a specific text field that has the privateImeOptions of "nm". Bugs 2417842, 2242893
* Fix for 2466885 : Key prediction is spilling over to next word.Amith Yamasani2010-02-251-2/+5
|
* Save and restore Auto Dictionary data.Amith Yamasani2010-02-246-81/+251
| | | | | | | | | | | | | | | | | | | Due to the addition of input language switching, the auto dictionary will be re-created very frequently. We need to save it and restore it during transitions, otherwise the data will be purged too often to be of much use in the multi-lingual case. This also fixes the case where a user frequently turns the phone off/on. Auto dictionary data was not being saved in those situations either. The dictionary will probably never grow too large since most of the frequently used words will be moved to the user dictionary any way. Also, now the input locale is different from the display locale, so save the input locale in the UserDictionary class and insert words into the user dictionary with the correct locale. And NPE fix for bug: 2464573
* Fix screwed up ellipses with auto-spaces. Bug: 2455867Ken Wakasa2010-02-231-2/+28
|
* Fix for "smiley after voice input erases the voice part". Bug 2415033Amith Yamasani2010-02-221-0/+3
|
* Switch keyboards when configuration changes. Bug 2432435Amith Yamasani2010-02-211-2/+12
|
* Fix Auto-complete toggle - was broken in a recent change.Amith Yamasani2010-02-193-26/+26
| | | | Also allow decoupling Quick Fixes from Suggestions and auto-complete.
* Don't apply autotext to the wrong input language.Amith Yamasani2010-02-182-21/+31
| | | | | | | Since autotext is tied to the display language, if the input lang is different from the display lang, don't apply autotext. Bug: 2417495
* Remove dependency on google-common library.Amith Yamasani2010-02-172-5/+10
| | | | Copied the newArrayList method over to LatinIME.
* Use transparent keys for extension keyboard.Amith Yamasani2010-02-121-1/+1
|
* Remove a trailing "auto space" at the end of the line when the user added a ↵Ken Wakasa2010-02-121-5/+53
| | | | | | new line. Bug: 2384116
* Bug fix for: a spinner is shown on VoiceIME startupValentin Kravtsov2010-02-111-40/+31
| | | | | | The last change did not solve the bug completely, the spinner was still shown at times when no initialization dialog was shown Change-Id: I43a5f8df4e333ffb6deb727c3bf45ed7b7a54069
* Show a hint when the user selects the typed word from the suggestion list.Amith Yamasani2010-02-102-31/+44
| | | | | Make it easy to add new words by tapping the word again. Also, a small unbundling fix for vibration duration.
* bug fix: sometimes a spinner is shown on VoiceIME startupValentin Kravtsov2010-02-101-3/+3
| | | | | bug: http://b/issue?id=2434331 Change-Id: Ia65d7d92fe4ce212be0323a3b00eb63044d3191b
* Adding RecognitionManager.isRecognitionEnabled() checkValentin Kravtsov2010-02-101-11/+8
| | | | | | This CL adds an aformentioned check to decide whether to show the mic button or not. Change-Id: Idee6978b69777ac3118406219e96340d892c6508
* Change the voice checkboxes into a 3-state list.Amith Yamasani2010-02-092-41/+40
| | | | Also add a language-switch hint
* Increase target size of preferred letters while typing.Amith Yamasani2010-02-089-15/+179
| | | | | | | | | | This increases the chance of hitting the correct letter when typing a word that exists in the dictionary, rather than only correct it after the fact. It is most effective after 2 or 3 letters of a word have been typed and gets more accurate with more typed letters in the word. If 2 adjacent letters have similar probabilities of occuring, then there is no hit correction applied.
* Send KeyEvents for Tab.Leon Scroggins2010-02-081-1/+1
| | | | Needed for http://b/issue?id=2414236
* Use title-case for language name on spacebar, even for the abbrev.Amith Yamasani2010-02-054-47/+57
| | | | And fix a bug in opening keyboard settings when Voice is not available.
* Merge "fixing ime crash in emulator"Kristian Monsen2010-02-051-3/+7
|\
| * fixing ime crash in emulatorKristian Monsen2010-02-051-3/+7
| | | | | | | | Just guarding some calls with if (VOICE_INSTALLED). Also added an &, probably a typo.
* | Adding VoiceIME support for the modified RecognitionManagerValentin Kravtsov2010-02-051-49/+36
|/ | | | | | | Now there is a delay each time the voice recognition screen is opened, however, this is the correct behavior as microphone setup takes about 600ms. The previous implementation, although being fast, was not actually recording the first 1/2 second of user's speech. Change-Id: I8b8373a59658502f7451150ff4a4ffd1c8e83205
* Add additional language information to FieldContext used for voice input.Mike LeBeau2010-02-043-6/+31
| | | | | This will allow us to choose the right voice input language for the user on the VoiceSearch side.
* Merge "Capitalize the names of languages in the dictionary picker."Eric Fischer2010-02-041-1/+1
|\
| * Capitalize the names of languages in the dictionary picker.Eric Fischer2010-02-031-1/+1
| | | | | | | | Bug 2417503
* | Suggest punctuations between word suggestions, for easy access to ?,!, etc.Amith Yamasani2010-02-033-8/+37
|/ | | | Also fix a visual bug with the dividers between suggested words.
* Try again to set the correct bounds.Amith Yamasani2010-02-021-3/+10
| | | | Forgot to upload this patchset in my last checkin.
* Updated some keyboard assets.Amith Yamasani2010-02-021-6/+11
| | | | | Let the arrows obscure the sliding language text to create the fade effect. Initialize the preview icon bounds.
* Language switching with slide gesture on spacebar. Bug: 2331173Amith Yamasani2010-02-016-82/+534
| | | | | | Shows the language on the spacebar and in the preview bubble. Allows dragging of the spacebar from side to side to switch to previous or next languages.
* Make the ".com" key input smarter if there's already '.' at the end of the ↵Ken Wakasa2010-02-011-0/+14
| | | | | | previous text. Bug: 2306114
* Use de-duped version on LoggingEvents now in android-common.Maryam Garrett2010-01-292-120/+4
| | | | | | | | | | | | | This CL now simply moves LatinIME to use the version of LoggingEvents in android-common, rather than duplicating the LoggingEvents class between VoiceSearch, Browser, and LatinIME. I also added in a TIMESTAMP to the START broadcast, so that we would be able to evaluate if various events happened after a user tried Voice Input. Change-Id: Ic88ff40fcedf707abc3c5eb2e68dfd0fcdef3701
* Fix a crash when starting up LatinIME or changing orientation. Bug:2403575Amith Yamasani2010-01-281-1/+3
|
* remove references to Gservices from LatinIMEDoug Zongker2010-01-286-235/+173
| | | | | | | | | | Open-sourced platform code shouldn't refer to Gservices. Use the platform-standard Secure settings table instead (which we can still push values into from the servers on google-experience devices, like gservices), but can be populated by other mechanisms for non-ged phones. Change-Id: Id0b5830bfc78c1d10dc732dce46546cd09cd1422
* Setting to move microphone to secondary keyboard.Amith Yamasani2010-01-283-79/+85
| | | | | | | | Microphone button can be optionally moved to the symbols keyboard to get your comma back. You can also completely disable voice input. Now you can get your comma back but still use the swipe gesture to activate voice input.
* Unbundling phase 1.Amith Yamasani2010-01-271-24/+34
| | | | | | | | Removed dependency on mScrollX which is a hidden field. Added some required static libraries. TODO: When BackupManager is ready, make sure we don't use any private APIs from there.
* New keyboard layout for bottom row.Amith Yamasani2010-01-273-3/+16
| | | | | Additional mode for WEB_EDIT fields w/Tab key for next field. Button assets refresh and fix for a highlight asset bug.
* Adding VoiceIME support for new RecognitionManager interfaceValentin Kravtsov2010-01-262-140/+101
| | | | Change-Id: I14506149def2f5b47fa2697aef49ff5cd41b64a8
* Fix for #2373295 : Capitalize suggestions when typing a capitalized word.Amith Yamasani2010-01-251-1/+12
| | | | | | When the user starts typing a word with a capital, whether automatically due to sentence beginning or since the user pressed shift, then all suggestions presented are capitalized as well, to be more WYSIWYG.
* Merge "Put the LoggingEvents class in sync with latest - adds some ↵Mike LeBeau2010-01-251-2/+25
|\ | | | | | | VoiceSearch events which won't be used by LatinIME."
| * Put the LoggingEvents class in sync with latest - adds some VoiceSearchMike LeBeau2010-01-251-2/+25
| | | | | | | | events which won't be used by LatinIME.
* | Auto-added words will only be capitalized if user intended to. #2373284Amith Yamasani2010-01-242-8/+41
| | | | | | | | | | If a user creates a new word at the beginning of a sentence, then don't add it as a capitalized word in the dictionary.