Commit Graph

17666 Commits (f2b30b6b9b1f3402e5d6bcf9545fb2c5a2aec480)

Author SHA1 Message Date
Mike LeBeau 440d1fd333 Merge "Put the LoggingEvents class in sync with latest - adds some VoiceSearch events which won't be used by LatinIME." 2010-01-25 10:28:59 -08:00
Mike LeBeau 053a3feae1 Put the LoggingEvents class in sync with latest - adds some VoiceSearch
events which won't be used by LatinIME.
2010-01-25 12:02:11 -05:00
Amith Yamasani 1c55125110 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.
2010-01-24 07:34:07 -08:00
Amith Yamasani 39acd7e80a Merge "Enable language switching with long-press of space bar." 2010-01-22 14:20:19 -08:00
Amith Yamasani 8eb2e34d5b Enable language switching with long-press of space bar.
This is a temporary solution until slide-on-space is implemented.
2010-01-22 13:57:20 -08:00
Amith Yamasani 29928af03a Don't do space/punctuation swap for colon and semicolon, to enable smiley typing. Bug #2379172
Remove colon and semicolon from sentence separator list.
2010-01-21 18:13:39 -08:00
Amith Yamasani 578a01d3f6 Compress the dictionaries so they are loaded into memory fully.
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%.
2010-01-21 17:00:46 -08:00
Mike LeBeau 36b4375bac Specify the correct settings activity for LatinIME. 2010-01-17 19:22:57 -05:00
Mike LeBeau d856450612 Reintroduce Amith's memory leak fix from 388ce92ab8,
after it was clobbered by my overwrite of LatinIME with the voice version.
2010-01-17 16:55:56 -05:00
Mike LeBeau 466741d8a7 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.
2010-01-17 02:42:58 -05:00
Amith Yamasani 388ce92ab8 Fixed a memory leak that happens when switching input languages. 2010-01-15 13:43:50 -08:00
The Android Open Source Project 0477aa1614 android-2.1_r1 snapshot 2010-01-12 15:19:19 -08:00
Romain Guy 6e4ffc14d4 Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:12:02 -08:00
Eric Fischer 49fc4265c3 Merge "Update with latest translations." 2010-01-08 10:05:22 -08:00
Eric Fischer 4a97b97253 Update with latest translations. 2010-01-07 16:00:56 -08:00
Amith Yamasani a052b69b47 Merge "Enable auto-correction only if there is a significant size main dictionary." 2010-01-07 13:08:29 -08:00
Amith Yamasani 17d252facb Merge "Fix graphics for Phone keypad Num7 - was "7 PRQS" instead of "7 PQRS". Fix for bug: 2353386" 2010-01-06 14:15:35 -08:00
Amith Yamasani 0860897118 Fix graphics for Phone keypad Num7 - was "7 PRQS" instead of "7 PQRS". Fix for bug: 2353386 2010-01-06 14:13:46 -08:00
Jean-Baptiste Queru f651e0dc1d Do not use a user tag on apps, as it is ignored.
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
2010-01-05 16:27:27 -08:00
Amith Yamasani e8f1edefeb 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.
2009-12-18 14:32:48 -08:00
Amith Yamasani 646ca037e7 am 1ea1e0b9: am 66d9c408: Forgot to add mdpi asset for globe icon. Fixes missing keyboard row on hvga.
Merge commit '1ea1e0b991f0fadeb22d327bed355c6177903ace'

* commit '1ea1e0b991f0fadeb22d327bed355c6177903ace':
  Forgot to add mdpi asset for globe icon. Fixes missing keyboard row on hvga.
2009-12-17 17:23:20 -08:00
Amith Yamasani 1ea1e0b991 am 66d9c408: Forgot to add mdpi asset for globe icon. Fixes missing keyboard row on hvga.
Merge commit '66d9c4083a86b1e3784ff8a89251b57bc68aed16' into eclair-mr2-plus-aosp

* commit '66d9c4083a86b1e3784ff8a89251b57bc68aed16':
  Forgot to add mdpi asset for globe icon. Fixes missing keyboard row on hvga.
2009-12-17 17:13:16 -08:00
Amith Yamasani 66d9c4083a Forgot to add mdpi asset for globe icon. Fixes missing keyboard row on hvga. 2009-12-17 17:04:56 -08:00
Amith Yamasani 6a442663d6 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.
2009-12-16 19:21:11 -08:00
Amith Yamasani 193913f15c am 0ee83f27: Merge change I8c9748c8 into eclair-mr2
Merge commit '0ee83f27d70f34267dbbaf19668b6a66d3b4470d' into eclair-mr2-plus-aosp

* commit '0ee83f27d70f34267dbbaf19668b6a66d3b4470d':
  Input language switching. Bug: 2331173
2009-12-16 17:53:09 -08:00
Android (Google) Code Review 0ee83f27d7 Merge change I8c9748c8 into eclair-mr2
* changes:
  Input language switching. Bug: 2331173
2009-12-16 17:49:59 -08:00
Amith Yamasani 36fcf25833 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).
2009-12-16 17:48:23 -08:00
Eric Fischer 3a6474644b am f1557e19: am 005d0ac4: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'f1557e197feaae0786c2ef251ffd4e274347b1bb' into eclair-mr2-plus-aosp

* commit 'f1557e197feaae0786c2ef251ffd4e274347b1bb':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:52:27 -08:00
Eric Fischer f1557e197f am 005d0ac4: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '005d0ac4016279c9b842beedb95ef1a4019d15d7' into eclair-mr2

* commit '005d0ac4016279c9b842beedb95ef1a4019d15d7':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:44:03 -08:00
Eric Fischer fe4529657f am 005d0ac4: Import revised translations. DO NOT MERGE
Merge commit '005d0ac4016279c9b842beedb95ef1a4019d15d7' into eclair-plus-aosp

* commit '005d0ac4016279c9b842beedb95ef1a4019d15d7':
  Import revised translations.  DO NOT MERGE
2009-12-09 18:09:57 -08:00
Eric Fischer 005d0ac401 Import revised translations. DO NOT MERGE 2009-12-09 17:28:33 -08:00
Amith Yamasani bfd76d002c am 358e485b: Experimental Extension keyboard
Merge commit '358e485b14938fbcb5af5be75aa29f2b73674100' into eclair-mr2-plus-aosp

* commit '358e485b14938fbcb5af5be75aa29f2b73674100':
  Experimental Extension keyboard
2009-12-09 15:53:05 -08:00
Amith Yamasani e10f56aeb1 am 24c1ff49: am 5b63c38d: Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit '24c1ff4993734a1475d98a3456b8cbae4e16204e' into eclair-mr2-plus-aosp

* commit '24c1ff4993734a1475d98a3456b8cbae4e16204e':
  Fix 2306814: Too aggressive suggesting names from my contacts list.
2009-12-09 15:47:15 -08:00
Amith Yamasani 358e485b14 Experimental Extension keyboard
Slide up on keyboard to get an extended keyboard for numbers and
punctuations. This is work in progress...
2009-12-08 14:35:37 -08:00
Amith Yamasani 24c1ff4993 am 5b63c38d: 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.
2009-12-08 10:07:42 -08:00
Amith Yamasani d7e42d7bcc am 5b63c38d: 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.
2009-12-08 10:07:29 -08:00
Amith Yamasani 5b63c38d1f 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.
2009-12-07 11:42:09 -08:00
Amith Yamasani f4eb9bd9b1 am 82c68bfb: Fix for 2305181: "shift A shift M" quickly gives Am instead of AM
Merge commit '82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e' into eclair-mr2-plus-aosp

* commit '82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e':
  Fix for 2305181: "shift A shift M" quickly gives Am instead of AM
2009-12-04 12:42:59 -08:00
Amith Yamasani 82c68bfbfc 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.
2009-12-04 11:58:57 -08:00
Amith Yamasani dfd1107856 am 84400f65: am bb6f9146: (-s ours) DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit '84400f65ab4a1526ce47bcd4b84edf4b64b78e18' into eclair-mr2-plus-aosp

* commit '84400f65ab4a1526ce47bcd4b84edf4b64b78e18':
  DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
2009-12-03 05:46:53 -08:00
Amith Yamasani 929dc479b0 am bb6f9146: 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
2009-12-03 05:41:29 -08:00
Amith Yamasani 84400f65ab am bb6f9146: (-s ours) 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
2009-12-03 05:41:23 -08:00
Amith Yamasani bb6f9146f1 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
2009-12-02 16:43:21 -08:00
Eric Fischer 38897807a9 am d30198b3: am e8412735: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'd30198b3b3c999765ae065e93973ba7b47969c0c' into eclair-mr2-plus-aosp

* commit 'd30198b3b3c999765ae065e93973ba7b47969c0c':
  Import revised translations.  DO NOT MERGE
2009-12-01 17:25:09 -08:00
Amith Yamasani 52a7a41582 am f590a497: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'f590a497393eb77875017010e9a36cf33b095e3c' into eclair-mr2-plus-aosp

* commit 'f590a497393eb77875017010e9a36cf33b095e3c':
  Fix for 2295810: Auto-correction of English results in Englishman
2009-12-01 17:25:05 -08:00
Eric Fischer d30198b3b3 am e8412735: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-mr2

* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
  Import revised translations.  DO NOT MERGE
2009-12-01 17:11:18 -08:00
Amith Yamasani f590a49739 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.
2009-12-01 11:44:22 -08:00
Eric Fischer 9af82ee226 am e8412735: Import revised translations. DO NOT MERGE
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-plus-aosp

* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
  Import revised translations.  DO NOT MERGE
2009-11-30 12:05:14 -08:00
Eric Fischer e841273579 Import revised translations. DO NOT MERGE 2009-11-30 11:39:53 -08:00
Jean-Baptiste Queru b609517258 merge from open-source master 2009-11-15 14:55:27 -08:00