Commit Graph

358 Commits (7e615228dedcdf2b390297e2cdfd04ecf9d6ba71)

Author SHA1 Message Date
Amith Yamasani 7e615228de Merge "Tests and some new constructors to help in testing." 2010-05-07 13:43:11 -07:00
Amith Yamasani e4e1130d00 Tests and some new constructors to help in testing.
Added tests for the dictionary lookup and correction logic on the primary dictionary.
This exercises part of the Suggest class and the native dictionary lookup code.
2010-05-07 13:40:20 -07:00
satok 4c3ff1a760 am a8e487be: am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:53:20 -07:00
satok a8e487be4c am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo
Merge commit 'd6b80c6ed4433d66381501cd0a00813647261a6c' into froyo-plus-aosp

* commit 'd6b80c6ed4433d66381501cd0a00813647261a6c':
  Fix hardcoded "isDefault" setting
2010-05-07 10:34:41 -07:00
satok d6b80c6ed4 Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:32:51 -07:00
satok 8a3f6dfba9 Fix hardcoded "isDefault" setting
Bug:2661261

- Changed true to @bool/im_is_default
- isDefault was changed in https://android-git.corp.google.com/g/#patch,sidebyside,37627,3,res/xml/method.xml by mistake

Change-Id: Id1c20c292bed27523fb41f32514f2abdee11f992
2010-05-07 18:00:45 +09:00
Dan Bornstein f53d0da540 resolved conflicts for merge of 1633fa9b to master
Change-Id: Ifa5d216091696b90ecc215ca4fd6110e79bbdf99
2010-05-05 18:51:29 -07:00
Dan Bornstein 1633fa9bfc am 3d23421c: Merge "For issue #2651381, allow library prelinking." into froyo
Merge commit '3d23421c1171e5c04691c2e128c9fb86a4082dfa' into froyo-plus-aosp

* commit '3d23421c1171e5c04691c2e128c9fb86a4082dfa':
  For issue #2651381, allow library prelinking.
2010-05-05 17:50:10 -07:00
Dan Bornstein 3d23421c11 Merge "For issue #2651381, allow library prelinking." into froyo 2010-05-05 16:55:50 -07:00
Dan Bornstein bf45d3619f For issue #2651381, allow library prelinking.
Change-Id: If7015f2fa5932f69807797ffcc496550d5cb1630
2010-05-05 09:38:52 -07:00
Amith Yamasani dbab992963 am b1068051: am f0296426: Don\'t auto-select the system language in IME language selection screen. 2010-05-04 13:08:44 -07:00
Amith Yamasani b1068051c7 am f0296426: Don\'t auto-select the system language in IME language selection screen.
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp

* commit 'f02964264f196447b03a88591a2964b67c318718':
  Don't auto-select the system language in IME language selection screen.
2010-05-04 12:05:33 -07:00
Amith Yamasani 249cfdaa64 Merge "Adds the basic Serbian files to LatinIME." 2010-05-03 21:30:03 -07:00
Amith Yamasani f02964264f Don't auto-select the system language in IME language selection screen.
Fixes http://b/2650378

On entering the selection screen, don't add the system language in addition
to other selected languages.

Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-05-03 14:13:34 -07:00
Filip Miletic 8f3106e276 Adds the basic Serbian files to LatinIME.
- Adds the Serbian keyboard layout.
- Adds the Serbian translatio to strings.xml.

Change-Id: I29739f422fd58d31fd2e5213b72908dd1f617805
2010-05-02 22:51:34 -07:00
Kenny Root d96df289a4 am 8701305f: am 221d99c8: Merge "Import revised translations" into froyo 2010-04-28 09:54:01 -07:00
Kenny Root 8701305f4f am 221d99c8: Merge "Import revised translations" into froyo
Merge commit '221d99c891b1ea0955957849abc5df3019cb18c7' into froyo-plus-aosp

* commit '221d99c891b1ea0955957849abc5df3019cb18c7':
  Import revised translations
2010-04-28 09:32:58 -07:00
Kenny Root 221d99c891 Merge "Import revised translations" into froyo 2010-04-28 08:07:51 -07:00
Amith Yamasani dd7a2cb283 am afae9b25: am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268 2010-04-27 18:56:38 -07:00
Kenny Root 0dfa3e6dad Import revised translations
Change-Id: I1050cb361860cbea36bba762d37b4558dee8cecb
2010-04-27 14:30:47 -07:00
Amith Yamasani afae9b251e am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268
Merge commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f' into froyo-plus-aosp

* commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f':
  Remove .com key from URL and Email address keyboards. Bug: 2630268
2010-04-27 13:10:01 -07:00
Amith Yamasani 6aab33105a Remove .com key from URL and Email address keyboards. Bug: 2630268
Have the spacebar be normal width and remove the .com keys.

Change-Id: I470ee4ffa2c84b91e3207e016c99bc66b34ef564
2010-04-27 11:30:17 -07:00
Ken Wakasa 826269c8ae Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3.
Change-Id: I0d2d3a0e262847d6948a0336a35440e21e312ad2
2010-04-27 22:23:03 +09:00
Ken Wakasa f1abb8ce3c Get rid of code taken from bionic to avoid license issue.
Change-Id: If96f4247edbc7b1e9f7418d2ddef191618a54ae3
2010-04-23 01:24:09 +09:00
Ken Wakasa 707505ec18 A part of efforts of unbundling LatinIME: Get rid of ICU dependency in the native code.
This is actually a back merge from the LatinIME sandbox.  Please refer to
http://arvarest.i.corp.google.com:8080/#change,77

Change-Id: I3ff3781903d5c642c662c2d744f808be7e4d8997
2010-04-21 22:43:17 +09:00
Amith Yamasani 857cde9007 am 335a0c55: am 938c1782: Fix for hanging extension keyboard. Bug: 2593488 2010-04-15 17:00:07 -07:00
Amith Yamasani 335a0c5511 am 938c1782: Fix for hanging extension keyboard. Bug: 2593488
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp

* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
  Fix for hanging extension keyboard. Bug: 2593488
2010-04-15 16:48:13 -07:00
Amith Yamasani 938c178215 Fix for hanging extension keyboard. Bug: 2593488
Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.

Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
2010-04-15 14:44:22 -07:00
Kenny Root 228e817578 am 41c2b30a: am 48832c86: Import revised translations 2010-04-15 13:31:38 -07:00
Valentin Kravtsov 17450fd29b am b98c17a7: am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform 2010-04-15 06:36:59 -07:00
Kenny Root 41c2b30a34 am 48832c86: Import revised translations
Merge commit '48832c860377e5515be6ccf57fce9299a408584a' into froyo-plus-aosp

* commit '48832c860377e5515be6ccf57fce9299a408584a':
  Import revised translations
2010-04-15 05:59:54 -07:00
Kenny Root 48832c8603 Import revised translations
Change-Id: I2d221b9501462110848592e76c6bd8490f2b209e
2010-04-14 20:34:58 -07:00
Valentin Kravtsov b98c17a7a9 am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform
Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp

* commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3':
  Fix for: For Voice IME busy circle displayed below waveform
2010-04-14 12:01:40 -07:00
Amith Yamasani bb488c1476 Merge "Add hebrew keyboard to LatinIME Bug: 2532052" 2010-04-13 10:06:22 -07:00
Valentin Kravtsov f9d0f3a81a Fix for: For Voice IME busy circle displayed below waveform
bugfix for: http://b/issue?id=2568048

[Sapphire] ]For Voice IME busy circle displayed below waveform.
STEPS TO REPRODUCE:
1. launch Calendar . -> Select menu -> New Event.
2.  Switch soft keyboard to Number view.
3.  Tap on mic symbol of  to speak
4. Speak any word to enter in Text field .
5. Verify busy icon ( circular icon ) displayed in "working " screen.

EXPECTED RESULTS:
 Busy circle should be displayed in center of waveform

OBSERVED RESULTS:
 Busy circle displayed below waveform

ADDITIONAL INFORMATION:
 Spoken word is enetering in text field correctly.

Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
2010-04-12 21:02:27 +01:00
Amith Yamasani 97f4b4ad34 am c2b8c16b: Possible fix for monkey bug: 2529350
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp

* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
  Possible fix for monkey bug: 2529350
2010-04-06 12:39:02 -07:00
Amith Yamasani 4f695092a2 am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp

* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
  Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
2010-04-06 12:38:59 -07:00
Amith Yamasani c2b8c16bdf Possible fix for monkey bug: 2529350
Don't try to show the extension if the main keyboard is not showing.

Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
2010-04-06 11:22:19 -07:00
Amith Yamasani 3e0c82ec80 Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.

Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
2010-04-06 11:14:03 -07:00
Jean-Baptiste Queru 443c360d0a Clarify licensing
-use AOSP copyright instead of Google
-add NOTICE and tag file

Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
2010-04-05 09:47:36 -07:00
Amith Yamasani dad0e792aa Fix for 2559069 IME ".com" should be erasable with one backspace
Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
2010-04-01 06:28:52 -07:00
Amith Yamasani 0fef498a07 Treat fast moves as multi-touch. Bug: 2561786
Detect sudden moves that have a large delta that would not be a typical drag
by the user when hunting for a key. Drop move events until the user releases
the touch and register both starting and ending keys instead of only the
ending key. This reduces the frequency of dropped keys on touch hardware that
isn't able to detect multi-touch reliably.

This also takes into account diagonal moves or right angled moves due to
pseudo-multi-touch.

It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully,
  otherwise it will trigger 2 keys)

Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
2010-03-31 15:18:17 -07:00
Amith Yamasani fbd1866424 Avoid race conditions between queries and closing of the auto_dict database.
Keep a reference to the openhelper around across locale and input language
changes. Also, share the openhelper between the queries and updates. Creating
a new one in a separate thread could cause it to be closed at the wrong time.

Monkey bugs, probably dupes.

Bug: 2560471
Bug: 2544169
Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
2010-03-31 14:01:59 -07:00
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