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
Tadashi G. Takaoka
091739a835
Merge "Separate form factor dependent config resources"
2013-12-12 09:26:48 +00:00
Tadashi G. Takaoka
73768e40e6
Separate form factor dependent config resources
...
Change-Id: I668b55a51414a3e69d4e2197d7ffeecbd4f18819
2013-12-12 18:22:04 +09:00
Keisuke Kuroyanagi
5f304d0d71
Merge "Add waitAllTasksForTests for testing."
2013-12-12 08:15:44 +00:00
Keisuke Kuroyanagi
d06de553b2
Add waitAllTasksForTests for testing.
...
Bug: 10667710
Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
2013-12-12 17:08:51 +09:00
Jean Chalard
75de9fb7ff
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: I55a11ba61d3589c1584a3fa6c941374b349b7b5c
2013-12-12 17:01:29 +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
Keisuke Kuroyanagi
4e9d115401
Merge "Remove or rename native codes for ver3 dictionary format."
2013-12-12 06:31:59 +00:00
Keisuke Kuroyanagi
90cff563a0
Remove or rename native codes for ver3 dictionary format.
...
Change-Id: I2d1fe515fc8bbbc7095581fccb4af94377ec11b2
2013-12-12 14:53:11 +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
Keisuke Kuroyanagi
54653533d2
Merge "Fix offdevice build."
2013-12-11 08:19:22 +00: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
Keisuke Kuroyanagi
4fbf4f8340
Fix offdevice build.
...
Change-Id: I6e1032ae5f899732fc5121d14d2d2f2b0fb6f759
2013-12-11 17:06:46 +09: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
Jean Chalard
502f3aca01
Merge "Read options from attributes"
2013-12-11 07:39:00 +00:00
Jean Chalard
f2e703eb95
Read options from attributes
...
This reads the German umlaut option from the key-attribute
store, and removes all native references to the flag.
This also completely removes the French ligatures option which
has been unused for some time.
Bug: 11281748
Change-Id: I407c02640ad0f2e01585db9087633c01507b5f3f
2013-12-11 15:43:47 +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
Tadashi G. Takaoka
9273c0e21f
Merge "Revise settings icon to cog style"
2013-12-11 03:40:19 +00:00
Tadashi G. Takaoka
36b28b435b
Revise settings icon to cog style
...
Bug: 12066907
Change-Id: Iaed4ab0b6bfe6bd0b3762bb0d30df0718f9fc269
2013-12-11 12:37:33 +09: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
Keisuke Kuroyanagi
6038895611
Discard useless bigrams when overflowing.
...
Bug: 11734037
Change-Id: I339999dffc1902f62e0a6706d969c8f410bb656f
2013-12-10 18:49:28 +09:00
Keisuke Kuroyanagi
962d2c083a
Discard useless unigrams when overflowing.
...
Bug: 11734037
Change-Id: I5f991dd1f8fa79fd0c442be323d20c76b47ae22e
2013-12-10 18:37:06 +09:00
Keisuke Kuroyanagi
2fdb62a6a2
Start using historical info for decaying.
...
Bug: 11073222
Change-Id: Iad5f42d7268939df35589c4900bf6f4425adaa3f
2013-12-10 17:53:06 +09:00
Keisuke Kuroyanagi
26266bd53b
Update historical info for GC.
...
Bug: 11073222
Change-Id: I08a61c02f9f5d527897095eee2de395f86050e2d
2013-12-09 21:02:41 +09:00
Keisuke Kuroyanagi
ebb57c02c2
Move probability updating during GC to PtNodeWriter.
...
Bug: 11073222
Change-Id: Id452f953c4f72c4e83f6866a87be5f3766d00a31
2013-12-09 20:39:06 +09:00
Keisuke Kuroyanagi
88af9eb862
Add willBecomeNonTerminal flag.
...
willBecomeNonTerminal flag is used during GC to indicate
the PtNode is no longer terminal, even though the PtNode has
terminal attributes.
Bug: 11073222
Change-Id: I2514bc4106fa7539201979affcfb713d2b8430a3
2013-12-09 09:23:02 +00:00
Keisuke Kuroyanagi
3ce4c17d00
Update has shortcut targets and has bigrams flags.
...
Bug: 11073222
Change-Id: I75db86c485138dd86256989f28e15abed58d154d
2013-12-09 18:01:41 +09:00
Keisuke Kuroyanagi
51b5936cb0
Merge "Support current time controlling for testing."
2013-12-09 08:13:45 +00:00
Keisuke Kuroyanagi
4c46faa074
Support current time controlling for testing.
...
Bug: 11073222
Change-Id: I8a0e96ea6711f1f1165209873d8d6a2a77008541
2013-12-09 16:58:43 +09:00
Keisuke Kuroyanagi
db3b4c30fd
Merge "Use FormatSpec.VERSION4 instead of 4 for unit tests."
2013-12-09 07:53:35 +00:00
Keisuke Kuroyanagi
ddef88d0bf
Use FormatSpec.VERSION4 instead of 4 for unit tests.
...
Bug: 10197478
Change-Id: I330bfa3f45b9e282b49ccde7868d49676506f268
2013-12-09 16:38:28 +09:00
Keisuke Kuroyanagi
5ea2f2972e
Merge "Start updating historical information."
2013-12-09 07:22:29 +00:00
Keisuke Kuroyanagi
6c1382b4ae
Start updating historical information.
...
Bug: 11073222
Change-Id: Ic74951f46af05d3edfe08fca37352c5d5c1047e0
2013-12-09 16:02:07 +09:00
Keisuke Kuroyanagi
8317acad48
Create dictionary with historical info for testing.
...
Bug: 11073222
Change-Id: I3573badceaceb9f4660884a4b23c337c63103701
2013-12-09 15:48:30 +09:00
Keisuke Kuroyanagi
0a213fd625
Merge "Start to support adding shortcuts."
2013-12-09 05:35:29 +00:00
Keisuke Kuroyanagi
5f88c1e0f1
Start to support adding shortcuts.
...
Bug: 11073222
Bug: 11956652
Change-Id: Iea81603a140697594cfea4f4939e82cd1d3963ca
2013-12-09 13:05:44 +09:00
Keisuke Kuroyanagi
291db3d4b0
Introduce HistoricalInfo.
...
Bug: 11073222
Change-Id: I5220656a333c93d10163bd3dff71d011c8f6d965
2013-12-09 12:08:06 +09:00
Keisuke Kuroyanagi
c980b1bfa7
Move NOT_A_TIMESTAMP to defines.h
...
Bug: 11073222
Change-Id: Id47af32f40b1a82fdf45628f2d0e37b99dca3921
2013-12-08 21:28:46 +09:00