Commit Graph

31461 Commits (cc9b60401e4d2f7b1895ae218eb3a952030325f1)

Author SHA1 Message Date
Jean Chalard 2660b70f80 Merge "Enrich the Spanish dictionary." 2014-06-03 14:24:39 +00:00
Jean Chalard ff3e488e1e Enrich the Spanish dictionary.
Enrich the dictionary with many words generated from stems
extracted from the dictionary and rules written by hand.
This adds 45,619 words to the dictionary. Hopefully, almost none
of them is incorrect, though a lot are not very common.

Bug: 8010862
Change-Id: I51c7ebd16ff859ec1e765b0604dd1cfca159ab08
2014-06-03 22:48:19 +09:00
Tadashi G. Takaoka ae0fab9550 Load KeyCodeDescriptionMapper class lazily
Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe
2014-06-03 18:15:59 +09:00
Tadashi G. Takaoka 0621dd1d3c Update shift key backgrounds for LXX_Dark
Bug: 15310025
Change-Id: I2fa267e5c448e28435f4737666a03b40f1f4a4d5
2014-06-03 16:34:35 +09:00
Tadashi G. Takaoka 9a2162e6f2 Merge "Fix synthesizing MotionEvent" 2014-06-03 07:32:52 +00:00
Tadashi G. Takaoka 2351b4f74f Fix synthesizing MotionEvent
KeyboardAccessibilityDelegate.synthesizeTouchEvent() wrongly passed
pointer's id as a 6th argument of MotionEvent.obtain method that
should be metaState.

Change-Id: I822f9647a1ba27ee8cee39f373f6a1c003ebf665
2014-06-03 14:46:36 +09:00
Tadashi G. Takaoka 7a750ca50d Fix PointerTracker debug output to reflect new KeyDetector
Change-Id: I913ec290ddfd0ae4cc6e600ba95b7442167f0989
2014-06-03 14:32:40 +09:00
Tadashi G. Takaoka a32803cefe More concise Key.toString()
Change-Id: I0ef983f54e828193e9c7e4a10c888f72702d499c
2014-06-03 13:32:42 +09:00
Baligh Uddin 9b3b126352 Import translations. DO NOT MERGE
Change-Id: Iffe895ca4827bb7e1addf1087c74c9023d2f130f
Auto-generated-cl: translation import
2014-06-02 17:47:25 -07:00
Baligh Uddin 4e42d5690f Import translations. DO NOT MERGE
Change-Id: I5af9740ea071063bb48738abe258a61d7e06ddae
Auto-generated-cl: translation import
2014-06-02 17:42:13 -07:00
Tadashi G. Takaoka d427d3b0fa Merge "Create AccessibilityDelegate only when accessibility mode is on" 2014-06-02 10:12:52 +00:00
Jean Chalard 28538d916c Merge "Fix an IOOB exception" 2014-06-02 10:07:12 +00:00
Tadashi G. Takaoka d78b586976 Create AccessibilityDelegate only when accessibility mode is on
Change-Id: I4cbae476d16723778b46ff765dd97832f279785f
2014-06-02 18:53:58 +09:00
Jean Chalard d660f3bec9 Fix an IOOB exception
Bug: 14602663
Change-Id: Ie2060931df911b44230d5a5ba268f687cbdd0dc8
2014-06-02 18:21:50 +09:00
Tadashi G. Takaoka a021395e84 Pass hover event to accessibility key handling methods
Bug: 12491371
Change-Id: I1f7feef707b95e8862db71cbc4f6f5585a2441dd
2014-06-02 17:13:47 +09:00
Tadashi G. Takaoka d0b79cc12a Add verbalization of symbols that are unsupported by TTS/TalkBack
Bug: 13336905
Change-Id: Iefd117fa7b30b8ba240590b13b03d7044fd37ede
2014-06-02 17:02:38 +09:00
Tadashi G. Takaoka 82674ca81c Fix to clear on hover visual cue
Bug: 12491371
Change-Id: Ib7ca91ae73aa40e45ea5f6d4e53348a261a4b823
2014-06-02 14:57:52 +09:00
Tadashi G. Takaoka fa9b9578d4 Refactor MoreKeysKeyboardView a bit
Bug: 12491371
Change-Id: I3ce1e6557e41a94146b882751f75ae4b5f6bc73d
2014-06-02 12:41:50 +09:00
Tadashi G. Takaoka 509d07c764 am 61a8a66c: Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev
* commit '61a8a66ccac1de7e146344dd77c8be84aa8daf33':
  Workaround to draw spacebar icon of emoji palettes
2014-05-30 15:03:10 +00:00
Tadashi G. Takaoka dc1d4455fe am ee4cc67e: Update shift key icon for LXX_Dark
* commit 'ee4cc67e260a1d2397abd83820f72906c1871751':
  Update shift key icon for LXX_Dark
2014-05-30 15:03:09 +00:00
Tadashi G. Takaoka 61a8a66cca Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev 2014-05-30 14:59:22 +00:00
Tadashi G. Takaoka 3558505bee Workaround to draw spacebar icon of emoji palettes
Bug: 15321822
Change-Id: Iab7cef83ffdf91c877c3ed2e59d412496b516e1c
2014-05-30 22:53:24 +09:00
Tadashi G. Takaoka ee4cc67e26 Update shift key icon for LXX_Dark
Bug: 15310025
Change-Id: I20bde50a2e751a5cd9871debd5ed1df0334c78e2
2014-05-30 22:03:08 +09:00
Keisuke Kuroyanagi 83d2bc656f Merge "Make prevWord = null if the next word starts from a connector." 2014-05-30 11:40:56 +00:00
Keisuke Kuroyanagi 8f71fab2ed Make prevWord = null if the next word starts from a connector.
This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.

Bug: 14119293
Bug: 15334309

Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
2014-05-30 20:30:17 +09:00
Tadashi G. Takaoka 9c45e178c7 am ba8836a9: Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev
* commit 'ba8836a926a566a1c9f8a11c79dd0e06d0fb0485':
  Update action key backgrounds for LXX_Dark
2014-05-30 11:24:10 +00:00
Tadashi G. Takaoka ce8da614a6 am db2d6a20: Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev
* commit 'db2d6a202125bff92be495408babbb0c86bfb398':
  Update enter and send icons for LXX_Dark
2014-05-30 11:24:09 +00:00
Tadashi G. Takaoka c96eddaa6e am 3d5a72eb: Update spacebar icon of LXX_Dark
* commit '3d5a72ebe20b4cab415c43c8022427b7618d8519':
  Update spacebar icon of LXX_Dark
2014-05-30 11:24:08 +00:00
Tadashi G. Takaoka ba8836a926 Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev 2014-05-30 11:01:25 +00:00
Tadashi G. Takaoka 523b55ac52 Update action key backgrounds for LXX_Dark
Bug: 15295839
Change-Id: I77206c88c38a31193db97ce42c9d00fc25c7ff58
2014-05-30 19:57:30 +09:00
Tadashi G. Takaoka db2d6a2021 Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev 2014-05-30 10:56:10 +00:00
Tadashi G. Takaoka 0b0fbe752a Update enter and send icons for LXX_Dark
Bug: 15298065
Bug: 15327280
Change-Id: I4dfade1afe3578e29daba777567f81d4ec782956
2014-05-30 19:28:46 +09:00
Tadashi G. Takaoka 3d5a72ebe2 Update spacebar icon of LXX_Dark
This CL does't fix Bug: 15321822 though.

Bug: 15298065
Bug: 15321822
Change-Id: Ie6ab1e230c1657317dc06193da598f04f682f521
2014-05-30 19:03:57 +09:00
Jean Chalard fa0e76dde6 Limit recapitalization for reasonable performance.
At 100k text, it's reasonably fast (less than 1s on latest hardware).

Bug: 12913404
Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0
2014-05-30 18:04:39 +09:00
Tadashi G. Takaoka 6fe326ae42 am 761a6812: Don\'t reuse main keyboard\'s spacebar icon for Emoji palette
* commit '761a6812312c48d04bcb91e5c4448364c4925731':
  Don't reuse main keyboard's spacebar icon for Emoji palette
2014-05-29 15:06:36 +00:00
Tadashi G. Takaoka 761a681231 Don't reuse main keyboard's spacebar icon for Emoji palette
Bug: 15321822
Change-Id: I6a5a865364fb98e0ebb6206d80d5629bbcb817b8
2014-05-29 23:32:03 +09:00
Jean Chalard d0d3d813d2 Fix tests
DEBUG in LatinIME has been changed by Ie52007dc to mean both
DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL
instead of just DEBUG_MODE as used to be the case. Tests depend
on the debug mode to test many things and they make sure they run
in debug mode or they fail. This has tests understand the change in
policy.

Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6
2014-05-29 22:15:56 +09:00
Tadashi G. Takaoka d9190f8e8f am cdc7273b: Update action key background
* commit 'cdc7273b44b7d5fc5a1c848fb68960cee02c4f99':
  Update action key background
2014-05-29 13:09:29 +00:00
Jean Chalard 99ac090738 Fix the build.
Change-Id: Ie1cdc5642d8b6f63dbf71603b993f36b5c5f923c
2014-05-29 21:51:49 +09:00
Tadashi G. Takaoka cdc7273b44 Update action key background
Bug: 15295839
Change-Id: Ia4af33b00bf361d088981df907468b4a61c1a076
2014-05-29 21:38:59 +09:00
Tadashi G. Takaoka aaf2bbf9c3 Merge "Remove LatinImeLogger and UsabilityStudyLogUtils" 2014-05-29 09:33:25 +00:00
Tadashi G. Takaoka 51ee5a47b8 Remove LatinImeLogger and UsabilityStudyLogUtils
This CL must be checked in together with Ie52007dc5c.

Bug: 15318007
Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
2014-05-29 18:03:03 +09:00
Keisuke Kuroyanagi c4a3b9f0d6 Merge "Remove PrioritizedSerialExecutor." 2014-05-29 08:52:23 +00:00
Jean Chalard 944923f266 Fix: too many calls to getSuggestedWordsForTypingInput
This reverts commit d941ea18 and builds on it to fix the behavior
of the broken cases.
It also fixes a small, related bug that probably has existed for
a very long time: predictions not displayed when cancelling
double-space-to-period.

Bug: 15148015
Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
2014-05-29 17:36:46 +09:00
Keisuke Kuroyanagi 94f88b4881 Remove PrioritizedSerialExecutor.
Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
2014-05-29 17:36:32 +09:00
Keisuke Kuroyanagi b9a3775203 Merge "Add PersonalizationDictionaryTests." 2014-05-29 07:37:47 +00:00
Keisuke Kuroyanagi 8d0a0d1f3e Add PersonalizationDictionaryTests.
Bug: 11778342
Change-Id: Ice88f439ae11714e5ec9dd3b7616d0c2d59ea812
2014-05-29 16:33:21 +09:00
Tadashi G. Takaoka 262b1e7518 Merge "Remove researcher logger" 2014-05-29 07:30:16 +00:00
Tadashi G. Takaoka bbf556e8e1 Remove researcher logger
This CL must be checked in together with I5cc76807e3.

Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
2014-05-29 15:10:28 +09:00
Jean Chalard 6dc21bd4e6 Merge "Disable a test that fails for an unknown reason" 2014-05-29 05:39:42 +00:00