Commit graph

9 commits

Author SHA1 Message Date
Valentin Kravtsov
7131a5a969 Bug fix for: a spinner is shown on VoiceIME startup
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
2010-02-11 11:11:33 +00:00
Valentin Kravtsov
0e7cdae045 bug fix: sometimes a spinner is shown on VoiceIME startup
bug: http://b/issue?id=2434331
Change-Id: Ia65d7d92fe4ce212be0323a3b00eb63044d3191b
2010-02-10 16:44:52 +00: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
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
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
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
Valentin Kravtsov
16668d952f Adding VoiceIME support for new RecognitionManager interface
Change-Id: I14506149def2f5b47fa2697aef49ff5cd41b64a8
2010-01-26 10:17:39 +00: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
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