aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-12Add a constructor for testing to non-main dictionaries.Keisuke Kuroyanagi4-1/+46
The new constructor is used for creating dictionary instance that uses a given file. Bug: 11956652 Change-Id: Ifbf420a1a768eb95a5c3a58eeb1be5936b306d35
2013-12-12Separate form factor dependent config resourcesTadashi G. Takaoka10-104/+165
Change-Id: I668b55a51414a3e69d4e2197d7ffeecbd4f18819
2013-12-12Add waitAllTasksForTests for testing.Keisuke Kuroyanagi2-27/+21
Bug: 10667710 Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
2013-12-12Remove flags from Java side.Jean Chalard26-392/+115
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-12Quit passing header file path to native.Keisuke Kuroyanagi23-146/+171
Bug: 12089197 Change-Id: Ia898f8d2836c0c131a1834dc0a396d9121ecb972
2013-12-12Remove or rename native codes for ver3 dictionary format.Keisuke Kuroyanagi27-190/+173
Change-Id: I2d1fe515fc8bbbc7095581fccb4af94377ec11b2
2013-12-12Remove dependency from StringUtils to JsonJean Chalard4-81/+110
Change-Id: I2a89497fb9ec12a37ba09f4598742e88f6700576
2013-12-12Fix Filipino keyboardTadashi G. Takaoka3-13/+4
Bug: 12102802 Change-Id: Id55ba5ebd8ddaf83ed246315d81b25ad4c9b6294
2013-12-11Create ver4 dictionary files with the dictionary name.Keisuke Kuroyanagi22-152/+180
Bug: 12025402 Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
2013-12-11Ignore other finger while showing more keys keyboardTadashi G. Takaoka2-3/+16
Bug: 12088861 Change-Id: I784cb8fee247a7a4ea4af4c0569fed9334430e18
2013-12-11Fix offdevice build.Keisuke Kuroyanagi3-38/+47
Change-Id: I6e1032ae5f899732fc5121d14d2d2f2b0fb6f759
2013-12-11Don't start long press timer while other one is runningTadashi G. Takaoka3-31/+43
Bug: 11908158 Bug: 12088861 Change-Id: I2537855f505884da9fe958d946c79840bd19dc5f
2013-12-11Read options from attributesJean Chalard8-79/+21
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-11Rename PersonalizationPredictionDictionary.Keisuke Kuroyanagi9-78/+69
Change-Id: If7497310485a895dd22b8df29dc13508acaa0ab6
2013-12-11Rename deprecated locale directoriesKen Wakasa17-314/+114
cf. Ibe392f5f9dbc82c3cdff8e06b958bc3bcce3fa82 Also, cf. bug id 11340849 Change-Id: I43e84f8ca04eb1aa74037a705970a36434429a0f
2013-12-11Revise settings icon to cog styleTadashi G. Takaoka4-0/+0
Bug: 12066907 Change-Id: Iaed4ab0b6bfe6bd0b3762bb0d30df0718f9fc269
2013-12-11Fix typos.Jean Chalard4-16/+16
One of these cost me a day and a half searching for a bug :( Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
2013-12-11Split the header into a separate file.Jean Chalard26-121/+155
Bug: 11281748 Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
2013-12-11Remove PersonalizationDictinoary.Keisuke Kuroyanagi7-147/+4
Now, PersonalizationPredictionDictionary can be used not only for prediction but also for suggestions. We should rename PersonalizationPredictionDictionary to PersonalizationDictionary. Change-Id: Ifcf4459072f3523e3f3dc783f12e15b89cdbb12d
2013-12-10Uncapitalized words for personalization dictionary.Keisuke Kuroyanagi1-2/+4
Bug: 11736529 Change-Id: I62a7469afe03092ec992bfb190f717223a8c556f
2013-12-10Discard useless bigrams when overflowing.Keisuke Kuroyanagi3-8/+137
Bug: 11734037 Change-Id: I339999dffc1902f62e0a6706d969c8f410bb656f
2013-12-10Discard useless unigrams when overflowing.Keisuke Kuroyanagi4-4/+160
Bug: 11734037 Change-Id: I5f991dd1f8fa79fd0c442be323d20c76b47ae22e
2013-12-10Start using historical info for decaying.Keisuke Kuroyanagi20-235/+189
Bug: 11073222 Change-Id: Iad5f42d7268939df35589c4900bf6f4425adaa3f
2013-12-09Update historical info for GC.Keisuke Kuroyanagi4-8/+63
Bug: 11073222 Change-Id: I08a61c02f9f5d527897095eee2de395f86050e2d
2013-12-09Move probability updating during GC to PtNodeWriter.Keisuke Kuroyanagi4-12/+49
Bug: 11073222 Change-Id: Id452f953c4f72c4e83f6866a87be5f3766d00a31
2013-12-09Add willBecomeNonTerminal flag.Keisuke Kuroyanagi7-10/+55
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-09Update has shortcut targets and has bigrams flags.Keisuke Kuroyanagi5-27/+85
Bug: 11073222 Change-Id: I75db86c485138dd86256989f28e15abed58d154d
2013-12-09Support current time controlling for testing.Keisuke Kuroyanagi3-1/+59
Bug: 11073222 Change-Id: I8a0e96ea6711f1f1165209873d8d6a2a77008541
2013-12-09Use FormatSpec.VERSION4 instead of 4 for unit tests.Keisuke Kuroyanagi2-23/+23
Bug: 10197478 Change-Id: I330bfa3f45b9e282b49ccde7868d49676506f268
2013-12-09Start updating historical information.Keisuke Kuroyanagi5-9/+55
Bug: 11073222 Change-Id: Ic74951f46af05d3edfe08fca37352c5d5c1047e0
2013-12-09Create dictionary with historical info for testing.Keisuke Kuroyanagi1-0/+2
Bug: 11073222 Change-Id: I3573badceaceb9f4660884a4b23c337c63103701
2013-12-09Start to support adding shortcuts.Keisuke Kuroyanagi11-11/+201
Bug: 11073222 Bug: 11956652 Change-Id: Iea81603a140697594cfea4f4939e82cd1d3963ca
2013-12-09Introduce HistoricalInfo.Keisuke Kuroyanagi6-67/+104
Bug: 11073222 Change-Id: I5220656a333c93d10163bd3dff71d011c8f6d965
2013-12-08Move NOT_A_TIMESTAMP to defines.hKeisuke Kuroyanagi6-6/+10
Bug: 11073222 Change-Id: Id47af32f40b1a82fdf45628f2d0e37b99dca3921
2013-12-07Remove obsolete warning messageTadashi G. Takaoka1-6/+0
This is a follow up of I5655c5703b. Change-Id: I4a61689eb275b54648c6112c9f8709e4a9c35a5e
2013-12-06Fix offdevice TRT buildKen Wakasa1-2/+2
Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
2013-12-06Add punctuations letters to period key on tabletTadashi G. Takaoka8-432/+390
Bug: 11918360 Change-Id: I5655c5703bfcb541c9ff4b7e0da2f9b8e14947d0
2013-12-06Add a jni method to fetch unigram information.Keisuke Kuroyanagi13-2/+403
Bug: 11956652 Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
2013-12-06[RF4] Actually remove ver4 dictsJean Chalard4-15/+62
And fix a couple bugs. Bug: 11281748 Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
2013-12-06Return null if "!text/" reference is an empty textTadashi G. Takaoka2-4/+17
Change-Id: I01826f3e09527348fb4cba3302a9394ff34f424a
2013-12-06Consolidate multiple locales' period key definitionTadashi G. Takaoka8-423/+390
Bug: 11918360 Change-Id: If59043709a433a57846de07e150bf9c14b614d52
2013-12-06[RF3] CleanupsJean Chalard16-65/+42
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[RF2] Some refactoring and some cleanupJean Chalard5-36/+28
Bug: 11281748 Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
2013-12-06Fix background of ".com" key on tablet symbolsTadashi G. Takaoka4-7/+7
Bug: 12023755 Change-Id: I9eb8c1e5c637ddc6f0f36b783fcb289b5865ac22
2013-12-05Implement shortcut adding method.Keisuke Kuroyanagi9-47/+174
Bug: 11073222 Change-Id: Ia98bf40bd5263caad8b65680eabcf429328290a9
2013-12-05Fix puctuations more keys on Spanish/PhoneTadashi G. Takaoka2-2/+2
Bug: 11918360 Change-Id: I01e1c1e2a1953855bd2b009fc2d82e18cdde7140
2013-12-05Cleanup exclamation and questuion keysTadashi G. Takaoka13-34/+29
Bug: 11918360 Change-Id: I00731a273beea6dbc300dc215996dcadd97f17e2
2013-12-05Cleanup comma key of Arabic/FarsiTadashi G. Takaoka6-159/+110
Bug: 11918360 Change-Id: I4ab373d8fc012fd77a388a067d7f5d99d8247299
2013-12-05Remove puctuationKeyStyle key style definitionTadashi G. Takaoka3-36/+62
This change also separates period key definition from row_qwerty4. Bug: 11918360 Change-Id: I7156be7098987f8447698a57af84e2ea3fc595f6
2013-12-05Separate symbols comma-period from main keyboard onesTadashi G. Takaoka4-89/+34
Bug: 11918360 Change-Id: Ia96230d1eb692bbc61842f1cd12ba980d5487017