| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.
Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Change-Id: I0ea45d114ef642bb50b0ea155cfc59f20da1f430
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| | |
contact dictionary."
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Also move some symbols around as per yaks' request.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
Also allow decoupling Quick Fixes from Suggestions and auto-complete.
|
|
|
|
|
|
|
| |
Since autotext is tied to the display language, if the input lang
is different from the display lang, don't apply autotext.
Bug: 2417495
|
|
|
|
| |
Copied the newArrayList method over to LatinIME.
|
| |
|
|
|
|
|
|
| |
new line.
Bug: 2384116
|
|
|
|
|
| |
Make it easy to add new words by tapping the word again.
Also, a small unbundling fix for vibration duration.
|
|
|
|
|
|
| |
This CL adds an aformentioned check to decide whether to show the mic button or not.
Change-Id: Idee6978b69777ac3118406219e96340d892c6508
|
|
|
|
| |
Also add a language-switch hint
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Needed for http://b/issue?id=2414236
|
|
|
|
| |
And fix a bug in opening keyboard settings when Voice is not available.
|
|
|
|
| |
Just guarding some calls with if (VOICE_INSTALLED). Also added an &, probably a typo.
|
|
|
|
|
| |
This will allow us to choose the right voice input language for the user
on the VoiceSearch side.
|
|\ |
|
| |
| |
| |
| | |
Bug 2417503
|
|/
|
|
| |
Also fix a visual bug with the dividers between suggested words.
|
|
|
|
| |
Forgot to upload this patchset in my last checkin.
|
|
|
|
|
| |
Let the arrows obscure the sliding language text to create the fade effect.
Initialize the preview icon bounds.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
previous text.
Bug: 2306114
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Additional mode for WEB_EDIT fields w/Tab key for next field.
Button assets refresh and fix for a highlight asset bug.
|
|
|
|
| |
Change-Id: I14506149def2f5b47fa2697aef49ff5cd41b64a8
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is a temporary solution until slide-on-space is implemented.
|
|
|
|
|
|
| |
388ce92ab8a635c5ad44620dad59baf05dfea510,
after it was clobbered by my overwrite of LatinIME with the voice version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
New feature to enable fast switching between input languages for
multilingual users. Keyboard settings lets you select a bunch of
languages to switch between from the Latin IME.
Use the Globe icon to toggle between languages.
Needs more work and some layout changes in specialized keyboards.
Also added a Russian keyboard (needs some pixel TLC at the right edge).
|