Commit Graph

34091 Commits (c71e4d65343bf782d80ce508786befa6ee3261cf)

Author SHA1 Message Date
Tadashi G. Takaoka 53b6d627e7 Refactor PointerTracker and MainKeyboardView
This CL reorganize the key press/release state visual drawing code.

Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Keisuke Kuroyanagi 1f8d4f47e4 Implement ArgumentsParser::parseArguments and add tests.
Bug: 10059681
Change-Id: I6511a46c879d7a52d0bb4fcab445a66bc40db98c
2014-11-21 12:25:30 +09:00
Tadashi G. Takaoka ebe5b42f71 Make LocaleUtils.constructLocaleFromString as @Nonnull
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00
Jean Chalard 4195567d24 Merge "Annotate the typed word with its source dictionary" 2014-11-20 09:49:18 +00:00
Jean Chalard a7efe06208 Annotate the typed word with its source dictionary
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
2014-11-20 18:31:01 +09:00
Tadashi G. Takaoka f8705dd2bd Fix unit test failure due to translation glitch
Once the translation strings are updated, the uni test starts
failing. Then this CL should be reverted.

Change-Id: I884663feaa53998a98dd0e488ae8e3e6d0ad4ffd
2014-11-20 17:05:21 +09:00
Tadashi G. Takaoka a66069abd8 Fix possible NPE in MainKeyboardView
Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
2014-11-20 15:07:28 +09:00
Jean Chalard a94733cbca Fix an NPE.
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard 1d80cb2301 Merge "Fix a NPE" 2014-11-20 05:28:47 +00:00
Jean Chalard a2cb2f36a6 Make the typed word a SuggestedWordInfo
That allows to carry the language information in an
accurate manner.

Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
2014-11-20 13:57:01 +09:00
Jean Chalard 0e00f5fe3a Fix a NPE
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
2014-11-20 13:50:27 +09:00
Geoff Mendal 7cca01aa1d Merge "Import translations. DO NOT MERGE" 2014-11-19 17:51:56 +00:00
Geoff Mendal 317291f1ce Import translations. DO NOT MERGE
Change-Id: Ia452550ea624897c092ef024c1d8b0dad4eabacf
Auto-generated-cl: translation import
2014-11-19 09:45:03 -08:00
Geoff Mendal dc7485f5cb Import translations. DO NOT MERGE
Change-Id: Iddd628f70020ed3bf60baa4331418b91f3920eb3
Auto-generated-cl: translation import
2014-11-19 09:41:07 -08:00
Tadashi G. Takaoka 59867a8fdb Merge "Cleanup StringAndJsonUtilsTests" 2014-11-19 10:26:44 +00:00
Jean Chalard 8736f2d719 Merge "Fix oscillations on ICS" 2014-11-19 10:23:28 +00:00
Jean Chalard 9444d70514 Fix oscillations on ICS
Bug: 18181427
Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
2014-11-19 19:22:04 +09:00
Tadashi G. Takaoka cae324c561 Cleanup StringAndJsonUtilsTests
Change-Id: I7d35492c439c9419915251387b0c12e205740586
2014-11-19 19:08:13 +09:00
Tadashi G. Takaoka 6c47403e27 Rename StringUtils methods that handle title case manipulation
Change-Id: Iee0dd077a0423f110f4f8dad0f04933045baef2a
2014-11-19 19:08:05 +09:00
Tadashi G. Takaoka 0cf0bfaa75 Merge "Fix Greek accented upper case letters" 2014-11-19 09:29:20 +00:00
Tadashi G. Takaoka f62b5d633d Fix Greek accented upper case letters
Bug: 18418991
Change-Id: I7b34b126bec70300c83e17bea39e1036de4bf7c2
2014-11-19 17:57:10 +09:00
Jean Chalard a39ecd071c Merge "Fix the base character of D with stroke" 2014-11-19 08:30:34 +00:00
Jean Chalard fde0cce103 Merge "Remove the other deprecated constructor to SuggestedWords" 2014-11-19 08:30:03 +00:00
Jean Chalard 2a3ed8c988 Fix the base character of D with stroke
Bug: 18436480
Change-Id: Ic92cae7c85c07c8f62a5b6e69d2b71e204aff50d
2014-11-19 17:26:00 +09:00
Tadashi G. Takaoka b9116af29f Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
2014-11-19 11:57:49 +09:00
Tadashi G. Takaoka 5c6766a58d Remove preliminary mark from Bengali Akkhor keyboard
Bug: 16143057
Change-Id: I4f048a15b8b810f47622c8ec87773ff7470d20f2
2014-11-18 18:42:39 +09:00
Jean Chalard 6d1201915d Rename a confusing method name
...and fix a bug that happened because of it.

Bug: 18417740
Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
2014-11-18 11:52:35 +09:00
Keisuke Kuroyanagi fdf92789c1 Merge "Add unit tests for ArgumentsParser.validateSpecs()." 2014-11-17 23:02:52 +00:00
Keisuke Kuroyanagi 681dbc295b Add unit tests for ArgumentsParser.validateSpecs().
Bug: 10059681
Change-Id: I3ba5d856ad679e32dd3360863335c436ad6e7301
2014-11-18 07:52:01 +09:00
Ken Wakasa 9ef17c4b5a Merge "Revert "Follow up to https://android-review.googlesource.com/114561"" 2014-11-17 22:21:41 +00:00
Ken Wakasa fc81196741 Revert "Follow up to https://android-review.googlesource.com/114561"
This reverts commit 64d3f78ee5 per https://android-review.googlesource.com/114664

Change-Id: I2acab828d41e79847db72f8d2677c12173a323b6
2014-11-17 22:18:03 +00:00
Ken Wakasa 1a8ae0549d Merge "Follow up to https://android-review.googlesource.com/114561" 2014-11-17 10:05:34 +00:00
Tadashi G. Takaoka 76f47ee433 Merge "Refactor KeyboardState.SavedKeyboardState class a bit" 2014-11-17 10:00:02 +00:00
Ken Wakasa 64d3f78ee5 Follow up to https://android-review.googlesource.com/114561
Looks like unbundled builds need to use --hash-style=sysv for the
sake of compatibility

Change-Id: Ia7b3a1cc3b2c91a8628551888a74925926dff855
2014-11-17 18:29:13 +09:00
Tadashi G. Takaoka 81dde500a8 Merge "Remove deprecated Canvas.clipRegion(Region) call" 2014-11-17 09:05:12 +00:00
Jean Chalard 83f9524b87 Remove the other deprecated constructor to SuggestedWords
Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
2014-11-17 16:23:52 +09:00
Keisuke Kuroyanagi e7a72de8c2 Merge "Define arguments for commands in dicttoolkit." 2014-11-16 17:23:56 +00:00
Keisuke Kuroyanagi 79273b0477 Define arguments for commands in dicttoolkit.
Bug: 10059681
Change-Id: I1ceaeeaa9e2055c357fe969818498de9d6288862
2014-11-15 09:58:19 +09:00
Adrian Velicu 37f5b0d4ff Bumping metadata database version to 11.
Change-Id: I19e2f701f3e2334355bfd7105f9b62dcb53cc209
2014-11-14 15:14:21 -08:00
Adrian Velicu 91a81a2790 More verbosity when reporting broken dictionaries
Also added toString for AssetFileAddress for easier debugging.

Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3
2014-11-14 13:42:24 -08:00
Tadashi G. Takaoka 0179b8ed7f Merge "Fix emoji key background of Holo themes" 2014-11-14 18:14:09 +00:00
Adrian Velicu 39d50e7e7a Merge "UpdateHandler to support v202 dicts." 2014-11-14 03:45:32 +00:00
Jatin Matani d60f9c046e Merge "Implement UserHistoryDictionary for each user account." 2014-11-14 00:46:37 +00:00
Tadashi G. Takaoka 6030d4f0f4 Fix emoji key background of Holo themes
Bug: 18361310
Change-Id: Ie56f2af8fc43499d1fa1d505fb4941cd5dba1395
2014-11-13 16:32:18 -08:00
Jatin Matani 5365191a9d Implement UserHistoryDictionary for each user account.
UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:

UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict

Example
UserHistoryDictionary.en_US.testaccount@example.com.dict

Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
2014-11-13 14:21:38 -08:00
Geoff Mendal 80c4e0f68a Merge "Import translations. DO NOT MERGE" 2014-11-13 03:49:12 +00:00
Geoff Mendal f3fe782677 Import translations. DO NOT MERGE
Change-Id: I68454cd9f59632e0c3a19635054a89c6f05142ee
Auto-generated-cl: translation import
2014-11-12 19:41:21 -08:00
Keisuke Kuroyanagi 52582a22d1 Merge "Add OffdeviceIntermediateDictHeader." 2014-11-13 01:59:10 +00:00
Keisuke Kuroyanagi 99754e2d3e Add OffdeviceIntermediateDictHeader.
Used to have header information in OffdeviceIntermediateDict.

Bug: 10059681

Change-Id: I966c26e514ddd229cf5597d3b96941234c530863
2014-11-13 01:57:42 +00:00
Keisuke Kuroyanagi bae0fff04a Merge "Utf8Utils for dicttoolkit." 2014-11-13 01:56:56 +00:00