Commit Graph

40891 Commits (bfa5581857086948ffa5d732e4a095d548b218f6)

Author SHA1 Message Date
Amith Yamasani 9dcd28b77c am 929dc479: (-s ours) am bb6f9146: DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit '929dc479b08fe5d1bf859054a8857c80acc6fd08'

* commit '929dc479b08fe5d1bf859054a8857c80acc6fd08':
2010-02-05 13:58:49 -08:00
Eric Fischer 7f62ce53ec am 9af82ee2: (-s ours) am e8412735: Import revised translations. DO NOT MERGE
Merge commit '9af82ee226e05a38498b7390befbc81ed3e900ab'

* commit '9af82ee226e05a38498b7390befbc81ed3e900ab':
2010-02-05 13:58:42 -08:00
Kristian Monsen 4a29e9fdea Merge "fixing ime crash in emulator" 2010-02-05 10:42:14 -08:00
The Android Open Source Project 02797369a9 am 4c97c59e: reconcile main tree with open-source eclair
Merge commit '4c97c59e3855f7766c25476f75a3b5b05ce54a9f' into eclair-plus-aosp

* commit '4c97c59e3855f7766c25476f75a3b5b05ce54a9f':
  android-2.1_r1 snapshot
2010-02-05 08:43:51 -08:00
The Android Open Source Project 4c97c59e38 reconcile main tree with open-source eclair 2010-02-05 08:09:40 -08:00
Valentin Kravtsov c2a862a17b Adding VoiceIME support for the modified RecognitionManager
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
2010-02-05 14:14:37 +00:00
Kristian Monsen 1322b7f899 fixing ime crash in emulator
Just guarding some calls with if (VOICE_INSTALLED). Also added an &, probably a typo.
2010-02-05 12:11:59 +00:00
Mike LeBeau 2e3aa86cf3 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.
2010-02-04 19:43:44 -08:00
Eric Fischer 30a7315878 Merge "Capitalize the names of languages in the dictionary picker." 2010-02-04 10:37:37 -08:00
Eric Fischer 6fd70d9259 Capitalize the names of languages in the dictionary picker.
Bug 2417503
2010-02-03 17:32:56 -08:00
Amith Yamasani 6a6075caba Suggest punctuations between word suggestions, for easy access to ?,!, etc.
Also fix a visual bug with the dividers between suggested words.
2010-02-03 15:55:12 -08:00
Amith Yamasani f892861b7b Try again to set the correct bounds.
Forgot to upload this patchset in my last checkin.
2010-02-02 13:04:06 -08:00
Amith Yamasani cc03f196ad Updated some keyboard assets.
Let the arrows obscure the sliding language text to create the fade effect.
Initialize the preview icon bounds.
2010-02-02 10:42:32 -08:00
Amith Yamasani 3f7d75060a 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.
2010-02-01 09:49:24 -08:00
Ken Wakasa 41a5197295 Make the ".com" key input smarter if there's already '.' at the end of the previous text.
Bug: 2306114
2010-02-01 01:40:59 +09:00
The Android Open Source Project 259d2f3108 reconcile android-2.1_r1 snapshot 2010-01-29 14:09:27 -08:00
Maryam Garrett 8600725789 Use de-duped version on LoggingEvents now in android-common.
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
2010-01-29 12:40:13 -05:00
Amith Yamasani b8f98ad014 Fix a crash when starting up LatinIME or changing orientation. Bug:2403575 2010-01-28 12:35:29 -08:00
Doug Zongker a16ff1b19e 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
2010-01-28 10:09:44 -08:00
Amith Yamasani b1cd701602 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.
2010-01-28 07:33:27 -08:00
Amith Yamasani 7a722cbfc8 Unbundling phase 1.
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.
2010-01-27 17:29:35 -08:00
Doug Zongker 4fc0193879 add READ_GSERVICES permission
Change-Id: If5e2d5566cfeb08141452e983c21bca56a6a08db
2010-01-27 14:32:42 -08:00
Amith Yamasani cf02653097 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.
2010-01-27 14:03:42 -08:00
Valentin Kravtsov 16668d952f Adding VoiceIME support for new RecognitionManager interface
Change-Id: I14506149def2f5b47fa2697aef49ff5cd41b64a8
2010-01-26 10:17:39 +00:00
Amith Yamasani 359f168161 Fix for #2373295 : Capitalize suggestions when typing a capitalized word.
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.
2010-01-25 15:27:43 -08:00
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