Jean Chalard
a72e8f1ede
[RF3] Cleanups
...
Make the version number a single number on native and java side.
Also, remove the hasValidContents method. It's useless since the
native code already checks this when creating the dictionary (I
wish I had known that when I added it).
Bug: 11281748
Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
2013-12-06 14:53:03 +09:00
Jean Chalard
cb27d955f3
Merge "[RF2] Some refactoring and some cleanup"
2013-12-06 04:30:25 +00:00
Jean Chalard
b8481456f2
[RF2] Some refactoring and some cleanup
...
Bug: 11281748
Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
2013-12-06 13:06:49 +09:00
Tadashi G. Takaoka
08b84a6bed
Fix background of ".com" key on tablet symbols
...
Bug: 12023755
Change-Id: I9eb8c1e5c637ddc6f0f36b783fcb289b5865ac22
2013-12-06 12:16:25 +09:00
Tadashi G. Takaoka
6300168cb8
Fix puctuations more keys on Spanish/Phone
...
Bug: 11918360
Change-Id: I01e1c1e2a1953855bd2b009fc2d82e18cdde7140
2013-12-05 18:54:29 +09:00
Tadashi G. Takaoka
4cd86d3bb4
Cleanup exclamation and questuion keys
...
Bug: 11918360
Change-Id: I00731a273beea6dbc300dc215996dcadd97f17e2
2013-12-05 18:53:32 +09:00
Tadashi G. Takaoka
624fcde18b
Cleanup comma key of Arabic/Farsi
...
Bug: 11918360
Change-Id: I4ab373d8fc012fd77a388a067d7f5d99d8247299
2013-12-05 18:15:45 +09:00
Tadashi G. Takaoka
3064b831e6
Merge "Separate symbols comma-period from main keyboard ones"
2013-12-05 09:02:00 +00:00
Tadashi G. Takaoka
72ce5fdcf6
Remove puctuationKeyStyle key style definition
...
This change also separates period key definition from row_qwerty4.
Bug: 11918360
Change-Id: I7156be7098987f8447698a57af84e2ea3fc595f6
2013-12-05 17:31:06 +09:00
Tadashi G. Takaoka
e7296d4bf4
Separate symbols comma-period from main keyboard ones
...
Bug: 11918360
Change-Id: Ia96230d1eb692bbc61842f1cd12ba980d5487017
2013-12-05 13:52:03 +09:00
Tadashi G. Takaoka
c8a7a7dce3
Merge "Fix size of AOSP launcher icon"
2013-12-05 04:51:24 +00:00
Tadashi G. Takaoka
f6b479d482
Add exclamation/question marks to Hebrew tablet keyboard
...
Bug: 11918360
Change-Id: I226f8fbb2177f472f69b56faca2a141687734494
2013-12-05 12:47:47 +09:00
Tadashi G. Takaoka
401951849f
Fix size of AOSP launcher icon
...
Bug: 11975011
Change-Id: I5463d4a9f386ca053a81883c2e0b3f999e4bdbb2
2013-12-05 10:01:14 +09:00
Tadashi G. Takaoka
1eb63684f9
Merge "Add workaround to prevent ViewPager from crashing"
2013-12-04 09:05:07 +00:00
Tadashi G. Takaoka
5086275d39
Add workaround to prevent ViewPager from crashing
...
Bug: 11721001
Change-Id: I0824f82c30a288a3c1f0ea69e07f10bdeb744bbc
2013-12-04 17:46:15 +09:00
Tadashi G. Takaoka
8b6c096f39
Merge "Fix wrong padding of some background drawables"
2013-12-04 08:23:05 +00:00
Jean Chalard
743c7e0e6e
Merge "[RF1] Remove files that don't match the expected format, step 1"
2013-12-04 08:19:26 +00:00
Keisuke Kuroyanagi
c63f2762cc
Merge "Start to use historical info."
2013-12-04 08:03:53 +00:00
Tadashi G. Takaoka
2b74e8cd01
Fix wrong padding of some background drawables
...
Bug: 11796504
Change-Id: I68caed78a84315eb80ae9247d2a38cd2aeb80f22
2013-12-04 16:20:14 +09:00
Jean Chalard
5e80e699c4
[RF1] Remove files that don't match the expected format, step 1
...
This implements the skeleton implementation, and enables a
fallback implementation in the case the file is coming from the
dictionary provider.
- A better scheme should be used for provider-supplied dicts.
- This does not implement the solution for device-generated
dicts yet. This will come in a future change.
- This does not implement the checking process on the native
side yet. This will come in a future change.
Bug: 11281748
Change-Id: Ifa6e237d19dfbffe503e3674915480ea867b0ddf
2013-12-04 16:19:55 +09:00
Keisuke Kuroyanagi
cddb753b3e
Merge "Quit using obsolete methods for testing."
2013-12-04 07:08:23 +00:00
Tadashi G. Takaoka
d3fb12e7e2
Merge "Revise AOSP Android Keyboard launcher icon"
2013-12-04 07:06:20 +00:00
Keisuke Kuroyanagi
e33072eb50
Quit using obsolete methods for testing.
...
Bug: 11073222
Change-Id: I77c99fbea2f255dbfddb646b6e12bee574647eca
2013-12-04 16:03:53 +09:00
Keisuke Kuroyanagi
4d68867839
Start to use historical info.
...
Bug: 11073222
Change-Id: I232d41bec5df7952856b5ba4765977707c39b94a
2013-12-04 12:52:58 +09:00
Tadashi G. Takaoka
8e1f0bcfb2
Revise AOSP Android Keyboard launcher icon
...
Bug: 11975011
Change-Id: Idc083b670ccbd956bfbacf25317c6541ab73c633
2013-12-04 12:51:17 +09:00
Tadashi G. Takaoka
7081a36e2f
Merge "Add spacebar background drawable"
2013-12-04 03:47:41 +00:00
Tadashi G. Takaoka
dc337df48c
Add spacebar background drawable
...
Bug: 11106827
Change-Id: Ic6e0b6bd9187901b01d64296db816afa73da9ffd
2013-12-04 12:31:10 +09:00
Keisuke Kuroyanagi
a0befc6490
Start passing timestamp for dynamic dictionaries.
...
Bug: 11073222
Change-Id: I89e1277f734d5959e33d61e7e9e7048084b9007a
2013-12-04 11:57:45 +09:00
Ken Wakasa
aac4a8094f
Merge "Revert "Import translations. DO NOT MERGE""
2013-12-03 11:15:53 +00:00
Ken Wakasa
a15ea70075
Revert "Import translations. DO NOT MERGE"
...
This reverts commit 7d587e61a1
.
Change-Id: I00cb2b54fb98e18a26572b210f90d98c0fbef711
bug: 11978309
2013-12-03 11:14:37 +00:00
Ken Wakasa
64ead8d293
Merge "Add required header attributes for user/contacts dictionary."
2013-12-03 10:23:51 +00:00
Keisuke Kuroyanagi
8bfc8c46ff
Add required header attributes for user/contacts dictionary.
...
Bug: 11973488
Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
2013-12-03 19:22:17 +09:00
Jean Chalard
25848af556
Tiny refactoring
...
Add a warning comment and make it so that openNative()
is only called in one place in the code.
Bug: 11281748
Change-Id: Ic7819a01deb62cf145ebf9d620da2d15fae19313
2013-12-03 17:46:56 +09:00
Tadashi G. Takaoka
dfd9182b15
Move launcher icon from mipmap to drawable
...
Bug: 11106827
Change-Id: I45e64759ce095669be557957fa27eb7f9933e188
2013-12-03 12:44:06 +09:00
Tadashi G. Takaoka
6d9e273fb5
Separate common config and dimensions resources
...
Change-Id: Ia16880e818927bc3df7292e130b2f7b5efc9776e
2013-12-03 12:14:27 +09:00
Geoff Mendal
7d587e61a1
Import translations. DO NOT MERGE
...
Change-Id: I5788ec86a313e69269d7d58f3309fbe42d24439c
Auto-generated-cl: translation import
2013-12-02 15:10:39 -08:00
Geoff Mendal
8db783ba81
Import translations. DO NOT MERGE
...
Change-Id: I6c8ab6cd6d41a6692ef6b084e0218be4120d266c
Auto-generated-cl: translation import
2013-12-02 15:05:00 -08:00
Keisuke Kuroyanagi
d1501ea789
Make contacts/user dictionary ver2.
...
Change-Id: I10c29bd45fd37d765f115333087e1700dd90570b
2013-12-02 21:59:56 +09:00
Jean Chalard
5fa4ad6a85
Merge "Fix some more tests"
2013-12-02 12:41:25 +00:00
Jean Chalard
ca5c7a9e14
Fix some more tests
...
Bug: 11960453
Bug: 11954718
Change-Id: I71e98cc6ab30cc89e921e9ef578d7f6366049d01
2013-12-02 21:05:26 +09:00
Tadashi G. Takaoka
816c0ba947
Rename config resource name to be matched with attribute name
...
This is a followup of I6fb11b8cb5.
Change-Id: I2a78affabf278e13fdeb2d4fcb0e5d26fb748a8b
2013-12-02 20:34:53 +09:00
Tadashi G. Takaoka
770b00874b
Remove KeyEventHandler
...
Change-Id: Iddde1f85139cb21bde6e4fc275c32f3d62f4862f
2013-12-02 20:25:25 +09:00
Tadashi G. Takaoka
5d311f2c13
Merge "Add config_ prefix to the resource names merged from dimens.xml"
2013-12-02 11:14:07 +00:00
Jean Chalard
576c753d25
Fix an obvious bug
...
This had to be a typo
Change-Id: Id49e44d7667d64b00e883c55c683535398b6bdea
2013-12-02 20:04:52 +09:00
Tadashi G. Takaoka
8c6052bce1
Add config_ prefix to the resource names merged from dimens.xml
...
Change-Id: I6fb11b8cb52c06b805fb17d61450d7df50e4e20d
2013-12-02 20:01:15 +09:00
Tadashi G. Takaoka
b3ded391e0
Merge "Merge dimens.xml to config.xml"
2013-12-02 10:57:18 +00:00
Tadashi G. Takaoka
5a9c78855a
Merge dimens.xml to config.xml
...
Change-Id: Ib5b1a72313e1358f6bb4051e693f889833548e3c
2013-12-02 19:46:21 +09:00
Keisuke Kuroyanagi
545e4191b3
Merge "Quit recording LastUserHistoryWriteTime."
2013-12-02 10:10:32 +00:00
Keisuke Kuroyanagi
cffe4d2d0f
Quit recording LastUserHistoryWriteTime.
...
Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
2013-12-02 18:45:32 +09:00
Jean Chalard
9ab71eda83
Fix tests.
...
This fixes a few bugs that became apparent with the
reinstating of a test.
Bug: 11954718
Change-Id: I1127bc3180f856566429f40d14c944e6f0007e09
2013-12-02 18:15:22 +09:00
Tadashi G. Takaoka
9a0216def9
Avoid NPE by checking
...
Bug: 11956240
Change-Id: I3de1ebbf96fa2422124e4d8e50190adfa09b8a49
2013-12-02 16:25:20 +09:00
Tadashi G. Takaoka
75eb9c8934
Rename spacing and punctuations resource file names
...
Change-Id: Ia3ae5dbaa2d5495f01cbc5da26ec8deb523442a5
2013-12-02 15:36:04 +09:00
Tadashi G. Takaoka
ab18fb1289
Separate auto correction and spellchecker configurations
...
Change-Id: If65e19725da941fd36d566cdcf3bc9c343c04cbb
2013-12-02 15:21:20 +09:00
Tadashi G. Takaoka
6a8cf1edbe
Revised screen metrics value of LatinImeLogger
...
Bug: 11955386
Change-Id: Id8896acaa2c82d68fad59628d12e229c9d86c17e
2013-12-02 14:34:26 +09:00
Tadashi G. Takaoka
4398bef95a
Separate dictionary pack configuration values
...
Change-Id: I0112eb55798a36c8e3c6ed6f7363345724c1935d
2013-12-02 14:16:50 +09:00
Tadashi G. Takaoka
0f1c290e9d
Merge "Remove unused resources"
2013-12-02 04:09:32 +00:00
Tadashi G. Takaoka
bbd0c4fd2f
Remove unused resources
...
Change-Id: Ie0fdf019373557b3f5cc4d93159d10e4092edaa3
2013-12-02 13:01:05 +09:00
Tadashi G. Takaoka
0811f7539c
Add device form and oriantation comments
...
Change-Id: I455ef79862a0e5f7c6a4c4095d0f1ee3d632a7f6
2013-12-02 12:24:27 +09:00
Jean Chalard
d7337a72bc
Merge "Fix auto-detection of format 4."
2013-11-29 10:31:37 +00:00
Jean Chalard
26c9af33a7
Fix auto-detection of format 4.
...
Bug: 11073222
Change-Id: I76e47d0399cf43fc3cc18cb1252f166be86b9a69
2013-11-29 19:10:19 +09:00
Tadashi G. Takaoka
3f8c1d4a19
Clean up PointerTracker a bit
...
Change-Id: I227501607ee1476c2f6faceca1c3c0833778a0ee
2013-11-29 16:55:25 +09:00
Tadashi G. Takaoka
18ffeaba16
Use interfaces instead of MainKeyboardView class
...
Change-Id: I760b107d804fc84153f08667f20061fedd308841
2013-11-29 12:19:49 +09:00
Tadashi G. Takaoka
ccc86630a2
Rename StaticInnerHandlerWrapper to LeakGuardHandlerWrapper
...
Change-Id: I024f0ee9c7f7718afc8a4ca0c6c49f2e88b035ad
2013-11-29 12:15:40 +09:00
Keisuke Kuroyanagi
22e28d5a2d
Merge "Add version check to open binary dictionary."
2013-11-28 11:52:59 +00:00
Keisuke Kuroyanagi
8ac3c65b00
Add version check to open binary dictionary.
...
Bug: 11073222
Change-Id: Iabae12b8f14a9da3cdc804dcc6af443cedeb3f99
2013-11-28 20:40:26 +09:00
Tadashi G. Takaoka
2e2af0e1e1
Merge "Move MainKeyboardView.KeyTimerHandler to top level class"
2013-11-28 10:21:41 +00:00
Tadashi G. Takaoka
3fd16cbaa8
Merge "Move MainKeyboardView.DrawingHandler to top level class"
2013-11-28 10:21:34 +00:00
Tadashi G. Takaoka
3c764b2e96
Move MainKeyboardView.KeyTimerHandler to top level class
...
Change-Id: Iec310b7fc6127a8a5491dbb9f8f073e455e7ba29
2013-11-28 19:03:37 +09:00
Jean Chalard
33e777fe08
Merge "Change the timing of reading the previous word."
2013-11-28 09:57:22 +00:00
Tadashi G. Takaoka
c82e99caa0
Move MainKeyboardView.DrawingHandler to top level class
...
Change-Id: I7a785725d5eb0b594485ceb25695a89c017cc60f
2013-11-28 18:56:15 +09:00
Jean Chalard
4866a3e918
Change the timing of reading the previous word.
...
Bug: 11328842
Change-Id: I08229e895fc34403932648b9b931583d965f0e01
2013-11-28 18:51:03 +09:00
Jean Chalard
177a86d394
Merge "Fix getNthPreviousWord."
2013-11-28 09:02:46 +00:00
Tadashi G. Takaoka
b1d87850ec
Fix updating list preference summary for unknown value
...
Change-Id: I86d3162a90e0068e787a906c0d3d64102487620a
2013-11-28 14:12:29 +09:00
Jean Chalard
da459787e2
Fix getNthPreviousWord.
...
This should take into accounts word connectors.
Change-Id: Ic7fa5c837cd65a43ba43d7ae9d299b8d20019892
2013-11-28 11:41:23 +09:00
Keisuke Kuroyanagi
3c7b603c46
Merge "Start using Ver4 dictionary format."
2013-11-27 10:02:21 +00:00
Tadashi G. Takaoka
169d76cc5c
Merge "Disable mic key on more keys when voice IME is disabled"
2013-11-27 09:56:42 +00:00
Tadashi G. Takaoka
b70a419a9e
Disable mic key on more keys when voice IME is disabled
...
Bug: 11883501
Change-Id: Ie3f496935f9600e2bde51cbebed2b4f8c90c25b2
2013-11-27 18:36:08 +09:00
Jean Chalard
4735e1d32a
Merge "Fix messages in tests"
2013-11-27 08:44:31 +00:00
Jean Chalard
dfc5aade2d
Fix messages in tests
...
They are not failing because of this right now, but future
tests would fail without this.
Concretely, since the Handler for any given main thread is
a singleton managed by the framework, the messages won't
be removed automatically. In particular, messages posted
with a delay have a large destructive potential, because
they will go through before the startInputViewInternal
method is called, because it's called with a message too (in
turn, this is because of working around framework bugs).
Bug: 11142685
Change-Id: If81a168efcfd7d93806ddc4ea432d438c45a3e1d
2013-11-27 17:37:57 +09:00
Tadashi G. Takaoka
05e099d77d
Remove voice-on-main related code and resources
...
Change-Id: I3a1b06fa028dbf130c7aa2c83e9ec1a180aa1f5c
2013-11-27 16:48:47 +09:00
Tadashi G. Takaoka
c144299f70
Merge "Remove compiler warnings from emoji related code"
2013-11-27 03:44:34 +00:00
Ken Wakasa
c01dba872c
Small optimizations for single code point strings
...
Change-Id: I299c7622db291ea411e2b48dfdb622b407912ea6
2013-11-27 12:40:13 +09:00
Keisuke Kuroyanagi
02fd1a78a3
Start using Ver4 dictionary format.
...
Bug: 11073222
Change-Id: Idd836ee15501e2f8c57c8eebc1fef7f103b01d18
2013-11-27 12:14:03 +09:00
Tadashi G. Takaoka
6bd28dfa99
Remove compiler warnings from emoji related code
...
Change-Id: I88ed0d25bee87c4dabcbc425589215b901345908
2013-11-27 11:51:05 +09:00
Keisuke Kuroyanagi
fd15afae46
Merge "Extend jni interface to support time stamp and shortcut."
2013-11-27 02:17:51 +00:00
Keisuke Kuroyanagi
9cdca3255b
Extend jni interface to support time stamp and shortcut.
...
Bug: 11073222
Change-Id: I19e0501850917a13ddc756d3e78fc6f6cf3f33c4
2013-11-26 21:31:26 +09:00
Tadashi G. Takaoka
091865a266
Merge "Cleanup SettingsFragment"
2013-11-26 09:38:41 +00:00
Tadashi G. Takaoka
98dd81ab80
Cleanup SettingsFragment
...
Change-Id: Ic7dac203c17b34e1555ba2c91e3f8c057e85a4b5
2013-11-26 18:36:21 +09:00
Jean Chalard
a6fef7dcae
Merge "Fix caps mode upon gesture-after-type-period."
2013-11-26 07:34:59 +00:00
Keisuke Kuroyanagi
581ca435cf
Merge "Implement addMultipleDictionaryEntries as a jni method."
2013-11-26 07:32:23 +00:00
Jean Chalard
045fb2de64
Fix caps mode upon gesture-after-type-period.
...
Bug: 11630231
Change-Id: Id5626a2f5b7294e4fda0bf9b82ff85537500a104
2013-11-26 16:25:09 +09:00
Keisuke Kuroyanagi
ca16be7552
Implement addMultipleDictionaryEntries as a jni method.
...
Bug: 11757169
Change-Id: Ie1569e0b3c0503588ebfe5d09c7ca06116f54485
2013-11-26 16:03:10 +09:00
Tadashi G. Takaoka
ad4216becd
Use InputMethodSubtypeCompatUtils to create subtypes
...
This change adds fixed subtypeId to dummy NO_LANGUAGE and EMOJI
subtypes.
Bug: 11142698
Change-Id: Ie633b5dea77f17a9981bd999df6e1957bde740ee
2013-11-26 15:32:14 +09:00
Tadashi G. Takaoka
6f490fb200
Fix extraValue of DUMMY_NO_LANGUAGE_SUBTYPE
...
This is a follow up of I9cf3d94825.
Change-Id: I2646a045d21f2a7a3bb89c76d431be844e739af3
2013-11-26 13:31:18 +09:00
Geoff Mendal
79842aa208
Import translations. DO NOT MERGE
...
Change-Id: Id9ad9ed8c1d148569d7d0079a3b7ec5282280aa6
Auto-generated-cl: translation import
2013-11-25 14:31:12 -08:00
Geoff Mendal
7debaee7a4
Import translations. DO NOT MERGE
...
Change-Id: Ib38c02136778584dc6a4d4215c6e346b2b48afaa
Auto-generated-cl: translation import
2013-11-25 14:26:44 -08:00
Jean Chalard
b68e613016
Merge "Fix a flaky test."
2013-11-25 08:53:47 +00:00
Jean Chalard
e629f860d1
Fix a flaky test.
...
Corrections depend on the proximity info, which depends
on the layout, which in turn depends on the subtype and
not only the language. Thus, we need to force the whole
subtype for meaningful tests.
Bug: 11142685
Change-Id: I9cf3d948259e0236061454a93ffc2e28c7e0768f
2013-11-25 17:22:15 +09:00
Jean Chalard
3e4c520dcf
Merge "Fix a failing test"
2013-11-25 04:01:28 +00:00
Jean Chalard
a78b0f6b9e
Fix a failing test
...
Bug: 11846748
Change-Id: Ieda55477201c11fb31b0f84e70ecd081211c78fc
2013-11-25 12:55:52 +09:00