Commit Graph

41672 Commits (03592944f6b3496965ba5dd4fc292c7e5b2e61a7)

Author SHA1 Message Date
Amith Yamasani 9468335a06 Fix for 2466885 : Key prediction is spilling over to next word. 2010-02-25 10:37:19 -08:00
Amith Yamasani 6516d0fdfc 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
2010-02-24 06:36:19 -08:00
Ken Wakasa 4ca6d9dc09 Fix screwed up ellipses with auto-spaces. Bug: 2455867 2010-02-23 08:55:32 +09:00
Amith Yamasani 8472bb611e Fix for "smiley after voice input erases the voice part". Bug 2415033 2010-02-22 09:24:09 -08:00
Amith Yamasani a9f4b19ca4 Switch keyboards when configuration changes. Bug 2432435 2010-02-21 18:11:39 -08:00
Amith Yamasani a6a6617101 Make tab character a word separator.
Word prediction can begin after a tab now.
2010-02-21 18:00:32 -08:00
Amith Yamasani 3edf81df2d Added "tab" to the shifted symbols keyboard.
It's not for quick access, but at least it's available.
2010-02-21 17:38:26 -08:00
Ying Wang 2ae457fce7 Fix proguard flags. 2010-02-19 18:52:09 -08:00
Amith Yamasani 32e1c1c338 Fix Auto-complete toggle - was broken in a recent change.
Also allow decoupling Quick Fixes from Suggestions and auto-complete.
2010-02-19 16:38:58 -08:00
Amith Yamasani fac5dcb5fe 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
2010-02-18 11:09:43 -08:00
Amith Yamasani db84e0318c Remove dependency on google-common library.
Copied the newArrayList method over to LatinIME.
2010-02-17 14:42:51 -08:00
Jeff Hamilton e11e283e88 Add an original-package tag that matches the real package name.
Change-Id: I406714add92e50f1b53242336104bd784058ed7d
2010-02-12 18:57:35 -06:00
Christopher Tate 60b0dcf837 Remove now-obsolete BACKUP_DATA permission
Change-Id: Ib1d37c5c4577f6eaededb297aa8b126896e0f4f6
2010-02-12 15:55:59 -08:00
Amith Yamasani d2a4e90a05 Use transparent keys for extension keyboard. 2010-02-12 06:23:06 -08:00
Ken Wakasa 9a503e07d5 Remove a trailing "auto space" at the end of the line when the user added a new line.
Bug: 2384116
2010-02-12 00:01:02 +09:00
Amith Yamasani d2fdf34df9 Merge "String edits for language selection." 2010-02-11 06:07:23 -08:00
Amith Yamasani ec7eb07d28 String edits for language selection. 2010-02-11 06:06:02 -08:00
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
Amith Yamasani 66a787b953 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.
2010-02-10 17:45:35 -08: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 960ea65f3f Adding RecognitionManager.isRecognitionEnabled() check
This CL adds an aformentioned check to decide whether to show the mic button or not.

Change-Id: Idee6978b69777ac3118406219e96340d892c6508
2010-02-10 10:50:11 +00:00
Amith Yamasani 531352325c Merge "Change the voice checkboxes into a 3-state list." 2010-02-09 15:24:47 -08:00
Amith Yamasani 457fdffce4 Change the voice checkboxes into a 3-state list.
Also add a language-switch hint
2010-02-09 15:22:26 -08:00
Amith Yamasani df4e0430de Fix a crash in the dictionary due to releasing a null array. 2010-02-09 10:58:26 -08:00
Amith Yamasani 1b62ff1a3d 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.
2010-02-08 15:22:37 -08:00
Leon Scroggins 8fa317a61a Send KeyEvents for Tab.
Needed for http://b/issue?id=2414236
2010-02-08 13:09:35 -05:00
Amith Yamasani 5e643e9253 Merge "Use title-case for language name on spacebar, even for the abbrev." 2010-02-05 16:30:30 -08:00
Amith Yamasani 676fb5b665 Use title-case for language name on spacebar, even for the abbrev.
And fix a bug in opening keyboard settings when Voice is not available.
2010-02-05 16:24:40 -08:00
The Android Open Source Project 000ee1d751 am 02797369: am 4c97c59e: reconcile main tree with open-source eclair
Merge commit '02797369a90d032b6860f91ad3add2f810efd66f'

* commit '02797369a90d032b6860f91ad3add2f810efd66f':
  android-2.1_r1 snapshot
2010-02-05 14:11:33 -08:00
Eric Fischer 6d09dd7a0d am fe452965: (-s ours) am 005d0ac4: Import revised translations. DO NOT MERGE
Merge commit 'fe4529657f45f54285f6a045cefff262a8926dde'

* commit 'fe4529657f45f54285f6a045cefff262a8926dde':
2010-02-05 13:59:03 -08:00
Amith Yamasani f6afc9eb94 am d7e42d7b: am 5b63c38d: Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit 'd7e42d7bcce00f55888588bf2b97d967a47c4cf6'

* commit 'd7e42d7bcce00f55888588bf2b97d967a47c4cf6':
2010-02-05 13:58:58 -08:00
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