Commit Graph

29354 Commits

Author SHA1 Message Date
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
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
Ken Wakasa
f925b1e34a Fix offdevice TRT build
Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
2013-12-06 19:46:33 +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