Commit Graph

21865 Commits (c44ca2ba8ce84c0ab6cc1605f72d1e0d0f2b9b22)

Author SHA1 Message Date
Jean-Michel Trivi 06933183c8 Fix bug 2553592 API REVIEW: android.speech
Change 3 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer

Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
2010-03-30 10:29:41 -07:00
Kenny Root 7f4f7b877a Merge "Import revised translations" into froyo 2010-03-30 09:35:14 -07:00
Kenny Root c39ae1d0e0 Import revised translations
Change-Id: If95d873337fa1f368fd098a5ba4497bff6dc65b6
2010-03-30 09:17:01 -07:00
Christopher Tate 4469600d28 Merge "Fix build: track the naming change" into froyo 2010-03-29 19:06:32 -07:00
Christopher Tate 1724ec0e89 Fix build: track the naming change
Change-Id: I73de0733fe988e5723828a2557b4648b8dd3f5b9
2010-03-29 19:05:59 -07:00
Amith Yamasani d079b98ec4 Fix build breakage due to api change
Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
2010-03-29 18:04:13 -07:00
Amith Yamasani 0c05902e33 Don't auto-add when in suggest-only mode. Bug: 2521344
Also don't highlight quickfixes when in suggest-only mode
In general, reduce the situations where words are auto-added. It was
too eagerly adding even words that were in the dictionary.
2010-03-24 19:31:49 -07:00
Amith Yamasani 4ff60be170 Write the auto dictionary data to disk in a background thread to avoid blocking the UI thread.
Bug: 2536846

This also potentially fixes the occasional hangs on pressing space. Need to verify.
Bug: 2509010
2010-03-23 16:21:46 -07:00
Roman Mitnitski c12588d40b Add hebrew keyboard to LatinIME
Bug: 2532052

Change-Id: Id2de988327fa3501e9049dc972a215b754bd3d91
2010-03-21 11:29:07 +02:00
Amith Yamasani bad436e93b Potential fix for extension keyboard not cleaning up bubbles sometimes.
This might also fix the keyboard closing suddenly when using the extension.
Re-enable bubble for landscape extension keyboard, since the framework can
now display it to the side.
2010-03-19 17:31:54 -07:00
Eric Fischer 7be15a1899 Merge "Import revised translations" 2010-03-18 10:54:02 -07:00
Kenny Root 1866d9ec83 Import revised translations
Change-Id: Id1db465dcf22f183bbf365f25905f408b51709f6
2010-03-17 22:16:48 -07:00
Amith Yamasani 6780b898ec Fix a StringIndexOutOfBounds. Bug: 2524050 2010-03-17 21:39:02 -07:00
Amith Yamasani 1ab409272b Merge "Remove popup for extension keyboard in landscape. bug: 2519903" 2010-03-17 17:09:14 -07:00
Amith Yamasani 1e5374e98b Remove popup for extension keyboard in landscape. bug: 2519903
Also add a summary text in the input language list for languages with
a dictionary so that users don't feel cheated when they pick a language
that doesn't happen to have a dictionary. Remove greek as it isn't an
extension of the QWERTY keyboard.
2010-03-17 17:02:28 -07:00
Amith Yamasani b248c2f7bf Remove the shared uid for LatinIME
Bug: 2512241

Since we cannot market update apps with shared uid, had to be removed.

Added READ_CONTACTS permission, now that it has a non-shared uid.
2010-03-16 14:01:52 -07:00
Amith Yamasani c3413faf92 Merge "Fix occasional correction errors in suggesting obvious corrections." 2010-03-16 12:24:13 -07:00
Fredrik Roubert b1cb13292f Update Swedish keyboard layout to not use external strings. 2010-03-15 18:42:24 +01:00
Maryam Garrett 4f1f2201bd Fixes the over-logging of TextModified
We were overlogging the TextMoified action because the old
implementation would log a cursor change as a text
modification. This CL logs 4 specific actions (choose
suggestion, delete text, insert text, insert punctuation)
as a text modification rather than any action in the textbox

I also add in logging of the length of the recognition result
so that we can get some more context around the scope of the
editing of the ime result.

Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
2010-03-15 12:18:08 -04:00
Amith Yamasani 231cacd080 Fix occasional correction errors in suggesting obvious corrections.
Bug: 2513996

The array of adjacent letters did not have the primary code in the first
position. Swap the codes around to make the primary the first one.

Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
2010-03-14 22:53:16 -07:00
Amith Yamasani 6c2f9f5ba7 Fix bug: 2512075 : Current input language resets to first in list on orientation change
Have separate variables for system locale and input locale.
2010-03-12 17:29:23 -08:00
Amith Yamasani 3656fb7987 Fix Russian keyboard layout, bug: 2509080
Also add a similar Swedish keyboard layout, contributed by Fredrik.
2010-03-12 14:14:29 -08:00
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