Commit Graph

8094 Commits (09688051245cf488954dee2e7c9440a1e0a1ca20)

Author SHA1 Message Date
Yuichiro Hanada be470f06e4 Hide DictBuffer from BinaryDictDecoderUtils.
Bug: 9618601
Change-Id: I87515bc1555bdfe09426a056ceda74d8e63eba82
2013-09-12 16:49:54 +09:00
Jean Chalard 87472f0038 Remove changing a word when added to the dictionary
This code is now useless.
I thought it affected 9902905, but it seems it actually does not.
Still, it's dead code.

Bug: 9902905
Change-Id: Id9c90fbf88f015af47b2368b90d173c481647093
2013-09-12 15:10:10 +09:00
Baligh Uddin 6f1cffb01c Import translations. DO NOT MERGE
Change-Id: Ia1959384a4c70ef55ba89500664d436e3c9de70d
Auto-generated-cl: translation import
2013-09-11 21:08:14 -07:00
Keisuke Kuroyanagi 76e431b315 Merge "Use same session id for typing and gesture." 2013-09-12 03:16:43 +00:00
Keisuke Kuroyanagi f1233b58c2 Use same session id for typing and gesture.
Bug: 10699291
Change-Id: I7c8a3a57e8d189b72a17e4b9c6831becee6ec146
2013-09-12 12:08:22 +09:00
Ken Wakasa fc5e78b6a4 Clean up Thai keyboard layout files
Change-Id: I8773d97280eebc6db2b2099d464becc86915a9b8
2013-09-11 19:27:35 +09:00
Yuichiro Hanada 7547a7042c Add writePtNode to DictEncoder.
Bug: 9618601
Change-Id: Ie4529444780edee8d0f0d5f23c5619c1a3344286
2013-09-11 18:27:06 +09:00
Yuichiro Hanada 95bc256f41 Add a flag to readDictioanryBinary in DictDecoder.
Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31
2013-09-11 18:20:56 +09:00
Baligh Uddin f7ec77fe2f Merge "Import translations. DO NOT MERGE" 2013-09-10 14:46:21 +00:00
Yuichiro Hanada e193c5255d Revert Ida230ca42 and I6adf7d08f.
Change-Id: I2ddb250d5a473ea955a5171656974de7288a13f7
2013-09-10 19:08:43 +09:00
Yuichiro Hanada ef073f4024 Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.
Change-Id: I003b769e408ebd692085a7e17fed6d9396876202
2013-09-10 19:05:41 +09:00
Ken Wakasa 40e91e4582 Merge "Check the version of format options before writing." 2013-09-10 10:01:12 +00:00
Yuichiro Hanada 8a06b26cb4 Check the version of format options before writing.
Change-Id: I3951e4395a2da225e240e856c23339b679e6155e
2013-09-10 18:59:31 +09:00
Keisuke Kuroyanagi e531c2241e Move a flag about switching dynamic update to java.
Bug: 6669677

Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024
2013-09-10 18:45:53 +09:00
Yuichiro Hanada acdabb25f4 Add AsyncResultHolder.
Change-Id: Icfa685bcda2f5c74f5649f09098d00b4bd321c5a
2013-09-10 15:48:06 +09:00
Baligh Uddin 294acf8728 Import translations. DO NOT MERGE
Change-Id: I9364f361aa98b74f5cbf66d5ed7a645149293d3f
Auto-generated-cl: translation import
2013-09-09 18:46:29 -07:00
Satoshi Kataoka be96361156 Merge "Check contents in user history dictionary tests" 2013-09-09 06:46:45 +00:00
Satoshi Kataoka e5a35711b8 Check contents in user history dictionary tests
Bug: 10667710

Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
2013-09-09 15:28:50 +09:00
Yuichiro Hanada 70e81af726 Hide physical structure of the dictionary from BinaryDictEncoderUtils.
Bug: 9618601
Change-Id: I01b8da42058d7c05bf7f4e6d43718032c2ad12c5
2013-09-09 14:55:33 +09:00
Yuichiro Hanada cc2751ba03 Make commitCurrentAutoCorrection asynchronous.
Change-Id: Ida230ca4243347fb3ab9fda7de3a9a18f886cd1c
2013-09-09 14:47:26 +09:00
Keisuke Kuroyanagi 37e0fd2ff0 Revise TODO comment for I823912e3979829a.
Change-Id: I839d8cb4d45d7d17b7940d710a2fef5aeacc11ab
2013-09-09 12:26:40 +09:00
Keisuke Kuroyanagi 773f227242 Fix: wrong locking order.
Change-Id: I823912e3979829ad1e825cf91dc5e18f7f0f9cc3
2013-09-09 12:13:21 +09:00
Keisuke Kuroyanagi e7ac900340 Merge "Write forgetting curve flag." 2013-09-09 01:46:59 +00:00
Yuichiro Hanada 563bcb5117 Rename write(|Signed)VariableAddress and to write(|Signed)ChildrenPosition.
Change-Id: Ib018bde346744b470a4fb13b0c57e3a633b8bb20
2013-09-06 23:53:58 +09:00
Yuichiro Hanada 6156892b7e Add computeChildrenPosition and simplify writePlacedNode.
Change-Id: Idcf0e056bf61e29844d4d0e91c482cd78c41704c
2013-09-06 23:52:10 +09:00
Keisuke Kuroyanagi 859b9eeaf0 Write forgetting curve flag.
Bug: 6669677
Change-Id: Ic19aa3b69fb45d9638f9dcc8c3dd8a34aad41965
2013-09-06 21:03:09 +09:00
Satoshi Kataoka 142511c405 Merge "Add margin to the label of language" 2013-09-06 09:02:46 +00:00
Satoshi Kataoka 741831d322 Add margin to the label of language
Change-Id: I48dc63475caf5cc1a1ac09b82b26fbeaef993fa1
2013-09-06 17:21:44 +09:00
Satoshi Kataoka 4aad381f4f Merge "Optimize tablet layout" 2013-09-06 08:14:42 +00:00
Satoshi Kataoka 98565a9c02 Optimize tablet layout
Bug: 9059539
Change-Id: Ideb6965768fcf092c081eb1d3102312c863cc5b6
2013-09-06 16:43:19 +09:00
Baligh Uddin a8550e2218 Merge "Import translations. DO NOT MERGE" 2013-09-06 04:55:32 +00:00
Satoshi Kataoka 1c6b9582f4 Merge "Rename key_space -> key_space_5kw" 2013-09-06 03:47:56 +00:00
Satoshi Kataoka cc38dd9726 Rename key_space -> key_space_5kw
Bug: 9059539
Change-Id: I958891bb3b1d4611b4b85490305d59ea5002f122
2013-09-06 12:42:31 +09:00
Satoshi Kataoka c612a98191 Merge "Rename key_space" 2013-09-06 03:42:08 +00:00
Satoshi Kataoka a33a4e345b Rename key_space
Bug: 9059539
Change-Id: I0231ac53f8cf778d087cafeb5b3629b145cca9a9
2013-09-06 12:25:42 +09:00
Baligh Uddin 4c4caaf210 Import translations. DO NOT MERGE
Change-Id: If7fd7beb7a59283c38c9780259f00dd4a3e1ef4a
Auto-generated-cl: translation import
2013-09-05 17:36:54 -07:00
Satoshi Kataoka b690c03927 Merge "Optimize layout" 2013-09-05 13:31:53 +00:00
Satoshi Kataoka d6217a323c Optimize layout
Bug: 9059539

Change-Id: Iabfd44daae1ef6da99a864859488a4f644240925
2013-09-05 22:27:26 +09:00
Yuichiro Hanada b1af47c8fe Add a callback to the arguments of commitCurrentAutoCorrection.
Change-Id: I6adf7d08fdc4382233a63304743207368db8058a
2013-09-05 20:00:40 +09:00
Satoshi Kataoka 80fe84b3a4 Merge "Consolidate voice input key options no.1" 2013-09-05 07:33:59 +00:00
Satoshi Kataoka 21a89c1137 Consolidate voice input key options no.1
Change-Id: I2f928522a0795f57b4133072f270d8fd2498cae9
2013-09-05 16:25:41 +09:00
Yuichiro Hanada 55f5f7a005 [Refactor] Add writeDictionaryHeader.
Change-Id: I69026c47ce1d23f5c39c99ace76fa6b96cd1ce1b
2013-09-05 16:19:26 +09:00
Yuichiro Hanada 663f5375d1 Add comments about how to calculate parent and children addresses.
Change-Id: Idf37d9a08a7b464a14c8755bedb755005e49ba33
2013-09-05 15:10:28 +09:00
Satoshi Kataoka e0502496da Revert "Remove symbols shifted layout"
This reverts commit c02a365485.

Change-Id: I11d31632469a594c0637f035bdd74ba60b2ac33e
2013-09-04 18:22:59 +09:00
Satoshi Kataoka e3150664ae Revert "Remove symbols shifted layout related code"
This reverts commit 1cd027850b.

Bug: 9059539

Change-Id: I1880b799e2d0f148ae913f13cffa1b8cac48be60
2013-09-04 16:27:34 +09:00
Baligh Uddin cc6752e5c5 Merge "Import translations. DO NOT MERGE" 2013-09-04 05:20:18 +00:00
Satoshi Kataoka 42b799d93a Revert "Remove symbols shifted related unused texts and styles"
This reverts commit 59f49b3861.

Bug: 9059539

Change-Id: I6e298a55feb942fc3720a91b65f841220443b42b
2013-09-04 12:24:55 +09:00
Baligh Uddin a8072dede7 Import translations. DO NOT MERGE
Change-Id: I52e60b43e9be534e6c97e9ab9af9533ba2b79713
Auto-generated-cl: translation import
2013-09-03 19:01:08 -07:00
Yuichiro Hanada 648088aa9e Change GET_SUGGESTED_WORDS_TIMEOUT to 200.
Change-Id: Ia5aa0b7af16d7ad45c98d0c5a7dcabba76d19b67
2013-09-03 18:52:53 +09:00
Ken Wakasa c4c7a59a12 Merge "Change GET_SUGGESTED_WORDS_TIMEOUT to 50." 2013-09-03 08:54:12 +00:00
Yuichiro Hanada d6c947ef7b Change GET_SUGGESTED_WORDS_TIMEOUT to 50.
Change-Id: I4d495a782ed1dea1c377837c6579ce5ff74086b5
2013-09-03 17:39:47 +09:00
Satoshi Kataoka eaee156128 Optimize tablet layout
Bug: 9059539
Change-Id: I049941d2c83764c7f07c5215799b9657a7f27764
2013-09-03 17:36:42 +09:00
Yuichiro Hanada 908fc4f1c3 Call getSuggestedWords asynchronously.
Change-Id: Ia8a21b53f4d12b759d9ef5a5181ed04875e4d198
2013-09-03 15:12:49 +09:00
Yuichiro Hanada 8616e4c03d Remove typedWord from the arguments of showSuggestionStrip.
Change-Id: Iddf33227982e65705b49c6a527286d8695878c90
2013-09-02 22:31:43 +09:00
Satoshi Kataoka fd3509ef69 Merge "Consolidate 7inch and 10inch layout" 2013-09-02 07:27:43 +00:00
Satoshi Kataoka 8b06026258 Consolidate 7inch and 10inch layout
Bug: 9059539
Change-Id: I32ca3f69d9fdfc4bdb74a235346b1c0221d0d92d
2013-09-02 16:16:38 +09:00
Yuichiro Hanada 9666a22815 Revert "Revert "Add onGetSuggestedWordsCallback.""
This reverts commit 78f707a142.
Change-Id: I5dd4f2d40314002736226886477563f29a25079c
2013-09-02 14:09:53 +09:00
Ken Wakasa acc886eeb4 Merge "Revert "Add onGetSuggestedWordsCallback."" 2013-08-30 14:07:18 +00:00
Ken Wakasa 78f707a142 Revert "Add onGetSuggestedWordsCallback."
This reverts commit 820c290a61.

Change-Id: I5c50731ff9f330c05c5841b8c65f16e28e67422c
2013-08-30 14:06:19 +00:00
Ken Wakasa 56e1b7e4f1 Fix emoji view insets calculation
bug: 10541453
Change-Id: I605e657c94686c4974d162657a5e820798d20e8f
2013-08-30 21:18:36 +09:00
Satoshi Kataoka 5169937dd4 Revert "Revert "Support Emoji keyboard""
Window resizing junkiness is addressed in I605e657c9468

This reverts commit aabc972338.

Change-Id: I0bc0f1ad9a90799e643fe9ec35f5b4bbe94eee0d
2013-08-30 19:46:10 +09:00
Ken Wakasa 9f79cf6de4 Merge "Add onGetSuggestedWordsCallback." 2013-08-30 07:52:57 +00:00
Ken Wakasa 2f95baaaf0 Merge "Revert "Remove key preview backing view"" 2013-08-30 07:51:29 +00:00
Ken Wakasa c160a3932f Revert "Remove key preview backing view"
This reverts commit 2dfcfc5013.

Change-Id: I96c691b2e9c92be456420196cd7361d03ea4f3e9
bug: 10541453
2013-08-30 07:50:37 +00:00
Ken Wakasa 4445671efc Merge "Revert "Support Emoji keyboard"" 2013-08-30 07:27:48 +00:00
Ken Wakasa aabc972338 Revert "Support Emoji keyboard"
This reverts commit d7791a93b0.

Change-Id: I5ca4c0227f97540e8a22b487b5056dfa3611082b
2013-08-30 07:23:42 +00:00
Yuichiro Hanada 820c290a61 Add onGetSuggestedWordsCallback.
Change-Id: Ib527d31f9c2dd6dc385cb2f767cd90d9d28a1b1b
2013-08-30 16:08:13 +09:00
Baligh Uddin d5a49272b9 Merge "Import translations. DO NOT MERGE" 2013-08-29 15:16:20 +00:00
Baligh Uddin de63cd9769 Import translations. DO NOT MERGE
Change-Id: I3c5ddf1ec770ba02dab6948d2f856e91fa32dc62
Auto-generated-cl: translation import
2013-08-29 05:23:55 -07:00
Tadashi G. Takaoka bcfcdae230 Add Armenian Phoetic keyboard
We believe this layout is Armenian Eastern Phonetic Keyboard.

Bug: 7963631
Change-Id: Iff3dd879268dd95f00855f67f749e8562fff490c
2013-08-29 20:29:39 +09:00
Tadashi G. Takaoka d7791a93b0 Support Emoji keyboard
Bug: 6370846
Change-Id: I33ce8f952799c89929996a226ac17731a953ec2a
2013-08-29 19:48:34 +09:00
Tadashi G. Takaoka 6c926a1d5e Add Nepali Traditional keyboard
Bug: 9833890
Change-Id: I0af4a358cc1457dc08c32744b5c170bd2a3382c9
2013-08-29 17:21:42 +09:00
Tadashi G. Takaoka 47b71c82ec Fix keyStyle flags handling
Change-Id: Ia0d21f7a00ff99eae89c746244484d6fa3f0f44e
2013-08-29 17:20:18 +09:00
Tadashi G. Takaoka 4e6e9ef3b8 Merge "Clean up Devanagari key definitions" 2013-08-29 08:19:29 +00:00
Ken Wakasa 2cbc7c682d Merge "Workaround for AIOOB exception in ProximityInfo" 2013-08-29 08:11:21 +00:00
Satoshi Kataoka 4994e1f2ba Workaround for AIOOB exception in ProximityInfo
Bug: 10537485
Change-Id: I185f17dcb2cd9e3af17a1eafefaa487804d5cce9
2013-08-29 15:47:47 +09:00
Tadashi G. Takaoka f1ec134dba Clean up Devanagari key definitions
Change-Id: I42210a0bb974f7186fde35f4c8022b0c8603ab8d
2013-08-29 14:47:00 +09:00
Tadashi G. Takaoka e9e8d2d986 Use fixed column order for punctuation more keys
This is a follow up of I71f58fc49b.

Bug: 9059539
Change-Id: Ibf5684ac196e03e889160d8bb14e2b1377331133
2013-08-29 14:22:30 +09:00
Tadashi G. Takaoka fcc6ab08ae Merge "Reduce the number of more keys of the period key" 2013-08-29 01:12:25 +00:00
Tadashi G. Takaoka 85d9b3c281 Reduce the number of more keys of the period key
Bug: 9059539
Change-Id: I71f58fc49bf33b40c17b5a94cad82e942b95e3f1
2013-08-29 10:10:13 +09:00
Tadashi G. Takaoka 41745c4995 Add keyboardLayoutSet attribute to <case> condition
Change-Id: I017c4a3c1c7b2e4c6f607940078f61e120042270
2013-08-29 09:50:45 +09:00
Tadashi G. Takaoka ade725ed01 Merge "Fix unit test" 2013-08-28 11:25:31 +00:00
Tadashi G. Takaoka 2a084e88a7 Merge "Add EmojiKeyboardView" 2013-08-28 11:22:40 +00:00
Tadashi G. Takaoka 0861d67fd8 Fix unit test
The breakage of the unit tests has been introduced by Id8caf5a972 that
emptied the default styles. This change reverts back some attributes
to the default.

Change-Id: I2748eefe50e34bbf908071e4a1a17a70aa32bdef
2013-08-28 20:22:18 +09:00
Tadashi G. Takaoka 8ac0eb59e1 Add EmojiKeyboardView
Bug: 6370846
Change-Id: Ic7d75f1d242795e756e6fede988cfe4b5cc17f0e
2013-08-28 20:18:19 +09:00
Keisuke Kuroyanagi fe87f5f417 Pass additionalFeaturesOptions for getSuggestions().
This fixes null pointer exceptions that are caused when
getSuggestion() is called from spell checker.

Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
2013-08-28 19:24:28 +09:00
Tadashi G. Takaoka 8e3a90e58f Merge "Add emoji keyboard related assets" 2013-08-28 07:55:22 +00:00
Tadashi G. Takaoka a945c0048f Merge "Add Nepali Romanized keyboard" 2013-08-28 07:43:00 +00:00
Tadashi G. Takaoka c0f81463cb Merge "Add dummy Emoji subtype" 2013-08-28 07:42:29 +00:00
Tadashi G. Takaoka bd4068c595 Merge "Add recents keyboard" 2013-08-28 07:40:05 +00:00
Tadashi G. Takaoka 63ebaef1c4 Add Nepali Romanized keyboard
Bug: 6910787
Change-Id: Ib803a75ac3c0e36e05b82f36a38b3a7bc2cae689
2013-08-28 16:36:03 +09:00
Tadashi G. Takaoka 803ea61d55 Add recents keyboard
Bug: 6370846
Change-Id: I5dc235395fe9b3bd95711fee2fe9b678b4660760
2013-08-28 16:33:54 +09:00
Tadashi G. Takaoka 34cbcc1aed Add dummy Emoji subtype
Bug: 6370846
Change-Id: I4fa3a6832fa316d0c6312d434be3c3ff02b52402
2013-08-28 16:26:00 +09:00
Tadashi G. Takaoka d189d2a508 Add emoji keyboard related assets
Bug: 6370846
Change-Id: I86c446665387b5ddf7de08189de306f2bc569262
2013-08-28 16:21:44 +09:00
Ken Wakasa 1148d00b40 Merge "Fix: Wrong file name for dynamic prediction dictionary." 2013-08-28 05:44:02 +00:00
Keisuke Kuroyanagi f0c4575cf4 Fix: Wrong file name for dynamic prediction dictionary.
Bug: 6669677
Change-Id: Id6f06a7423600d3f0604fab43d855826c20d0545
2013-08-28 14:41:32 +09:00
Baligh Uddin b17244a4b7 Merge "Import translations. DO NOT MERGE" 2013-08-28 03:49:24 +00:00
Ken Wakasa b7eae3ffa4 Add comma to the symbol layout's period more keys.
Change-Id: I8a9bc48bab68355936a8ff1d2a00055069d5423d
2013-08-27 19:13:59 +09:00
Tadashi G. Takaoka 16ed1868a1 Fix build
Change-Id: I60a6ee4dff8203cd9a2ed8045df6a2d75e50c89d
2013-08-27 17:32:37 +09:00
Tadashi G. Takaoka 26d3644434 Fix SuggetionStripView.ICS style
This is a follow up of I06427e8886.

Change-Id: Ib33d64f4a4c4f08a80983b6ddf8d117aacbedccb
2013-08-27 17:29:34 +09:00
Tadashi G. Takaoka e94bbca39b Aggregate theme resources into one file
Change-Id: I06427e88864bd9f644820dc8d755719cf2ac0ba6
2013-08-27 17:18:39 +09:00
Tadashi G. Takaoka 08323cd597 Add _gb to Gingerbread resources
Bug: 10415342
Change-Id: Id8caf5a972fe72b577dbf50dcd2cf739b2d35a32
2013-08-27 17:05:22 +09:00
Tadashi G. Takaoka adaaf9ffb8 Rename theme file names
Bug: 10415342
Change-Id: I692b157953f77c610482b494cbaeed4430bcb629
2013-08-27 14:41:54 +09:00
Tadashi G. Takaoka 1f4612fc54 Remove obsolete theme resources
Bug: 10415342
Change-Id: I9073c54b037e0f7973710a9e24ca5044f8db6db0
2013-08-27 12:47:26 +09:00
Tadashi G. Takaoka e1433fb4f2 Remove unused drawables
Change-Id: I4386e977d0335d1c3827822f7a62c365e7f3beec
2013-08-27 11:57:49 +09:00
Baligh Uddin 0b0a7c2417 Import translations. DO NOT MERGE
Change-Id: Ib646a6fbf47e6dbff5f7e9bf8d6d406e64011ed0
Auto-generated-cl: translation import
2013-08-26 18:51:59 -07:00
Tadashi G. Takaoka 2da94ad8cd Add scrollable KeyboardView
Bug: 6370846
Change-Id: I8b9a619e0e6a980c8b17788ad03c62effc7f35b5
2013-08-26 23:37:52 +09:00
Keisuke Kuroyanagi 78ab1bb661 Merge "Make DynamicPred...Base extend ExpandableBinaryDictionary." 2013-08-26 09:56:47 +00:00
Keisuke Kuroyanagi 6e04d65932 Make DynamicPred...Base extend ExpandableBinaryDictionary.
Bug: 6669677
Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
2013-08-26 18:50:22 +09:00
Yuichiro Hanada d5a3c593db Remove a broken dictionary file when fail to read a dictionary file.
Bug: 10434720
Change-Id: Ibdf05a39113538546b8fcf9d59af7dddf7ca27fc
2013-08-26 18:08:21 +09:00
Tadashi G. Takaoka b2f586b9d6 Merge "Enable Azerbaijani subtype" 2013-08-26 08:31:10 +00:00
Yuichiro Hanada b50a7a4bc7 Simplify computeActualNodeArraySize.
Change-Id: I128d02866c2cc70c42263496927327b8a2130139
2013-08-26 08:30:23 +00:00
Yuichiro Hanada 2232a70806 Clean up unused imports.
Change-Id: I7147ca237b99399e79210852aa5bf5a01101d779
2013-08-26 08:29:16 +00:00
Ken Wakasa d21adb5865 Merge "[Refactor] Add DictDecoder.readUnigramsAndBigramsBinary." 2013-08-26 08:28:44 +00:00
Yuichiro Hanada 752a33640c [Refactor] Add DictDecoder.readUnigramsAndBigramsBinary.
Change-Id: I259db91d837c67cbcb3b6dc504b21dca23a6a5be
2013-08-26 17:24:38 +09:00
Tadashi G. Takaoka 4e7825cb58 Merge "Add GridRows tag to support emoji keyboard" 2013-08-26 08:24:16 +00:00
Tadashi G. Takaoka db0e282215 Enable Azerbaijani subtype
Bug: 7963448
Change-Id: I82286e456e0cc842756de9b7f031821556d35709
2013-08-26 17:21:18 +09:00
Tadashi G. Takaoka 2f5a933c04 Add GridRows tag to support emoji keyboard
Bug: 6370846
Change-Id: Ia68284b2402e52d835040da900a51cca669add2f
2013-08-26 17:19:24 +09:00
Tadashi G. Takaoka be4f8f3fbc Merge "Clean up PC QWERTY keyboard" 2013-08-26 07:53:20 +00:00
Tadashi G. Takaoka 7f28b3cc6a Clean up PC QWERTY keyboard
Change-Id: Ibb52683e8f27517b9e7bf398d3b7a31215bd5a8d
2013-08-26 16:23:29 +09:00
Yuichiro Hanada bb5b84a826 [Refactor] Add DictDecoder.getTerminalPosition.
Change-Id: I9d04f64a58f5481cbb64cf1c09b5c485dd4176b4
2013-08-26 16:14:59 +09:00
Ken Wakasa 800225e0b1 Merge "Rename CharGroup to PtNode." 2013-08-26 07:11:12 +00:00
Tadashi G. Takaoka c120199f72 Import emoji unicode point list from Hangouts
Bug: 6370846
Change-Id: I14017f002a94647d2b3154f1f0805f194421b8b5
2013-08-26 16:05:14 +09:00
Yuichiro Hanada 576f625ee1 Rename CharGroup to PtNode.
Bug: 10233675
Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107
2013-08-26 15:58:30 +09:00
Tadashi G. Takaoka 3f1ef22ff0 Fix build
Change-Id: I77e25fd4032b7fc3b4b565c9bab18a2824d7bb76
2013-08-26 15:34:45 +09:00
Tadashi G. Takaoka 17f628c56c Merge "Add copy constructor to Keyboard" 2013-08-26 06:25:26 +00:00
Tadashi G. Takaoka 7308c36a55 Merge "Add emoji keyboard element ids" 2013-08-26 05:42:52 +00:00
Tadashi G. Takaoka 0b3d5e12e3 Add copy constructor to Keyboard
Change-Id: Ib207039f53346f420cca050080e3c4f452e63ff6
2013-08-26 14:21:45 +09:00
Tadashi G. Takaoka 68b990e7ce Add emoji keyboard element ids
Bug: 6370846
Change-Id: I0ac55bc06e1527bafad395f4a2b5059e1fed4b5d
2013-08-26 12:48:07 +09:00
Tadashi G. Takaoka af9c8892da Merge "Remove symbols shifted related unused texts and styles" 2013-08-26 03:44:08 +00:00
Tadashi G. Takaoka 59f49b3861 Remove symbols shifted related unused texts and styles
This is a follow up of I7fe6520e4e.

Bug: 9059539
Change-Id: I1b2cdc4f6ae2f59fabc75c38f43e2b2512b08721
2013-08-26 12:08:08 +09:00
Keisuke Kuroyanagi 958f84320d Merge "Introduce DynamicDictionaryWriter for dynamic dictionary." 2013-08-26 02:29:01 +00:00
Tadashi G. Takaoka 73c2948113 Fix Persian currency symbol
Change-Id: Iea202e6d6857cbc0a3d4374c76bd72ed992da9a6
2013-08-24 02:07:47 +09:00
Tadashi G. Takaoka ce607358bd Merge "Remove symbols shifted layout related code" 2013-08-23 15:37:57 +00:00
Tadashi G. Takaoka 1cd027850b Remove symbols shifted layout related code
This is a follow up of I7fe6520e4e.

Bug: 9059539
Change-Id: Idb39906ddb1e2234a0d1c7c4d5e6fc728090e79e
2013-08-24 00:07:23 +09:00
Yuichiro Hanada 8f4d5d5f23 Fix getDictionaryFileHeader.
Change-Id: I5186f41b0f38eb08f4154f7b3de7ffc2119fc44b
2013-08-23 22:39:36 +09:00
Keisuke Kuroyanagi 87a72f50c2 Introduce DynamicDictionaryWriter for dynamic dictionary.
Bug: 6669677
Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
2013-08-23 22:04:27 +09:00
Yuichiro Hanada e9a10ff0f0 Add DictDecoder.readDictionaryBinary.
Bug: 10434720
Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
2013-08-23 20:29:25 +09:00
Satoshi Kataoka d4528b88e1 Refactor personalization dictionary
Bug: 9429906
Change-Id: I1fa4b045b21687e96de101a97e9593b0884d626f
2013-08-23 18:40:28 +09:00
Yuichiro Hanada 1b50a42b7c Fix addWord.
Change-Id: Ib71dbd5954f44ca80733fa4b1048c829e1df138a
2013-08-23 16:56:48 +09:00
Tadashi G. Takaoka c02a365485 Remove symbols shifted layout
Bug: 9059539
Change-Id: I7fe6520e4eafcb7e1748b8bf011333c7e0da7ac2
2013-08-23 13:41:46 +09:00
Baligh Uddin edaa9be72e Merge "Import translations. DO NOT MERGE" 2013-08-22 18:13:36 +00:00
Ken Wakasa 4929f8516c Merge "Fix writePlacedNode." 2013-08-22 14:03:53 +00:00
Yuichiro Hanada aa4168ee09 Fix writePlacedNode.
Change-Id: I1d6b086f1d9f0dbd8d74f964e29ae62c533af978
2013-08-22 23:02:08 +09:00
Satoshi Kataoka 366c0c5198 Register personalization dictionary
Bug: 9429906
Change-Id: Ic754dd8da67446dfb1ebf44aa3d5ab0804298ca0
2013-08-22 18:06:59 +09:00
Yuichiro Hanada e301085a70 Move findWordByBinaryDictReader to BinaryDictIOUtilsTests.
Change-Id: I443238fd816dea9650dcbbeb3ea757f9674fa52f
2013-08-22 14:49:49 +09:00
Ken Wakasa fef693ea98 Merge "Add DictEncoder." 2013-08-22 05:38:09 +00:00
Baligh Uddin 6d50d10372 Import translations. DO NOT MERGE
Change-Id: I9d83d68403c795f42ecbef2d7bfbe23b5d97f897
Auto-generated-cl: translation import
2013-08-21 20:54:54 -07:00
Yuichiro Hanada c922c8a504 Add DictEncoder.
Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef
2013-08-22 11:53:41 +09:00
Tadashi G. Takaoka 198b52f6db Merge "Fix Hebrew currency symbol" 2013-08-22 02:03:09 +00:00
Tadashi G. Takaoka 6d9b4e913a Fix Hebrew currency symbol
Change-Id: Ib747828aeec20c1ebb4087169a7eb373deb163c3
2013-08-22 10:55:46 +09:00
Kurt Partridge a09e43ef6e Merge "Fix cursor state bug" 2013-08-22 01:24:15 +00:00
Kurt Partridge 6c94a18a28 Fix cursor state bug
InputConnection#finishComposingText() should not change the position of the cursor,
so neither should it change its internal expectation of the cursor's position.

Change-Id: Ib3d39a5743cd1e8e356f438b04a5c30279430b2a
2013-08-21 17:55:35 -07:00
Ken Wakasa f9233e0b98 Merge "Make readPtNode be called with the address from the beginning of the file." 2013-08-21 11:27:20 +00:00
Yuichiro Hanada 558e34c7bd Make readPtNode be called with the address from the beginning of the file.
Change-Id: I8939fdfb4f79e55bcd7393633784effb30df3f8f
2013-08-21 20:02:18 +09:00
Satoshi Kataoka 17cc396972 Merge "Fix build" 2013-08-21 10:56:18 +00:00
Satoshi Kataoka b1552723ee Fix build
Change-Id: I0c0be463552a37cecfb9a403e0723b1799fb8120
2013-08-21 19:55:07 +09:00
Satoshi Kataoka f739807a3f Merge "Add onDestroy to PersonalizationDictionarySessionRegister" 2013-08-21 10:54:08 +00:00
Yuichiro Hanada a306e08753 Rename BinaryDictEncoder to BinaryDictEncoderUtils.
Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805
2013-08-21 18:54:34 +09:00
Yuichiro Hanada 107a5f6fb8 Add PtNodeReader.
Change-Id: Ic918822fc1b3a8a7c39ffbcf7defde2c5bf888db
2013-08-21 18:43:18 +09:00
Satoshi Kataoka 3c8f22880f Add onDestroy to PersonalizationDictionarySessionRegister
Bug: 9429906
Change-Id: Ibf8efd7302da2c27ac59e62b0393f1eec03dc136
2013-08-21 17:24:12 +09:00
Jean Chalard 77827e7b3b Merge "Don't start composing on dash." 2013-08-21 08:06:13 +00:00
Tadashi G. Takaoka 1f39d36458 Remove unnecessary alpha attributes of SuggestionStripView
Change-Id: I78701403d7bd21928c4b459bb336a565f386ebcc
2013-08-21 12:44:30 +09:00
Jean Chalard 2448159ad4 Don't start composing on dash.
Bug: 10403176
Change-Id: I9f969ab9b772dc5ba2015c494b4f98a8864277c4
2013-08-21 11:59:21 +09:00
Jean Chalard 2c7a3e0405 Merge "[AC3] Start calling the methods for auto-commit." 2013-08-20 11:05:23 +00:00
Jean Chalard c10d76f28c Merge "[AC2] Reference a dict rather than a string in suggestion infos" 2013-08-20 11:05:12 +00:00
Jean Chalard 3f15c41d88 Merge "[AC1] Add a memory of where to cut the first word." 2013-08-20 11:05:09 +00:00
Jean Chalard 66a870cb53 [AC3] Start calling the methods for auto-commit.
Bug: 9059617
Change-Id: I190a4baf2fa831b70e00e129b5dfaa8c9c32b3a0
2013-08-20 19:26:11 +09:00
Jean Chalard e8ef095670 [AC2] Reference a dict rather than a string in suggestion infos
Bug: 9059617
Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
2013-08-20 19:18:09 +09:00
Jean Chalard ef1e363016 [AC1] Add a memory of where to cut the first word.
Bug: 9059617
Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
2013-08-20 18:43:19 +09:00
Satoshi Kataoka 33f5f0df8b Merge "Add a functionality to boost scores of personalization dictionary" 2013-08-20 09:08:41 +00:00
Satoshi Kataoka d6ddb96ee8 Add a functionality to boost scores of personalization dictionary
Bug: 9429906
Change-Id: I1518c5cbc7d41188e7dc6a35d226da277ed5913f
2013-08-20 17:50:48 +09:00
Yuichiro Hanada 065aad9501 Add DictDecoder.
Change-Id: Ia1c32f21fe07081ce04d093660e18146b93275a4
2013-08-20 17:43:13 +09:00
Yuichiro Hanada 112257e40f Rename BinaryDictDecoder to Ver3DictDecoder.
Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
2013-08-20 17:11:51 +09:00
Yuichiro Hanada 66004ce2de Remove populateOptions.
Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af
2013-08-20 16:06:52 +09:00
Satoshi Kataoka 22f01a42fc Add a functionality to clear and flush prediction dictionary
Bug: 9429906
Change-Id: I84ec444e9d46a0080dc3450b8ab32bfb99407cfe
2013-08-20 12:28:05 +09:00
Baligh Uddin 8e26b9c04a Import translations. DO NOT MERGE
Change-Id: I4cd33fe3c941bbe1fe4af7073762580c01d3df47
Auto-generated-cl: translation import
2013-08-19 16:06:26 -07:00
Yuichiro Hanada 77bce05e6f [Refactor] Rename BinaryDictReader and BinaryDictDecoder.
BinaryDictReader -> BinaryDictDecoder.
BinaryDictDecoder -> BianryDictDecoderUtils.

Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
2013-08-19 19:36:31 +09:00
Tadashi G. Takaoka c8fb03e6a8 Merge "Save and restore Row attributes using stack" 2013-08-19 10:03:09 +00:00
Tadashi G. Takaoka bcd173dfa1 Save and restore Row attributes using stack
Change-Id: I5cb402060946a711384ee53fa1caaeac86aa10cc
2013-08-19 18:36:49 +09:00
Satoshi Kataoka 6484a4f886 Consolidate onDictionaryClosed
Bug: 9429906
Change-Id: I51eef4c321cc268eac1c8dfd6561ab6e716a1fb0
2013-08-19 17:45:20 +09:00
Satoshi Kataoka ab69835bc6 Merge "Rename Personalization dictionary register functions" 2013-08-19 08:04:44 +00:00
Jean Chalard e515acbcbd Merge "Update dictionaries" 2013-08-19 07:56:30 +00:00
Satoshi Kataoka 0e6fcf2bf6 Rename Personalization dictionary register functions
Bug: 9429906
Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
2013-08-19 16:53:21 +09:00
Jean Chalard 5937c03f15 Update dictionaries
Bug: 10354668
Bug: 10188528

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1374634549 <=> 1376888819
  version : 36 <=> 37
Body :
Deleted: color 78
Deleted: men 85
Deleted: o 115
Added: nationaux 120

>>> dictionaries/iw_wordlist.combined.gz
Added. New dictionary.

>>> dictionaries/pt_BR_wordlist.combined.gz
Header :
  date : 1374634563 <=> 1376884524
  version : 36 <=> 37
Body :
Deleted: la 152

>>> dictionaries/pt_PT_wordlist.combined.gz
Header :
  date : 1357790930 <=> 1376884536
  version : 30 <=> 37
Body :
Deleted: la 152

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1372393835 <=> 1376897704
  version : 35 <=> 37
Body :
Freq changed: говно 68 -> 0

>>> java/res/raw/main_fr.dict
Header :
  date : 1374634549 <=> 1376888819
  version : 36 <=> 37
Body :
Deleted: color 78
Deleted: men 85
Deleted: o 115
Added: nationaux 120

>>> java/res/raw/main_pt_br.dict
Header :
  date : 1374634563 <=> 1376884524
  version : 36 <=> 37
Body :
Deleted: la 152

>>> java/res/raw/main_ru.dict
Header :
  date : 1372393835 <=> 1376897704
  version : 35 <=> 37
Body :
Freq changed: говно 68 -> 0

Change-Id: I87a85571c61068ff46a32d291aa43becbb75598a
2013-08-19 16:41:09 +09:00
Keisuke Kuroyanagi c8ac8da4e4 Merge "Prepare ExpandableBinaryDictionary to make it updatable" 2013-08-19 07:20:16 +00:00
Satoshi Kataoka 979f9f9939 Merge "Consolidate hex string utils" 2013-08-19 05:33:07 +00:00
Satoshi Kataoka 3894a5599b Consolidate hex string utils
Change-Id: Id4f4a287e3a2790b22bff7ad4a4617bf2ee82884
2013-08-19 12:09:59 +09:00
Tadashi G. Takaoka 221929c643 Keyboard.Row can have keyLabelFlags attribute
Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
2013-08-19 11:45:30 +09:00
Tadashi G. Takaoka 0154e3620f Merge "Rename KeyStyle.getFlag to getFlags" 2013-08-19 02:41:49 +00:00
Tadashi G. Takaoka 18546fa92c Merge "Make all KeyboardRow attributes private" 2013-08-19 02:41:40 +00:00
Tadashi G. Takaoka 784416f73b Make all KeyboardRow attributes private
Change-Id: Ifaca6ad5e642964d8c3a77a96a1cd74f363ee996
2013-08-19 11:36:34 +09:00
Tadashi G. Takaoka 0cfd2b08af Rename KeyStyle.getFlag to getFlags
Change-Id: Iff3d850466cb6016a53bf86104cd5d22363f96a8
2013-08-19 11:35:11 +09:00
Ken Wakasa a83e25642f Merge "Add HeaderReaderInterface." 2013-08-19 02:34:23 +00:00
Yuichiro Hanada d794b42f98 Add HeaderReaderInterface.
Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
2013-08-19 11:15:03 +09:00
Yuichiro Hanada 8aaae56cf6 Fix unit test.
Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
2013-08-19 11:10:28 +09:00
Ken Wakasa 606a056b53 Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader." 2013-08-16 12:46:07 +00:00
Yuichiro Hanada 3a73b37b30 Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.
Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
2013-08-16 21:06:23 +09:00
Jean Chalard e32475611c Merge "Support languages that don't use spaces." 2013-08-16 12:05:16 +00:00
Jean Chalard c239a34262 Support languages that don't use spaces.
Thai is an example.

Bug: 10138062
Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
2013-08-16 21:01:08 +09:00