Commit Graph

3693 Commits (cd43edbc32d3efd4e076597aa30922c7a500a444)

Author SHA1 Message Date
Amith Yamasani 8102ae7941 2175312 : IME suggestions stay on screen after switching orientation in search dialog
Only show the candidate strip if the input view is showing. Otherwise ignore any
completions from the AutoCompleteTextView
2010-03-10 21:18:49 -08:00
Amith Yamasani 21daa53245 Merge "Load UserDictionary and AutoDictionary in a background thread." 2010-03-10 12:59:16 -08:00
Amith Yamasani 283a77f633 Load UserDictionary and AutoDictionary in a background thread.
This is to avoid ANRs during bootup, as some of the providers
may not have been initialized yet.

Refactored the ContactsDictionary and moved the async loading
code to ExpandableDictionary to share with the other dicts.

Bug: 2501133
Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
2010-03-10 11:39:06 -08:00
Amith Yamasani 918f1b1de6 Add cleanstep to avoid having 2 LatinIMEs in the build
Change-Id: I862ca642f0f68bbead6e65e04e2e418c6acb45e5
2010-03-10 11:22:35 -08:00
Amith Yamasani 97e2d11039 Merge "Don't let the native code target be included twice when unbundling." 2010-03-10 11:13:12 -08:00
Amith Yamasani 07b1603a3f Don't let the native code target be included twice when unbundling.
Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.

Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
2010-03-09 15:01:09 -08:00
Jean-Baptiste Queru f9b8ef64c0 Add an empty CleanSpec.mk
Change-Id: Ib09a93aaed1426e76b04c9619a8912e75288390a
2010-03-08 18:05:11 -08:00
Amith Yamasani 81c52293f8 Retain voice input across orientation changes. Fixes 2428545
If an configuration change happens when voice is being captured or
processed, it keeps the voice input state intact and reattaches the
recognition view to the input method.
2010-03-08 16:16:08 -08:00
Amith Yamasani abd5e5867c Use KEYBOARD_TAP instead of VIRTUAL_KEY for vibration 2010-03-05 21:21:20 -08:00
Christopher Tate d212c30e6f Refactor android.backup -> android.app.backup
Change-Id: I0ea45d114ef642bb50b0ea155cfc59f20da1f430
2010-03-05 15:49:16 -08:00
Eric Fischer e4101f1230 Import new translations 2010-03-04 14:06:52 -08:00
Ken Wakasa 5909c43678 Merge "Add popup for the period on the symbols keyboard. Bug: 2345920" 2010-03-04 07:25:28 -08:00
Amith Yamasani 0a2df340e5 Blacklist asian languages from input selection list, since this is LatinIME.
Bug: 2488167
Don't show ko, ja and zh languages in the list.

Remove a debug println.
Add alternates_for_g to the keyboard for it to work on turkish. This
  must have not gotten merged from donut.
2010-03-04 04:59:05 -08:00
Amith Yamasani ec99869272 Merge "Fix incorrect matching of last character to unexpected names in contact dictionary." 2010-03-04 03:43:43 -08:00
Amith Yamasani 787a654fd7 Fix incorrect matching of last character to unexpected names in contact
dictionary.

Example, "ho9" would match "Shoemaker", if "Shoemaker" existed in your
contacts. This was due to premature switch to completions mode when
trying to insert a missing letter.

This syncs up the Java version to what the native one was doing.
2010-03-04 03:22:08 -08:00
Ken Wakasa 971e301c88 Add popup for the period on the symbols keyboard. Bug: 2345920 2010-03-04 18:51:31 +09:00
Amith Yamasani 12caec4dd5 b/2449438 : ALT key sometimes doesn't work in the symbols keyboard
This change seems to fix it. Will continue to monitor if it happens.
From tracing the code, it seemed to think that the current keyboard
was not a symbols keyboard, so the "equals" call was failing. It was
probably due to voice mode changing between keyboard creation and
display.
2010-03-03 13:50:55 -08:00
Ying Wang 479829592c Merge "Fix proguard flags." 2010-03-02 09:37:42 -08:00
Amith Yamasani 4032c24b73 Fix 2414566 : Capitalizing first letter in unexpected fields.
Also move some symbols around as per yaks' request.
2010-03-01 23:33:07 -08:00
Eric Fischer 6aaafeed96 Import new translations. 2010-02-26 17:34:25 -08:00
Amith Yamasani 1ca2267119 Fix for microphone icon showing up incorrectly on the ?123 icon.
This also addresses the defaults for voice button on a wiped device.

I think it also addresses mic button showing up when not expected by a specific text field
that has the privateImeOptions of "nm".

Bugs 2417842, 2242893
2010-02-26 11:47:05 -08:00
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