aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986 Amith Yamasani2010-03-091-1949/+0
* Retain voice input across orientation changes. Fixes 2428545•••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. Amith Yamasani2010-03-081-42/+38
* Use KEYBOARD_TAP instead of VIRTUAL_KEY for vibrationAmith Yamasani2010-03-051-1/+1
* Fix 2414566 : Capitalizing first letter in unexpected fields.•••Also move some symbols around as per yaks' request. Amith Yamasani2010-03-011-0/+1
* Fix for microphone icon showing up incorrectly on the ?123 icon.•••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 Amith Yamasani2010-02-261-3/+5
* Fix for 2466885 : Key prediction is spilling over to next word.Amith Yamasani2010-02-251-2/+5
* Save and restore Auto Dictionary data.•••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 Amith Yamasani2010-02-241-72/+10
* 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.•••Also allow decoupling Quick Fixes from Suggestions and auto-complete. Amith Yamasani2010-02-191-23/+24
* Don't apply autotext to the wrong input language.•••Since autotext is tied to the display language, if the input lang is different from the display lang, don't apply autotext. Bug: 2417495 Amith Yamasani2010-02-181-0/+2
* Remove dependency on google-common library.•••Copied the newArrayList method over to LatinIME. Amith Yamasani2010-02-171-3/+9
* Remove a trailing "auto space" at the end of the line when the user added a n...•••Bug: 2384116 Ken Wakasa2010-02-121-5/+53
* Show a hint when the user selects the typed word from the suggestion list.•••Make it easy to add new words by tapping the word again. Also, a small unbundling fix for vibration duration. Amith Yamasani2010-02-101-20/+9
* Adding RecognitionManager.isRecognitionEnabled() check•••This CL adds an aformentioned check to decide whether to show the mic button or not. Change-Id: Idee6978b69777ac3118406219e96340d892c6508 Valentin Kravtsov2010-02-101-11/+8
* Change the voice checkboxes into a 3-state list.•••Also add a language-switch hint Amith Yamasani2010-02-091-4/+4
* Increase target size of preferred letters while typing.•••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. Amith Yamasani2010-02-081-0/+6
* Send KeyEvents for Tab.•••Needed for http://b/issue?id=2414236 Leon Scroggins2010-02-081-1/+1
* fixing ime crash in emulator•••Just guarding some calls with if (VOICE_INSTALLED). Also added an &, probably a typo. Kristian Monsen2010-02-051-3/+7
* Add additional language information to FieldContext used for voice input.•••This will allow us to choose the right voice input language for the user on the VoiceSearch side. Mike LeBeau2010-02-041-2/+9
* Suggest punctuations between word suggestions, for easy access to ?,!, etc.•••Also fix a visual bug with the dividers between suggested words. Amith Yamasani2010-02-031-2/+24
* Language switching with slide gesture on spacebar. Bug: 2331173•••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. Amith Yamasani2010-02-011-47/+35
* Make the ".com" key input smarter if there's already '.' at the end of the pr...•••Bug: 2306114 Ken Wakasa2010-02-011-0/+14
* Fix a crash when starting up LatinIME or changing orientation. Bug:2403575Amith Yamasani2010-01-281-1/+3
* remove references to Gservices from LatinIME•••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 Doug Zongker2010-01-281-65/+65
* Setting to move microphone to secondary keyboard.•••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. Amith Yamasani2010-01-281-13/+20
* New keyboard layout for bottom row.•••Additional mode for WEB_EDIT fields w/Tab key for next field. Button assets refresh and fix for a highlight asset bug. Amith Yamasani2010-01-271-0/+5
* Auto-added words will only be capitalized if user intended to. #2373284•••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. Amith Yamasani2010-01-241-8/+22
* Enable language switching with long-press of space bar.•••This is a temporary solution until slide-on-space is implemented. Amith Yamasani2010-01-221-1/+1
* Reintroduce Amith's memory leak fix from 388ce92ab8a635c5ad44620dad59baf05dfe...•••after it was clobbered by my overwrite of LatinIME with the voice version. Mike LeBeau2010-01-171-0/+1
* Migrate voice features into the open-source LatinIME. This includes•••the change to logging to remove any private dependencies and use broadcast intents to VoiceSearch instead. I have audited this code and it appears good to go for open-source, but would appreciate a second pair of eyes. Still to do after submitting this CL: * Reintroduce Amith's memory leak fix (37557) which was the only CL added to LatinIME since the last merge over to the private copy. * Make some changes to allow LatinIME to work without voice search installed. Currently I believe it will show the mic but fail if you press it. We need to base the visibility on the mic on the availability of the service. * Fix this code to use the new Gservices framework, it's still trying to use the old one. Mike LeBeau2010-01-171-48/+573
* Fixed a memory leak that happens when switching input languages.Amith Yamasani2010-01-151-0/+3
* Enable auto-correction only if there is a significant size main dictionary.•••Added e-umlaut popup for Russian keyboard. Added a French Canadian string resource but wont help until we add fr_CA to the supported locales list. Amith Yamasani2009-12-181-21/+28
* Fix for auto-add and reduced auto-add threshold. Bug: 2332071•••Fixed the regression of auto-add. Reduced the threshold of auto-add (to accept) to 2 times. Reduced the threshold of auto-add (to suggest) to 4 times. Amith Yamasani2009-12-161-5/+6
* Input language switching. Bug: 2331173•••New feature to enable fast switching between input languages for multilingual users. Keyboard settings lets you select a bunch of languages to switch between from the Latin IME. Use the Globe icon to toggle between languages. Needs more work and some layout changes in specialized keyboards. Also added a Russian keyboard (needs some pixel TLC at the right edge). Amith Yamasani2009-12-161-28/+136
* Fix for 2305181: "shift A shift M" quickly gives Am instead of AM•••There was a delayed changing of keyboard to lowercase after typing a shifted letter that was triggering after the user pressed shift again. Removed the delayed message when user hits shift. Amith Yamasani2009-12-041-0/+1
* Fix for 2295810: Auto-correction of English results in Englishman•••Comparisons were always happening with lowercase version of the typed word, which wouldn't match the uppercase word in the dictionary, so it became an unrecognized word when typed in full. Highlight was then going to the next word in the list. Fix compares the lowercase and uppercase versions of the word for validity. Amith Yamasani2009-12-011-1/+2
* Fix for 2170453: Capitalization sticks when entering passwords in Browser•••This is caused by a delay in changing the shift state for performance reasons. The delay was too long, causing multiple characters to be in shifted state when typing fast (300ms interval). Fix removes the optimization for the forward typing case. Doesn't affect the backspace long-press optimization. Triage: Hiroshi Dr. No: mcleron Amith Yamasani2009-10-121-5/+1
* Fix a potential IllegalArgumentException caught by monkeys. #2176776•••For some reason the key code is outside the code point range. Adding a safeguard to deal with possible out of range key codes. Amith Yamasani2009-10-091-0/+4
* Fix 2146178: On-screen keyboard is wider than screen•••Sometimes the keyboard is getting confused about it's width when switching between hard keyboard open and close state and portrait-forced home. Force creation of keyboard layouts after a configuration change to fix the inconsistent state. Don't force create when just switching between input fields, too expensive. Also fixes the problem of keyboard not changing layout after a locale change, unless there's an orientation change. Amith Yamasani2009-09-301-7/+7
* AI 150810: Fix for 2023252 & 2023256: Turkish accented characters for the key...••• BUG=2023252,2023256 Automated import of CL 150810 Amith Yamasani2009-09-301-2/+3
* Fix issue 2141503: Keyclick sound doesn't honor volume settings.•••Align sound effect volume on music volume. Eric Laurent2009-09-291-1/+2
* Handle new flag NO_SUGGESTIONS and no auto-correct for single-line fields unl...•••Don't show suggestions if NO_SUGGESTIONS flag is specified. And don't do auto-correction unless explicitly requested or it's a multi-line text. Amith Yamasani2009-09-171-0/+11
* Adjust the size of bottom row of keys for email mode. Fix for 2099889•••Also recreate the keyboards when locale changes. Amith Yamasani2009-09-081-0/+4
* Fixed accidental switch to symbols mode from alphabet.•••The KeyboardSwitcher was remembering state from a previous edittext where the user was in symbols mode and applying the switch code when user hits space in the new edittext for the first time. Make sure to reset the state when a new keyboard mode is requested. Also make sure that we don't switch from symbols to alphabet keyboard when editing in a number/datetime field and hitting space. Amith Yamasani2009-09-011-2/+1
* Swipe down gesture to dismiss keyboard.Amith Yamasani2009-08-271-1/+1
* Use public SDK APIs for the InputMethodManager and Vibrator.Brandon Ballinger2009-08-131-2/+3
* Some performance optimizations.•••Makes the user/contacts dictionary lookup faster. This is necessary because there's more in these dictionaries now and it's written in Java. Fix an auto-caps issue when moving the cursor. And do it a little lazily. Fixed a bug that was causing user dictionary words to get a much higher weightage than the main dictionary. Amith Yamasani2009-08-131-3/+12
* Fix a stack overflow when typing long words. Limit the size of auto-added words.Amith Yamasani2009-08-131-0/+3