Keisuke Kuroyanagi
b5215d456a
Increment version number of ver4 format to 401.
...
Bug: 11073222
Change-Id: I3878aef02040b1ef73165645fc70ede586289c51
2013-12-16 23:02:54 +09:00
Keisuke Kuroyanagi
214a3b741f
Merge "Fix: incompatible PtNode array size reading."
2013-12-16 13:57:55 +00:00
Keisuke Kuroyanagi
56e7e38d37
Fix: incompatible PtNode array size reading.
...
Bug: 11073222
Change-Id: I681be725b5c6dcc10aa536b00327698a7df75277
2013-12-16 22:42:01 +09:00
Jean Chalard
dc06ee85ef
A simplification.
...
This does the same thing, but simpler and faster.
Was noticed while investigating bug#12164555
Change-Id: If9926e4da8a53a65489da55197ac87122c44fe7c
2013-12-16 21:38:31 +09:00
Keisuke Kuroyanagi
769eb083ef
Merge "Add option to enable personalization dictionaries."
2013-12-16 10:33:40 +00:00
Keisuke Kuroyanagi
d4bb7df412
Add option to enable personalization dictionaries.
...
Bug: 11757851
Change-Id: I4872c10793d4fd55c0bd9e5bc4650925de6d2c1d
2013-12-16 19:17:31 +09:00
Tadashi G. Takaoka
f3b92fb952
Merge "Fix IllegalStateException of ViewGroup"
2013-12-16 08:36:45 +00:00
Tadashi G. Takaoka
7f8345d59a
Fix IllegalStateException of ViewGroup
...
Bug: 10629042
Change-Id: I111d092fb2f7dca47328127a155c981aa1c55906
2013-12-16 17:06:23 +09:00
Keisuke Kuroyanagi
b6a19229ba
Merge "Make required binary dictionary version use FormatSpec.*"
2013-12-16 07:56:58 +00:00
Keisuke Kuroyanagi
c837767819
Make required binary dictionary version use FormatSpec.*
...
Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461
2013-12-16 16:50:28 +09:00
Jean Chalard
5590e9d040
Merge "Make the bad header a checked exception and fix dicttool test"
2013-12-16 07:18:44 +00:00
Jean Chalard
3df617323e
Make the bad header a checked exception and fix dicttool test
...
Change-Id: If780a2a1cb722aee83d910904c0a6315add9552d
2013-12-16 15:40:45 +09:00
Tadashi G. Takaoka
1b5b0a3ebc
Cancel long press shift key while chording input
...
Bug: 12123508
Change-Id: I693caad1f8ee47ebeb14419603d1fc29f6263a75
2013-12-16 15:30:41 +09:00
Jean Chalard
b868375763
Fix failing tests
...
- Version 3 is not supported
- Now passing the right string to open v4 dicts. Fix the tests for this.
Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
2013-12-16 14:32:19 +09:00
Ken Wakasa
2c25c7c9e1
Fix locale names in the make-keyboard-text tool
...
Change-Id: I33c3fafcff124bb94e395cc604ce264daad55d2d
2013-12-14 18:50:57 +09:00
Jean Chalard
330d2720bb
Instead of ignoring PARAGRAPH spans, fix them.
...
I don't know what or when this flag is set, but it's only bad
news. Luckily, we can just remove it.
Bug: 12119393
Change-Id: I2952138c8ce517535b91e0fe25d2cf4960e02862
2013-12-13 23:42:31 +09:00
Jean Chalard
7a904514fb
Merge "Don't use the previous word after a non-whitespace separator"
2013-12-13 11:53:30 +00:00
Jean Chalard
0b51fac907
Merge "Only update shift state if left in auto mode."
2013-12-13 11:52:13 +00:00
Jean Chalard
fae1ba767c
Don't use the previous word after a non-whitespace separator
...
Bug: 12101276
Change-Id: Icf36d55ec171194e5561b946021bcf648782ddd4
2013-12-13 20:51:28 +09:00
Jean Chalard
28bd6e2297
Only update shift state if left in auto mode.
...
Bug: 12100417
Change-Id: I7bc2b19332e142a257b0399f2e5d128caf01fc7c
2013-12-13 20:47:25 +09:00
Jean Chalard
f3d281b775
Merge "Fix a bug where recapitalize prevents going to more syms"
2013-12-13 10:38:18 +00:00
Jean Chalard
5d98e1d82e
Fix a bug where recapitalize prevents going to more syms
...
Bug: 11004973
Change-Id: I97ee9df6e8464e2149beb41c688cbfbd83ac3d8c
2013-12-13 19:21:49 +09:00
Jean Chalard
f08b1ea41a
Merge "Remove references to the v3 dictionary."
2013-12-13 10:08:12 +00:00
Tadashi G. Takaoka
bf7503ae6b
Merge "Fix key top letter color in shifted layout"
2013-12-13 09:55:19 +00:00
Jean Chalard
1dc7eca114
Remove references to the v3 dictionary.
...
Change-Id: I811c8c923ad67a6d9bfdd11bdef8991eb7135c27
2013-12-13 18:53:41 +09:00
Keisuke Kuroyanagi
3e81d9c39f
Merge "Remove code for forgetting curve in Java side."
2013-12-13 09:44:16 +00:00
Keisuke Kuroyanagi
cc8c544ee2
Remove code for forgetting curve in Java side.
...
Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
2013-12-13 18:40:58 +09:00
Tadashi G. Takaoka
815a339201
Fix key top letter color in shifted layout
...
There is a chance to have an empty hint label even though
keyLabelFlags has hasShiftedLetterHint flag.
Change-Id: I63b9fcc42a40391d5902814cae4c75abb61e4b94
2013-12-13 18:34:30 +09:00
Jean Chalard
a245d15da5
Have dicttool use the native library to generate v4 dicts.
...
Yay !
Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
2013-12-13 18:18:20 +09:00
Jean Chalard
af0c222a5e
Merge "Remove flags from Java side."
2013-12-13 09:17:10 +00:00
Jean Chalard
7b55cd3e2b
Remove flags from Java side.
...
This simplifies the code quite a bit.
- GERMAN_UMLAUTS are now handled through a key-value attribute.
The dictionary generator does not need to know about it any more.
- FRENCH_LIGATURES are deprecated as we handle them with shortcuts now.
- CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied
regardless of this flag.
Bug: 11281748
Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
2013-12-13 18:15:05 +09:00
Ken Wakasa
2fa3693c26
Reset to 9bd6dac470
...
The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
2013-12-13 17:13:32 +09:00
Keisuke Kuroyanagi
9642286c01
Make ExpandableBinaryDictionary usable for offdevice tests.
...
Bug: 11956652
Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
2013-12-13 14:48:43 +09:00
Keisuke Kuroyanagi
9bd6dac470
Add a constructor for testing to non-main dictionaries.
...
The new constructor is used for creating dictionary instance
that uses a given file.
Bug: 11956652
Change-Id: Ifbf420a1a768eb95a5c3a58eeb1be5936b306d35
2013-12-12 20:14:06 +09:00
Keisuke Kuroyanagi
d06de553b2
Add waitAllTasksForTests for testing.
...
Bug: 10667710
Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
2013-12-12 17:08:51 +09:00
Keisuke Kuroyanagi
9ff51527a3
Quit passing header file path to native.
...
Bug: 12089197
Change-Id: Ia898f8d2836c0c131a1834dc0a396d9121ecb972
2013-12-12 16:48:34 +09:00
Jean Chalard
9fa221a7bd
Remove dependency from StringUtils to Json
...
Change-Id: I2a89497fb9ec12a37ba09f4598742e88f6700576
2013-12-12 13:55:56 +09:00
Tadashi G. Takaoka
79cc690f55
Fix Filipino keyboard
...
Bug: 12102802
Change-Id: Id55ba5ebd8ddaf83ed246315d81b25ad4c9b6294
2013-12-12 11:12:23 +09:00
Keisuke Kuroyanagi
549ae3d84e
Merge "Create ver4 dictionary files with the dictionary name."
2013-12-11 10:42:16 +00:00
Keisuke Kuroyanagi
84cc5a2c76
Create ver4 dictionary files with the dictionary name.
...
Bug: 12025402
Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
2013-12-11 19:30:18 +09:00
Tadashi G. Takaoka
0719c4ca72
Merge "Ignore other finger while showing more keys keyboard"
2013-12-11 09:20:02 +00:00
Tadashi G. Takaoka
7f82bb55ed
Ignore other finger while showing more keys keyboard
...
Bug: 12088861
Change-Id: I784cb8fee247a7a4ea4af4c0569fed9334430e18
2013-12-11 18:12:45 +09:00
Tadashi G. Takaoka
7ca3dbe3e5
Merge "Don't start long press timer while other one is running"
2013-12-11 08:07:47 +00:00
Tadashi G. Takaoka
fa860a091e
Don't start long press timer while other one is running
...
Bug: 11908158
Bug: 12088861
Change-Id: I2537855f505884da9fe958d946c79840bd19dc5f
2013-12-11 17:01:26 +09:00
Tadashi G. Takaoka
0a190a389f
Merge "Rename deprecated locale directories"
2013-12-11 06:01:34 +00:00
Keisuke Kuroyanagi
ad2d34f80a
Rename PersonalizationPredictionDictionary.
...
Change-Id: If7497310485a895dd22b8df29dc13508acaa0ab6
2013-12-11 14:09:00 +09:00
Ken Wakasa
423422c437
Rename deprecated locale directories
...
cf. Ibe392f5f9dbc82c3cdff8e06b958bc3bcce3fa82
Also, cf. bug id 11340849
Change-Id: I43e84f8ca04eb1aa74037a705970a36434429a0f
2013-12-11 13:27:46 +09:00
Jean Chalard
97351ad34c
Merge "Fix typos."
2013-12-11 03:41:23 +00:00
Jean Chalard
a8ffdf0288
Merge "Split the header into a separate file."
2013-12-11 03:37:05 +00:00
Jean Chalard
83c879ad67
Fix typos.
...
One of these cost me a day and a half searching for a bug :(
Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
2013-12-11 12:06:05 +09:00
Jean Chalard
3839defc90
Split the header into a separate file.
...
Bug: 11281748
Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
2013-12-11 12:03:40 +09:00
Keisuke Kuroyanagi
499371a5ef
Remove PersonalizationDictinoary.
...
Now, PersonalizationPredictionDictionary can be used not only
for prediction but also for suggestions.
We should rename PersonalizationPredictionDictionary to
PersonalizationDictionary.
Change-Id: Ifcf4459072f3523e3f3dc783f12e15b89cdbb12d
2013-12-11 11:09:52 +09:00
Keisuke Kuroyanagi
7c8075c2ac
Uncapitalized words for personalization dictionary.
...
Bug: 11736529
Change-Id: I62a7469afe03092ec992bfb190f717223a8c556f
2013-12-10 19:19:18 +09:00
Tadashi G. Takaoka
a2bbb1213d
Remove obsolete warning message
...
This is a follow up of I5655c5703b.
Change-Id: I4a61689eb275b54648c6112c9f8709e4a9c35a5e
2013-12-07 18:59:13 +09:00
Tadashi G. Takaoka
4d02aa4e8c
Add punctuations letters to period key on tablet
...
Bug: 11918360
Change-Id: I5655c5703bfcb541c9ff4b7e0da2f9b8e14947d0
2013-12-06 18:24:20 +09:00
Tadashi G. Takaoka
637ecce74c
Merge "Consolidate multiple locales' period key definition"
2013-12-06 09:21:26 +00:00
Jean Chalard
90c9199753
Merge "[RF4] Actually remove ver4 dicts"
2013-12-06 08:54:33 +00:00
Keisuke Kuroyanagi
fc16c320c6
Merge "Add a jni method to fetch unigram information."
2013-12-06 08:53:21 +00:00
Keisuke Kuroyanagi
9fb28f78f7
Add a jni method to fetch unigram information.
...
Bug: 11956652
Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
2013-12-06 17:17:38 +09:00
Jean Chalard
c5db41a9d5
[RF4] Actually remove ver4 dicts
...
And fix a couple bugs.
Bug: 11281748
Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
2013-12-06 17:07:59 +09:00
Tadashi G. Takaoka
5bf55a86d0
Return null if "!text/" reference is an empty text
...
Change-Id: I01826f3e09527348fb4cba3302a9394ff34f424a
2013-12-06 16:51:11 +09:00
Tadashi G. Takaoka
aab0140390
Consolidate multiple locales' period key definition
...
Bug: 11918360
Change-Id: If59043709a433a57846de07e150bf9c14b614d52
2013-12-06 15:25:47 +09:00
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
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
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
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
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
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
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
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
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
6d9e273fb5
Separate common config and dimensions resources
...
Change-Id: Ia16880e818927bc3df7292e130b2f7b5efc9776e
2013-12-03 12:14:27 +09: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
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
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
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