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.
This is an experiment to see if flash contention is causing occasional
keyboard hicups that people complain about.
A side effect is that the APK (with 5 languages) reduces in size by 25%.
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.
The build system does not honor user tags on apps,
and setting it is misleading.
This removes the confusion by making the makefiles
behave like they read.
Change-Id: Ia90c376d627c6c9faeccf040695b88bb32779f82
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).
Merge commit 'f1557e197feaae0786c2ef251ffd4e274347b1bb' into eclair-mr2-plus-aosp
* commit 'f1557e197feaae0786c2ef251ffd4e274347b1bb':
Import revised translations. DO NOT MERGE
Merge commit '005d0ac4016279c9b842beedb95ef1a4019d15d7' into eclair-mr2
* commit '005d0ac4016279c9b842beedb95ef1a4019d15d7':
Import revised translations. DO NOT MERGE
Merge commit '005d0ac4016279c9b842beedb95ef1a4019d15d7' into eclair-plus-aosp
* commit '005d0ac4016279c9b842beedb95ef1a4019d15d7':
Import revised translations. DO NOT MERGE
Merge commit '24c1ff4993734a1475d98a3456b8cbae4e16204e' into eclair-mr2-plus-aosp
* commit '24c1ff4993734a1475d98a3456b8cbae4e16204e':
Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864' into eclair-mr2
* commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864':
Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864' into eclair-plus-aosp
* commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864':
Fix 2306814: Too aggressive suggesting names from my contacts list.
When there is more than one instance of a name in the Contacts, it
gets a very high weightage and can override corrections for very
high frequency words such as "the".
This fix prevents multiple occurences from increasing the frequency
of a contact and also from bumping it above 255, which is the frequency
of "the", "is", etc.
Merge commit '82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e' into eclair-mr2-plus-aosp
* commit '82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e':
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.
Merge commit '84400f65ab4a1526ce47bcd4b84edf4b64b78e18' into eclair-mr2-plus-aosp
* commit '84400f65ab4a1526ce47bcd4b84edf4b64b78e18':
DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d' into eclair-plus-aosp
* commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d':
DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d' into eclair-mr2
* commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d':
DO NOT MERGE: 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.
Merge from eclair-mr2
Merge commit 'd30198b3b3c999765ae065e93973ba7b47969c0c' into eclair-mr2-plus-aosp
* commit 'd30198b3b3c999765ae065e93973ba7b47969c0c':
Import revised translations. DO NOT MERGE
Merge commit 'f590a497393eb77875017010e9a36cf33b095e3c' into eclair-mr2-plus-aosp
* commit 'f590a497393eb77875017010e9a36cf33b095e3c':
Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-mr2
* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
Import revised translations. DO NOT MERGE
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.
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-plus-aosp
* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
Import revised translations. DO NOT MERGE