Jean Chalard
060917ed9a
[AC9] Resize an array
...
It's not easy for native code to only output the first
result, so let's supply enough room for it to output all.
Bug: 9059617
Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
2013-09-17 19:05:30 +09:00
Jean Chalard
5cab0eb75b
Merge "[AC8] Restrict the suggestion strip to the correct part"
2013-09-17 09:48:02 +00:00
Jean Chalard
b1e98c2f4f
[AC8] Restrict the suggestion strip to the correct part
...
...for phrase gesture.
Bug: 9059617
Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5
2013-09-17 18:43:12 +09:00
Keisuke Kuroyanagi
d0246277fd
Prepare dictionary saving in native code.
...
Bug: 6669677
Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
2013-09-17 18:07:16 +09:00
Jean Chalard
7e51989b3f
Merge "[AC7] Actually auto-commit."
2013-09-17 08:20:47 +00:00
Keisuke Kuroyanagi
e8754aba1c
[AC7] Actually auto-commit.
...
Bug: 9059617
Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
2013-09-17 16:44:50 +09:00
Satoshi Kataoka
fb9b50671d
Temporary disable saving keys of emoticons to recents
...
Bug: 10538430
Change-Id: I4c3d0d692eecdd3bb5e780bdaca46f3310065471
2013-09-17 16:40:13 +09:00
Satoshi Kataoka
fc51a82079
Merge "Disable smooth scroll of Emoji pager"
2013-09-17 03:51:47 +00:00
Jean Chalard
73d607fb70
Merge "[AC5] Introduce the setting for phrase gesture."
2013-09-17 03:42:38 +00:00
Satoshi Kataoka
44220e7271
Disable smooth scroll of Emoji pager
...
Bug: 10538430
Change-Id: Ib9dfa28bf6b642cc8895022ead9e6b2d64001097
2013-09-17 11:46:34 +09:00
Satoshi Kataoka
f3f00006cb
Save & restore emoji keyboard state
...
Bug: 10538430
Change-Id: I7982f53f5dfa44071e74da63826acffcdc2547e6
2013-09-16 19:39:20 +09:00
Satoshi Kataoka
5dfbc8af24
Split Emoji categories fitting the pager
...
Bug: 10538430
Change-Id: Ic023ac0b9db8a1fe16c73ab5fd12dfcd7cbbe6a3
2013-09-16 18:27:20 +09:00
Ken Wakasa
0f317a5603
Fix issues with Nepali layouts
...
- Added the missing ZWNJ/ZWJ key
- Fix a wrong letter in the shift layout of Nepali Romaized layout
- Put the currency symbol for Nepalese Rupee
- Fix the missing 2nd symbols layout
- Use the Devanagari numbers just like Hindi layout
- Fix the Main/Symbols switch key label just like Hindi layout
bug: 6910787
bug: 9833890
Change-Id: Ie6aa5a06008f1e9347d4fc08ededd48287df5d73
2013-09-16 02:08:51 +09:00
Ken Wakasa
1313d17d37
Small tweak for label_to_more_symbol_for_tablet_key
...
To make it a bit more consistent with the one for phones
Change-Id: Ia5775b07a0d70cabc5c51ff2b954c64ce4dc8c7c
2013-09-14 12:10:04 +09:00
Satoshi Kataoka
cdc2ce8c89
Merge "Use DynamicGridKeyboard for EmojiPager"
2013-09-13 12:20:14 +00:00
Satoshi Kataoka
b0bf7e729b
Use DynamicGridKeyboard for EmojiPager
...
Bug: 10538430
Change-Id: Iff84e306faaa8e87d107e418d5c61c5613b57430
2013-09-13 21:18:57 +09:00
Ken Wakasa
505b6ba103
Merge "Add Lao keyboard"
2013-09-13 12:11:31 +00:00
Ken Wakasa
47761678f1
Add Lao keyboard
...
bug: 6911140
Change-Id: Id689be1fb9dbc89b5a9b7f142626751a62d931ed
2013-09-13 21:10:17 +09:00
Jean Chalard
a37bee2805
[AC5] Introduce the setting for phrase gesture.
...
Bug: 9059617
Change-Id: I6fa0f675f4edac10bd19228cd2f0c8fca97cebd6
2013-09-13 20:44:37 +09:00
Jean Chalard
41aaff6cdf
Merge "[AC4] Add native methods necessary for auto-commit"
2013-09-13 11:41:55 +00:00
Jean Chalard
24aad5a4d5
[AC4] Add native methods necessary for auto-commit
...
Bug: 9059617
Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
2013-09-13 20:15:15 +09:00
Ken Wakasa
fbc7e61a3e
Merge "Add Ver4DictEncoder."
2013-09-13 08:51:58 +00:00
Satoshi Kataoka
ffebc9cfa7
Merge "Add shutdown and isTerminated to PrioritizedSerialExecutor."
2013-09-13 08:51:43 +00:00
Yuichiro Hanada
a099a3e341
Add shutdown and isTerminated to PrioritizedSerialExecutor.
...
Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
2013-09-13 17:46:50 +09:00
Yuichiro Hanada
a141d8ef7d
Add Ver4DictEncoder.
...
Bug: 9618601
Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
2013-09-13 17:33:51 +09:00
Satoshi Kataoka
2c011c697b
Refactor RecentsKeyboard
...
Bug: 10538430
Change-Id: I7a22d2d4a105b17b2a84a3fff2bc3981823d228d
2013-09-13 16:35:07 +09:00
Satoshi Kataoka
12ff349f29
Fix emoji tabs
...
Bug: 10541453
Change-Id: If920eafa0c48e437301fc0b7055ea7b7bbc04669
2013-09-13 14:48:52 +09:00
Satoshi Kataoka
244eca3809
Merge "Fix emoji keyboard insets"
2013-09-13 05:25:33 +00:00
Satoshi Kataoka
898dbe3c29
Fix emoji keyboard insets
...
Bug: 10541453
Change-Id: I16dd72c8c55cb5d21ad61a3307c0f3c5f16f460c
2013-09-13 14:21:40 +09:00
Satoshi Kataoka
dd072e3201
Consolidate EmojiKeyboardView
...
bug: 10538430
Change-Id: Ia799eca303d8ec68eeeb9f00fa8002a44d0c49fc
2013-09-13 11:32:18 +09:00
Jean Chalard
40666017c9
Merge "Avoid recorrection in ex-password fields."
2013-09-12 12:29:33 +00:00
Jean Chalard
ce96d0d12f
Avoid recorrection in ex-password fields.
...
Bug: 10115839
Change-Id: I1f1025c9f28adfb6f5a63d5ba86e359f30c0963e
2013-09-12 21:20:07 +09:00
Ken Wakasa
a6dc3056ff
Merge "Add getDictDecoder."
2013-09-12 11:17:03 +00:00
Yuichiro Hanada
0e40cd0c40
Add getDictDecoder.
...
Bug: 9618601
Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
2013-09-12 20:14:09 +09:00
Satoshi Kataoka
28af9ed19e
Merge "Suppress emoji tabs on JB-MR2 or previous versions"
2013-09-12 10:58:29 +00:00
Keisuke Kuroyanagi
b118a9d729
Merge "Change cache capacity depending on the dictionary size."
2013-09-12 10:38:42 +00:00
Satoshi Kataoka
36ccb030ed
Suppress emoji tabs on JB-MR2 or previous versions
...
Change-Id: I6a9c4994a446026b9736fda37ad7eccbd67a9a3d
2013-09-12 19:38:26 +09:00
Satoshi Kataoka
695a5a391d
Merge "Change space key height in Emoji keyboard view"
2013-09-12 10:25:33 +00:00
Satoshi Kataoka
2d3d415826
Change space key height in Emoji keyboard view
...
bug: 10538430
Change-Id: I724a8c92b49a64196c7da2af40f3d20758e0dbae
2013-09-12 19:18:41 +09:00
Keisuke Kuroyanagi
4c2767857a
Change cache capacity depending on the dictionary size.
...
Bug: 10699291
Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
2013-09-12 18:47:56 +09:00
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
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
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
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
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
741831d322
Add margin to the label of language
...
Change-Id: I48dc63475caf5cc1a1ac09b82b26fbeaef993fa1
2013-09-06 17:21:44 +09:00
Satoshi Kataoka
98565a9c02
Optimize tablet layout
...
Bug: 9059539
Change-Id: Ideb6965768fcf092c081eb1d3102312c863cc5b6
2013-09-06 16:43:19 +09: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
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
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
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
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
47b71c82ec
Fix keyStyle flags handling
...
Change-Id: Ia0d21f7a00ff99eae89c746244484d6fa3f0f44e
2013-08-29 17:20:18 +09: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
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
2a084e88a7
Merge "Add EmojiKeyboardView"
2013-08-28 11:22:40 +00: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
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
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
Keisuke Kuroyanagi
f0c4575cf4
Fix: Wrong file name for dynamic prediction dictionary.
...
Bug: 6669677
Change-Id: Id6f06a7423600d3f0604fab43d855826c20d0545
2013-08-28 14:41:32 +09:00
Tadashi G. Takaoka
16ed1868a1
Fix build
...
Change-Id: I60a6ee4dff8203cd9a2ed8045df6a2d75e50c89d
2013-08-27 17:32:37 +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
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
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
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
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
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
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
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
0e6fcf2bf6
Rename Personalization dictionary register functions
...
Bug: 9429906
Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
2013-08-19 16:53:21 +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
Ken Wakasa
c2f2d0d211
Merge "Limit the number of waiting UpdateBinaryTask to at most 1."
2013-08-16 11:58:57 +00:00
Yuichiro Hanada
e72c4e5fc7
Remove a static buffer for thread safety.
...
Change-Id: I335c35eb182ff63abb8a5b04c053a98d44b7c6ce
2013-08-16 20:22:46 +09:00
Keisuke Kuroyanagi
c8db6f21e9
Prepare ExpandableBinaryDictionary to make it updatable
...
Bug: 6669677
Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
2013-08-16 20:16:31 +09:00
Yuichiro Hanada
0d70bcc821
Limit the number of waiting UpdateBinaryTask to at most 1.
...
Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
2013-08-16 19:44:47 +09:00
Ken Wakasa
47bac6ebf2
Merge "Remove unnecessary caching."
2013-08-16 08:28:19 +00:00
Yuichiro Hanada
6e26cc3f5d
Remove unnecessary caching.
...
Change-Id: Ic4ccab9d344b30b72fca1503827eec1c628fa4ac
2013-08-16 17:10:45 +09:00
Jean Chalard
21dddb1462
Merge "Rename Node to PtNodeArray"
2013-08-16 08:00:55 +00:00
Jean Chalard
af30cbf0ee
Rename Node to PtNodeArray
...
Bug: 10247660
Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
2013-08-16 16:24:54 +09:00
Satoshi Kataoka
283cf9cfc9
Add hex string utils
...
Bug: 9429906
Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
2013-08-16 16:17:48 +09:00
Ken Wakasa
33fce975c9
Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder."
2013-08-15 11:26:06 +00:00
Yuichiro Hanada
94460eba11
[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
...
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
2013-08-15 20:23:07 +09:00
Satoshi Kataoka
623e3f9d58
Merge "Fix cosmetic source code formatting"
2013-08-15 11:20:41 +00:00
Tadashi G. Takaoka
840e42d7f3
Merge "Add getters and copy constructor to Key class"
2013-08-15 11:15:42 +00:00
Tadashi G. Takaoka
25f0d73fa4
Fix cosmetic source code formatting
...
Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
2013-08-15 20:13:31 +09:00
Tadashi G. Takaoka
7dc60f9db7
Add getters and copy constructor to Key class
...
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
2013-08-15 20:12:46 +09:00
Jean Chalard
e7870a2c0d
Add an initial JNI interface to dicttool.
...
Bug: 10100269
Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
2013-08-15 17:58:55 +09:00
Ken Wakasa
dc83fe37ba
Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.""
2013-08-15 08:56:28 +00:00
Ken Wakasa
117f18e844
Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
...
This reverts commit 4c63d0614e
.
Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
2013-08-15 08:54:29 +00:00
Ken Wakasa
f74ddfbb06
Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
2013-08-15 06:53:23 +00:00
Yuichiro Hanada
4c63d0614e
[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.
...
Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
2013-08-15 15:46:58 +09:00
Satoshi Kataoka
a38a15ddc0
Merge "tiny refactor"
2013-08-15 06:38:49 +00:00
Satoshi Kataoka
1aae34873c
tiny refactor
...
Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
2013-08-15 13:38:05 +09:00
Yuichiro Hanada
1db93c9c04
[Refactor] Move some helper methods to BinaryDictIOUtils.
...
Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
2013-08-15 10:49:40 +09:00
Satoshi Kataoka
be4d38e61f
Merge "Fix test breakage"
2013-08-14 11:40:34 +00:00
Satoshi Kataoka
2b39fab829
Fix test breakage
...
Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
2013-08-14 20:38:32 +09:00
Satoshi Kataoka
5654a1f21e
Merge "Fix a debug functionality for the personalization prediction"
2013-08-14 10:43:31 +00:00
Ken Wakasa
8e398e2147
Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils."
2013-08-14 10:38:15 +00:00
Satoshi Kataoka
d09ad2e368
Fix a debug functionality for the personalization prediction
...
Bug: 9429906
Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
2013-08-14 19:36:20 +09:00
Yuichiro Hanada
3edb62c69b
Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
...
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
2013-08-14 19:33:36 +09:00
Satoshi Kataoka
92038bcacd
Merge "Add a method to import one bigram and string utilities"
2013-08-14 10:29:06 +00:00
Ken Wakasa
f795f2b789
Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory."
2013-08-14 10:26:21 +00:00
Ken Wakasa
0766f13391
Merge "Move some constants in BinaryDictInputOutput to FormatSpec."
2013-08-14 10:25:04 +00:00
Yuichiro Hanada
665592774c
Move some constants in BinaryDictInputOutput to FormatSpec.
...
Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e
2013-08-14 19:19:27 +09:00
Tadashi G. Takaoka
bdef628a35
Merge "Add empty key background type"
2013-08-14 10:13:33 +00:00
Tadashi G. Takaoka
ed5582ec65
Merge "Thin out audio and haptic feedback while key repeat"
2013-08-14 10:11:43 +00:00
Satoshi Kataoka
4ee953125a
Add a method to import one bigram and string utilities
...
Bug: 9429906
Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
2013-08-14 18:56:12 +09:00
Jean Chalard
5fd8b7ebd5
Merge "Add looksValidForDictionaryInsertion"
2013-08-14 09:41:49 +00:00
Jean Chalard
af5fbe70ac
Add looksValidForDictionaryInsertion
...
...and test it.
Also at the same time, add a facility to create a SettingsValues for
test, and some minor performance improvement to surrounding
methods.
Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f
2013-08-14 18:39:28 +09:00
Tadashi G. Takaoka
ab16237e69
Thin out audio and haptic feedback while key repeat
...
Bug: 6522943
Change-Id: Id60f256ab0f8741578eda276116817fa48917325
2013-08-14 18:37:58 +09:00
Jean Chalard
fdfc8ad2d0
Merge "Re-evaluate auto-caps earlier."
2013-08-14 09:29:48 +00:00
Tadashi G. Takaoka
e18439d5c7
Add empty key background type
...
Change-Id: I9b07c58a9b70ae0228f87e1f066ca8cd959b4f03
2013-08-14 18:12:11 +09:00
Jean Chalard
4bc74d19ef
Merge "Delete surrogate together."
2013-08-14 09:06:07 +00:00
Jean Chalard
b2d954cad6
Delete surrogate together.
...
Stop deleting them one after the other, it makes no sense. We
can know in advance if we should delete two of them, so let's
use that.
Bug: 6526420
Change-Id: Ifa2263cbde8fedc78bb750b84d4acd3f979774ea
2013-08-14 17:53:33 +09:00
Jean Chalard
b7e782d868
Re-evaluate auto-caps earlier.
...
We have all we know to re-evaluate auto-caps in this case.
We don't need to wait until we get the callback from TextView.
Bug: 10287972
Change-Id: I87e4e26cd193a001f91fe852ffc5a8f728db2449
2013-08-14 17:40:23 +09:00
Jean Chalard
1162c0537d
Merge "Remove dead code"
2013-08-14 08:35:46 +00:00
Yuichiro Hanada
bbc8a930f7
Add FusionDictionaryBufferFromWritableByteBufferFactory.
...
Change-Id: I23de0a178e7f11f2cf301fd433cde60c6152055b
2013-08-14 17:07:44 +09:00
Jean Chalard
d81b9d0276
Remove dead code
...
isComposingWord() is actually defined as size > 0, so this test
can never be false.
Change-Id: If71afae6f0b16bff46178f0fae3244597354fecb
2013-08-14 16:38:37 +09:00
Jean Chalard
e18fdf804a
Merge "Fix a bug with surrogate pairs"
2013-08-14 07:27:54 +00:00
Jean Chalard
a74ae9c451
Fix a bug with surrogate pairs
...
Bug: 10316781
Change-Id: I528c59c8823cda11975cb01b0ae59f12cfadef3b
2013-08-14 16:00:28 +09:00
Ken Wakasa
ae59ce0262
Merge "Remove audio and haptic feedback while key repeating"
2013-08-13 21:50:20 +00:00
Ken Wakasa
f27297d2ec
Merge "Add BinaryDictReader."
2013-08-13 11:03:44 +00:00
Yuichiro Hanada
3feacba1eb
Add BinaryDictReader.
...
Bug: 9618601
Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
2013-08-13 19:55:05 +09:00
Tadashi G. Takaoka
d03e5bd761
Merge "Rename maketext tool to make-keyboard-text"
2013-08-13 08:49:56 +00:00
Ken Wakasa
7242bf1a15
Merge "Make readHeader check the header size before using it."
2013-08-13 08:14:43 +00:00
Yuichiro Hanada
b7bb9c9722
Make readHeader check the header size before using it.
...
Change-Id: I5dc3e2b674f7343ef57317fde6bdb7349a7fe04c
2013-08-13 17:06:25 +09:00
Tadashi G. Takaoka
d1d607287d
Remove audio and haptic feedback while key repeating
...
Bug: 6522943
Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
2013-08-13 17:03:26 +09:00
Tadashi G. Takaoka
ca6acfdd6b
Rename maketext tool to make-keyboard-text
...
Change-Id: Icceda22aec75f9e3602da8775c0e94b110283575
2013-08-13 15:33:14 +09:00
Tadashi G. Takaoka
0adc8a2ad3
Merge "Fix parenthesis direction for RTL languages"
2013-08-13 06:22:12 +00:00
Satoshi Kataoka
46961247a6
Merge "Call onDictionaryReady"
2013-08-13 05:40:21 +00:00
Tadashi G. Takaoka
d41c44498c
Fix parenthesis direction for RTL languages
...
Bug: 10284912
Change-Id: Ie0fc09b101034482a775961c8f8f1fcdf6dbec8f
2013-08-13 12:23:25 +09:00
Satoshi Kataoka
310f8a0f06
Call onDictionaryReady
...
Bug: 9429906
Change-Id: Ifc538b38b7d37469aecccd32a7e3f95a90558be7
2013-08-13 11:41:48 +09:00
Tadashi G. Takaoka
bab69d09f9
Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder"
2013-08-12 08:25:46 +00:00
Satoshi Kataoka
1b7c1cd513
Merge "Add PersionalizationDictionaryRegister"
2013-08-12 06:23:12 +00:00
Satoshi Kataoka
8c4fcb108f
Add PersionalizationDictionaryRegister
...
Bug: 9429906
Change-Id: Ibd4d5cedb371c0b4ee1342a3e6d221c9e34c2402
2013-08-12 14:48:45 +09:00
Tadashi G. Takaoka
7215e06e60
Remove redundant EditorInfo member from KeyboardLayoutSet.Builder
...
Change-Id: I9bbba9c27d3d478421c094e6cd0e1da31fd4f4c8
2013-08-12 14:35:58 +09:00
Ken Wakasa
66a63db2d5
Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
2013-08-12 01:36:46 +00:00
Ken Wakasa
4a2f6a2216
am 25402fd5: am 724db044: Deallocate gesture trail bitmap when unneeded further
...
* commit '25402fd5309891884a843528d47f6b4646341a3f':
Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:53:29 -07:00
Ken Wakasa
02938c6baf
Rationalize how to use AdditionalFeaturesSettingUtils
...
It should be called regardless of the gesture input being enabled or not
Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
2013-08-10 00:32:07 +09:00
Ken Wakasa
724db04495
Deallocate gesture trail bitmap when unneeded further
...
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244
bug: 8967766
Change-Id: I7b916daa5269cfde359a77555e8ffadf0e4a8f92
2013-08-09 21:07:40 +09:00
Tadashi G. Takaoka
2dfcfc5013
Remove key preview backing view
...
This change re-origanizes view hierarchy of IME's input view.
Change-Id: I9d0a07692d0f41de3345d207366393bcd5424f7e
2013-08-09 20:25:42 +09:00
Ken Wakasa
cfcf6660fc
Reinstate a call to UsabilityStudyLogUtils#writeChar()
...
The usability study mode has been broken.
bug: 10251399
Change-Id: Iaa301241f102f412fa073f0d8b897a4c8b265a9c
2013-08-09 19:32:02 +09:00
Yuichiro Hanada
7ec9db2c34
Remove the code and comments about version 1 format.
...
Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b
2013-08-09 16:05:07 +09:00
Tadashi G. Takaoka
6ca0b371de
Merge "Small clean up of KeyboardView.onMeasure"
2013-08-09 03:00:13 +00:00
Tadashi G. Takaoka
4f1fdc30be
Small clean up of KeyboardView.onMeasure
...
Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
2013-08-08 19:15:13 +09:00
Satoshi Kataoka
5c057b3241
Merge "Fix unit tests."
2013-08-08 10:14:27 +00:00
Yuichiro Hanada
7d1ae52ded
Fix unit tests.
...
Change-Id: Ic0013089625e112aaccc888d462330640ef7cc6f
2013-08-08 19:12:35 +09:00
Tadashi G. Takaoka
96b444d429
Merge "Remove processMotionEvent from MoreKeysKeyboardView"
2013-08-08 08:23:23 +00:00
Satoshi Kataoka
1181c5acbc
Merge "Fix to follow the field naming conventions."
2013-08-08 08:06:45 +00:00
Tadashi G. Takaoka
33482a9b9c
Remove processMotionEvent from MoreKeysKeyboardView
...
Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
2013-08-08 15:30:09 +09:00
Keisuke Kuroyanagi
b6d48c4c0b
Make user and contacts dict use ver3 format.
...
Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
2013-08-08 14:57:19 +09:00
Yuichiro Hanada
71ffcc6332
Fix to follow the field naming conventions.
...
Change-Id: I9b41b5f34e93a3f291a352cd85c5ac257beaa9ab
2013-08-08 12:03:36 +09:00
Jean Chalard
4456d1a8c1
Merge "Have double-space-to-period cancel leave a single space"
2013-08-08 02:52:24 +00:00
Jean Chalard
522d13c302
Have double-space-to-period cancel leave a single space
...
Bug: 8911898
Change-Id: Ifb4bb63c14dc960d0a53f1511908830093cca012
2013-08-08 11:49:27 +09:00
Tadashi G. Takaoka
083a40b291
Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService"
2013-08-07 10:32:56 +00:00
Tadashi G. Takaoka
15b80c4ec2
Merge "Add ResouceUtils.getDefaultKeyboardHeight"
2013-08-07 10:32:30 +00:00
Tadashi G. Takaoka
204e7b1401
Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
...
Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
2013-08-07 19:24:22 +09:00
Tadashi G. Takaoka
3897a43940
Add ResouceUtils.getDefaultKeyboardHeight
...
Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
2013-08-07 19:23:31 +09:00
Tadashi G. Takaoka
2cb9a1434e
Merge "Make key label from supplementary code point"
2013-08-07 09:59:41 +00:00
Tadashi G. Takaoka
45d0205862
Make key label from supplementary code point
...
Change-Id: I0a7834b5c4908a2116a8772cf85985ab8bed7091
2013-08-07 18:34:20 +09:00
Satoshi Kataoka
c05b3b56cc
Merge "Add a session for the personalization dictionary"
2013-08-07 08:45:19 +00:00
Satoshi Kataoka
80aa7197b4
Add a session for the personalization dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I361ab380edeee5a8a8b364df3f9f4ab202b79105
2013-08-07 16:44:30 +09:00
Tadashi G. Takaoka
15c42454c0
Remove orientation member from KeyboardId
...
Change-Id: I2c16134a24088dbc30b74ae7c5bc578a9d84a960
2013-08-07 16:32:54 +09:00
Jean Chalard
0f47d5163d
Merge "Reword "No language""
2013-08-06 11:11:21 +00:00
Tadashi G. Takaoka
8ba8798290
Merge "Consolidate forwardTouchEvent with dispatchTouchEvent"
2013-08-06 06:38:33 +00:00
Tadashi G. Takaoka
cc38bfb5d3
Merge "Add emoji icon and code as a groundwork"
2013-08-06 05:35:14 +00:00
Tadashi G. Takaoka
b127d88285
Add emoji icon and code as a groundwork
...
The emoji switching key icon asset should be updated. The icons in
this change are just borrowed from Hangout.
Bug: 10179862
Bug: 6370846
Change-Id: Icea26d2cf2ac6a6df9beb4c98f646dbe309bdcd9
2013-08-06 14:16:15 +09:00
Tadashi G. Takaoka
88f840d2a2
Consolidate forwardTouchEvent with dispatchTouchEvent
...
Change-Id: Ib73962acff72be0a78a3565028572ad694fb8501
2013-08-06 11:04:51 +09:00
Tadashi G. Takaoka
52d220e71b
Remove unnecessary suggestion strip container
...
Change-Id: I3710e1fe1574c0f69f7f448619e939fb45e9b8d3
2013-08-06 10:57:47 +09:00
Tadashi G. Takaoka
2023975988
Merge "Small optimization for readability"
2013-08-06 00:04:35 +00:00
Tadashi G. Takaoka
f8d162c315
Merge "Fix keyboard caching bug for testing"
2013-08-06 00:03:59 +00:00
Tadashi G. Takaoka
c0a732f032
Remove CODE_RESEARCH
...
Instead of CODE_RESEARCH, special outputText ".research." is used to
invoke a research feedback dialog.
Change-Id: Ic95c956ab4f2b5f0c3f2205c9bbcdcfb67db5d6e
2013-08-05 19:05:07 +09:00
Tadashi G. Takaoka
28a148681e
Small cleanup
...
Change-Id: I7dce7373b371f1ed5a985815f5d43fb6c6ee1f84
2013-08-05 18:46:35 +09:00
Jean Chalard
c5beb522ed
Reword "No language"
...
Bug: 10064334
Change-Id: Ie4e6c333566eee9000fa5c8e59e9df8b9b56a5b3
2013-08-05 18:16:35 +09:00
Tadashi G. Takaoka
0016d51ab8
Small optimization for readability
...
Change-Id: I8a24fc0981e58a7dc30f0577c4415a1d3bc5ed4d
2013-08-05 17:36:28 +09:00
Tadashi G. Takaoka
95f9b95dfb
Fix keyboard caching bug for testing
...
Change-Id: I00584a68d868f38c065bb6a41e8e5f4eafd44e7f
2013-08-05 17:35:08 +09:00
Satoshi Kataoka
33592d1bee
Merge "Add a debug preference for using only personalization dictionary"
2013-08-02 11:30:20 +00:00
Jean Chalard
ba2f4f84ca
Merge "Fix a concurrency bug."
2013-08-02 11:28:45 +00:00
Jean Chalard
10d66669c7
Fix a concurrency bug.
...
This probably only ever happens in tests, but still, that's
the right thing to do.
Bug: 10139031
Change-Id: I259be9e7306162e19faf738a093a77762f2e7675
2013-08-02 20:26:37 +09:00
Ken Wakasa
6333ed3801
Small cleanup
...
Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
2013-08-02 20:22:51 +09:00
Satoshi Kataoka
d7491e6e81
Add a debug preference for using only personalization dictionary
...
Bug: 9429906
Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
2013-08-02 20:10:57 +09:00
Ken Wakasa
52876bbefd
Remove unnecessary setLayerType() calls
...
Calling up setLayerType(LAYER_TYPE_HARDWARE, ..) on non-HW accelerated
devices was ending up with having a drawing cache in View that is not
quite needed for PreviewPlacerView.
bug: 8967766
Change-Id: Ic8e6eeaf536530ff5f23eb353b0a8e5ba96fa0e2
2013-08-02 19:30:05 +09:00
Ken Wakasa
82018f9972
Forgot to reset the matrix of offscreen canvas
...
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244
bug: 8967766
Change-Id: I37c2e8e70ff4966ca5e4f29e5cac8349d8fe73b6
2013-08-02 18:51:57 +09:00
Tadashi G. Takaoka
e08c418ff8
Move motion event dispatcher to PointerTracker
...
Change-Id: I967bf4629b7d1002be6aff6007dc03d2db05c562
2013-08-02 16:34:44 +09:00
Ken Wakasa
ed56ea86d0
Merge "Deallocate offscreen buffer for non-HW-accel draw"
2013-08-01 09:29:24 +00:00
Tadashi G. Takaoka
54dd1bed52
Clean up ResearchLogger log method
...
Change-Id: I06c30aab462ce5b17157ff71d5d76f9755178080
2013-08-01 18:25:34 +09:00
Tadashi G. Takaoka
b6cc3a85ab
Move non-distinct multitouch support to a separate class
...
Move code that support non-distinct multitouch screen device to the
NonDistinchMultitouchHelper class.
Change-Id: I2e44f782b83dbcd095ee8e51c36b0766da0cd457
2013-08-01 18:18:33 +09:00
Ken Wakasa
e68d565d0f
Deallocate offscreen buffer for non-HW-accel draw
...
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244
This frees up 800KB on occam_svelte when LatinIME is in background.
Confirmed the performance effect in keyboard-bring up speed was unperceivable.
bug: 8967766
Change-Id: I0fab179c61179564bd3a0349c9825e7d61f7e1f2
2013-08-01 18:01:48 +09:00
Tadashi G. Takaoka
a299421f67
Merge "Remove getTimer() reference except from PointerTracker"
2013-08-01 07:53:45 +00:00
Satoshi Kataoka
503b79029a
Merge "Connect the personalization dictionary"
2013-08-01 07:36:17 +00:00
Satoshi Kataoka
60586b57cf
Connect the personalization dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I9c9f3ed7699f74339ad92be6dcddb8a52c377545
2013-08-01 16:33:20 +09:00
Tadashi G. Takaoka
5433ce64c0
Remove getTimer() reference except from PointerTracker
...
Change-Id: I142eb5b61b932e60452b9b3514d6ddca3d21ec9d
2013-08-01 16:22:53 +09:00
Tadashi G. Takaoka
8126e79e08
Move key repeat function to PointerTracker
...
Change-Id: I26e553692faf48e30e9c43c71fac6980b8432111
2013-08-01 15:45:58 +09:00
Tadashi G. Takaoka
552a4b84f8
Merge "Add UsabilityStudyLogUtils.writeMotionEvent"
2013-07-31 14:21:04 +00:00
Satoshi Kataoka
567e7f05c1
Add the personalization prediction dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I0663de025405b2c92eebd528339b82baec97e2ce
2013-07-31 21:37:33 +09:00
Satoshi Kataoka
853d0fd122
Refactor the personalization dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I9f094bc5a6ce4652e310e090f1536e43f1f24ad1
2013-07-31 21:15:13 +09:00
Ken Wakasa
883bd364eb
Merge "Deallocate gesture trail bitmap when unneeded"
2013-07-31 11:46:25 +00:00
Ken Wakasa
c8814e20b7
Deallocate gesture trail bitmap when unneeded
...
This frees up 1.7MB on Nexus 4 (occam), and 900KB on occam_svelte while
LatinIME goes to background.
The keyboard bring-up speed feels acceptable on both devices.
bug: 8967766
Change-Id: I5bc980c4dc41bc304be3c190934c1f7c55c9d244
2013-07-31 20:39:32 +09:00
Satoshi Kataoka
3b1eb88658
Merge "Refactor the user history dictionary"
2013-07-31 10:37:31 +00:00
Satoshi Kataoka
1439130442
Refactor the user history dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: If53bc3220627802d82ab7c396d0aabdb658573fa
2013-07-31 19:22:11 +09:00
Tadashi G. Takaoka
30977a151e
Add UsabilityStudyLogUtils.writeMotionEvent
...
Change-Id: I41ee6d1879dc937e1554fedfc603d9bb5bec40f2
2013-07-31 19:05:14 +09:00
Jean Chalard
2d7e927354
Fix inconsistencies with mSuggest.
...
This should fix some NPEs, but they are so unlikely that we never
see them.
Bug: 10065412
Change-Id: I2aefea1f52024405cc3fda9106fea41a02aaf4d8
2013-07-31 18:59:18 +09:00
Satoshi Kataoka
acb3cc7473
Merge "Refactor on the user history dictionary"
2013-07-31 09:20:06 +00:00
Tadashi G. Takaoka
310ea9ab90
Remove sudden jump touch event hack
...
This hack was for Nexus One and Droid that can't run on ICS or later.
Change-Id: I1f9cef2022b0bbb333235e6b7c311c9785a1d894
2013-07-31 17:32:41 +09:00
Tadashi G. Takaoka
3b5c05f18c
Merge "Fix Catalan keyboard layout"
2013-07-31 08:01:51 +00:00
Tadashi G. Takaoka
fea0862cf6
Merge "Fix missing Azerbaijani text resource"
2013-07-31 07:58:15 +00:00
Tadashi G. Takaoka
087c8a84a5
Fix Catalan keyboard layout
...
Bug: 10098472
Change-Id: I60e4aa6716f8166ca60ab5687b0faf2d84cd846b
2013-07-31 16:56:34 +09:00
Tadashi G. Takaoka
d4a6869d38
Fix missing Azerbaijani text resource
...
Though Azerbaijani subtype is disabled temporary by Ib8a38f85f4.
Change-Id: I887cf3508bd2945016c506eae1969778ba4582d3
2013-07-31 16:54:46 +09:00
Satoshi Kataoka
87d06afc66
Refactor on the user history dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I1a2bfe96e18119d30a72290aa48746f77a021018
2013-07-31 16:48:55 +09:00
Jean Chalard
8d46ea9156
Merge "Fix some warnings"
2013-07-31 07:38:49 +00:00
Jean Chalard
7d654d8cae
Merge "Fix inconsistency with mutable settings."
2013-07-31 07:38:22 +00:00
Tadashi G. Takaoka
536e0c79cc
Merge "Clean up PointerTracker a bit"
2013-07-31 07:36:27 +00:00
Jean Chalard
561c447404
Merge "Fix a problem where settings were not renewed correctly."
2013-07-31 07:17:49 +00:00
Jean Chalard
93445b4821
Fix some warnings
...
Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
2013-07-31 16:17:01 +09:00
Tadashi G. Takaoka
212165b0b8
Clean up PointerTracker a bit
...
Change-Id: If4ff87348fbc40f271c68dad255dbc42f9b26eb6
2013-07-31 14:52:18 +09:00
Jean Chalard
f8c1aefd90
Merge "Clarify the expected cursor position in RichInputConnection."
2013-07-31 04:56:35 +00:00
Jean Chalard
aa108f1d7f
Clarify the expected cursor position in RichInputConnection.
...
Change-Id: I4d36a23567415c3a293a588b51b46006256c148f
2013-07-31 12:22:15 +09:00
Satoshi Kataoka
323a7aae6c
Merge "Fix the title of the personal dictionary settings"
2013-07-30 08:17:01 +00:00
Satoshi Kataoka
8befd36c65
Fix the title of the personal dictionary settings
...
Bug: 8976598
Change-Id: I9e07ff9e06449e2093b9ba8d6f28a030c69756bc
2013-07-30 15:39:41 +09:00
Jean Chalard
c5c226c424
Fix inconsistency with mutable settings.
...
Change-Id: I0550044199273cecb6f5713aa2e43ae16319cd47
2013-07-30 14:30:24 +09:00
Jean Chalard
74bcc911ea
Fix a problem where settings were not renewed correctly.
...
Bug: 10065412
Change-Id: Id05284f45466cd5b2697a695c3d1bdfbf3cc1f24
2013-07-30 13:22:05 +09:00
Satoshi Kataoka
ab2d273133
Merge "Fix the displayed name of the personal dictionary"
2013-07-30 04:21:58 +00:00
Satoshi Kataoka
5123427532
Fix the displayed name of the personal dictionary
...
Bug: 8976598
Change-Id: I11dd73c8c23b05288c5f417352dc4cc99d489b95
2013-07-30 13:14:08 +09:00
Ken Wakasa
b60e65a0cc
Rename a variable for SettingsValues
...
Change-Id: Icb4155532ea8724791c9194e8dc75ce32b6e8b16
2013-07-29 18:53:23 +09:00
Jean Chalard
d9f0c1e020
Merge "Fix an NPE"
2013-07-29 09:46:32 +00:00
Jean Chalard
5408fec63a
Fix an NPE
...
Also make mSuggest private for more security.
Bug: 10045657
Change-Id: I712505e4d2a2606efff5d09ba9b4c656f9e7c7a9
2013-07-29 18:09:48 +09:00
Satoshi Kataoka
fb9f448b8d
Merge "Add personalization dictionary helper"
2013-07-29 05:21:14 +00:00
Satoshi Kataoka
d45e4b6e5b
Add personalization dictionary helper
...
Bug: 9429906
Bug: 4192129
Change-Id: Ic618b0b09a54ed46b20633bd4c1c570d4ac775af
2013-07-29 12:37:27 +09:00
Jean Chalard
654b0a9c16
Merge "Small optimization"
2013-07-26 11:30:50 +00:00
Jean Chalard
e7903101ea
Merge "Use cached data for getTextBeforeCursor."
2013-07-26 11:25:59 +00:00
Jean Chalard
0a064a5d88
Small optimization
...
Bug: 8864306
Change-Id: Ic8eecd64eff6a1150a90b9f5ec9ebbc5f1d2a6a9
2013-07-26 20:17:55 +09:00
Jean Chalard
8c6537edbd
Use cached data for getTextBeforeCursor.
...
Bug: 8864306
Change-Id: Ia146f711f1de4336d7e3363208ab92eba856f5e1
2013-07-26 20:17:52 +09:00
Satoshi Kataoka
2a8c75fc43
Merge "Add a place holder of the personalization dictionary"
2013-07-26 08:44:26 +00:00
Satoshi Kataoka
5c15b8f442
Add a place holder of the personalization dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: Ieacd0559e0bf286c5933e9dba716289303f533d6
2013-07-26 16:03:04 +09:00
Jean Chalard
38e9802690
Merge "Revert "Very simple refactoring""
2013-07-26 06:58:44 +00:00
Jean Chalard
c6a07e16a5
Revert "Very simple refactoring"
...
This reverts commit f712dc9a4f
.
It turns out this refactoring is not useful after all.
Change-Id: I0145c907b3cc5ac9a30a59abcd719cb546c9bd3a
2013-07-26 06:46:56 +00:00
Jean Chalard
0dd23544ff
Merge "Very simple refactoring"
2013-07-26 05:30:47 +00:00
Satoshi Kataoka
ffcbbaf127
Refactor on UserHistoryDictionary
...
Bug: 9429906
Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
2013-07-26 13:00:19 +09:00
Jean Chalard
f712dc9a4f
Very simple refactoring
...
Bug: 8864306
Change-Id: I5c9b118cb6a8eb59efc52d5534b10fcab93182d6
2013-07-26 12:57:12 +09:00
Tadashi G. Takaoka
c34933828e
Merge "Cancel all ongoing event when onFinishInputView"
2013-07-25 11:08:08 +00:00
Tadashi G. Takaoka
5c095e59f6
Cancel all ongoing event when onFinishInputView
...
Bug: 9334755
Change-Id: If0c2ac49a50f4a529aefeca603569f9413367469
2013-07-25 20:05:39 +09:00
Tadashi G. Takaoka
21c6d23dcd
Merge "Add MoreKeysPanel argument to Controller methods"
2013-07-25 11:00:25 +00:00
Tadashi G. Takaoka
0e08d70fe5
Add MoreKeysPanel argument to Controller methods
...
Bug: 9334755
Change-Id: I5a7104f4c98982f11fb4e060fa83c21bfc360558
2013-07-25 19:53:05 +09:00
Tadashi G. Takaoka
15c41a61ad
Merge "Remove boolean return value of dismissing more keys panel"
2013-07-25 10:45:05 +00:00
Tadashi G. Takaoka
09e4530ca7
Remove boolean return value of dismissing more keys panel
...
Bug: 9334755
Change-Id: Ic29ab69cfbf9007e98fe67695f1854b4876eb976
2013-07-25 17:51:48 +09:00
Jean Chalard
e408bbb5bf
Merge "Fix a bug with multiple word insertion."
2013-07-25 08:34:41 +00:00
Jean Chalard
23a3fd5bfa
Fix a bug with multiple word insertion.
...
This is a port of I5202bc52
Bug: 7903831
Change-Id: I3eb526de01a1f5b51212166e39b98de1d71e9eaf
2013-07-25 16:33:13 +09:00
Tadashi G. Takaoka
058f37f8ba
Merge "Cosmetic code optimization"
2013-07-25 07:29:02 +00:00
Tadashi G. Takaoka
5b696d8336
Cosmetic code optimization
...
Change-Id: If20c1936c8d5f23f0b86d02f21f4ff8a6444244c
2013-07-25 15:44:43 +09:00
Satoshi Kataoka
5563dc3ad5
Show all languages if user enables multiple subtypes
...
Bug: 8976598
Change-Id: I1c3c1ede1235f696eafb3a68ec5c29479768dd0f
2013-07-25 15:15:39 +09:00
Jean Chalard
289df0ecad
Merge "[FD4] Separate cached address before/after update for groups"
2013-07-25 03:03:09 +00:00
Tadashi G. Takaoka
cecb63c2c9
Merge "Make RunInLocale as top-level class"
2013-07-24 13:34:52 +00:00
Tadashi G. Takaoka
9ef59af7ce
Merge "Move subtype related utility class to utils package"
2013-07-24 13:34:35 +00:00
Jean Chalard
25de86a6a2
[FD4] Separate cached address before/after update for groups
...
This should fix bug#8526576 for good.
Bug: 8526576
Change-Id: I473aad26b69d64efa09d2ec9d8e69f29f5cf4819
2013-07-24 18:40:14 +09:00
Jean Chalard
429db8d61e
[FD3] Split stackNodes into two methods.
...
In the future we need to have a method that computes only
from the size, as we used to have, to initialize the cached
addresses, and a much simpler and faster method to copy
the cached sizes.
Bug: 8526576
Change-Id: I6a5a790303ab8f3bf957c7ca266eb12da7c1ad9e
2013-07-24 17:26:16 +09:00
Tadashi G. Takaoka
0c3a9b549c
Make RunInLocale as top-level class
...
Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
2013-07-24 16:00:25 +09:00
Tadashi G. Takaoka
a410cb48ea
Move subtype related utility class to utils package
...
Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
2013-07-24 15:52:43 +09:00
Jean Chalard
5526d138fe
Merge "[FD2] Separate cached address before/after update for nodes."
2013-07-24 01:56:02 +00:00
Ken Wakasa
b9eb32679f
Cosmetic fix for the copyright header
...
Change-Id: I2a93ac21571d1f6255a72a1a238b03dbb95108de
2013-07-23 19:39:03 +09:00
Ken Wakasa
db341afc65
Fix wrong copyright header comment
...
Change-Id: I75ffbc0508c00f7ac8004b764667a174b6ab0b63
2013-07-23 19:26:05 +09:00
Jean Chalard
91cbe3566d
[FD2] Separate cached address before/after update for nodes.
...
Bug: 8526576
Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3
2013-07-23 17:52:54 +09:00
Tadashi G. Takaoka
e6c5184742
Fix NPE in SubtypeLocale.getSubtypeDisplayName
...
This change moves the methods that create the subtype display name for
spacebar from MainKeyboardView to SubtypeLocale class, and
consolidates SpacebarTextTests with SubtypeLocaleTests.
Bug: 9962955
Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
2013-07-23 13:00:04 +09:00
Jean Chalard
1676b8387f
Merge "Fix a bug when moving the pointer in a > 48 chars word"
2013-07-22 08:04:43 +00:00
Jean Chalard
5fa2202e36
Fix a bug when moving the pointer in a > 48 chars word
...
Bug: 9892261
Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15
2013-07-22 17:02:09 +09:00
Ken Wakasa
a7d2fc6bef
Move settings related classes to "settings"
...
Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
2013-07-22 16:35:44 +09:00
Tadashi G. Takaoka
dc7111013f
Merge "Fix IllegalArgumentException in MoreKeysKeyboard"
2013-07-19 06:44:54 +00:00
Tadashi G. Takaoka
b0e76724ed
Fix IllegalArgumentException in MoreKeysKeyboard
...
It seems that MainKeyboardView.getMeasuredWidth() returns weird
value. Using KeyboardId.mWidth as main keyboard width may resolve the
issue.
Bug: 9684622
Change-Id: I975bfb934b8d2448e72555a3ccae0123341186b9
2013-07-19 11:43:50 +09:00
Ken Wakasa
b03447e1af
Move a couple classes to the utils package
...
Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
2013-07-19 10:46:46 +09:00
Tadashi G. Takaoka
03a76a07e2
Merge "Restrict bogus events hack to certain classes of tablets"
2013-07-18 08:40:44 +00:00
Tadashi G. Takaoka
536438a45e
Restrict bogus events hack to certain classes of tablets
...
Bug: 9061320
Change-Id: Ib8c6a5e6db5da99c447bc00867fed51ca959cc3a
2013-07-18 15:49:11 +09:00
Jean Chalard
257750d988
[FD1] Move parents' address computation outside
...
There is no need to do it repeatedly in this loop: it's
clearer and faster to do it at the end only.
Bug: 8526576
Change-Id: I707571179c89479830891ec6d4fd06a9fffed7c1
2013-07-17 20:47:53 +09:00
Tadashi G. Takaoka
6455172a70
Distinguish key press in repeat key
...
Bug: 9859367
Change-Id: Iad643f9785b193e1918a8363de4fefc3b7558bdf
2013-07-16 19:21:16 +09:00
Jean Chalard
2bc980ee28
Merge "Serialize commands sent to a separate threads"
2013-07-16 07:21:07 +00:00
Jean Chalard
6a7a569831
Serialize commands sent to a separate threads
...
Bug: 9715797
Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
2013-07-16 15:54:39 +09:00
Jean Chalard
988a1f3132
Merge "Fix a bug with bad view reuse."
2013-07-16 05:43:15 +00:00
Jean Chalard
4d4310df75
Merge "Fix a wrong call to cancel downloads"
2013-07-16 05:40:16 +00:00
Jean Chalard
6912342a48
Fix a bug with bad view reuse.
...
There are many ways to fix this problem but this is the most
direct way. Removing a view from the cache when any animation
is started will ensure it won't be used again, and will be garbage
collected when it's possible. Since views are created on demand
anyway, a new one will just get created when needed, and that's
it.
Bug: 9400128
Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
2013-07-16 14:12:55 +09:00
Keisuke Kuroynagi
4944827e0f
Merge "Add methods for dynamic updating binary dictionary."
2013-07-16 02:45:01 +00:00
Kurt Partridge
8bfd57820f
Merge "Do not output string-encoded MotionEvent."
2013-07-15 17:36:56 +00:00
Jean Chalard
faa729c47c
Fix a wrong call to cancel downloads
...
This resulted in downloads not being correctly canceled.
Bug: 9715797
Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
2013-07-11 17:15:45 +09:00
Keisuke Kuroynagi
cfbb7fbd48
Fix: Read lock is wrongly used for gutSuggestions.
...
Bug: 9737865
Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
2013-07-09 08:40:43 +00:00
Ken Wakasa
58b2a6372f
Merge "Update ExpandableDictionary.BASE_CHARS[]"
2013-07-08 03:22:15 +00:00
Ken Wakasa
d0ca62678d
Update ExpandableDictionary.BASE_CHARS[]
...
This should be the same as CharUtils::BASE_CHARS[] in the native code.
Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
2013-07-05 20:29:21 +09:00
Tadashi G. Takaoka
ccf4a31027
Move TypefaceUtils and ViewUtils to utils package
...
Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
2013-07-05 19:24:59 +09:00
Tadashi G. Takaoka
4be6198cb7
Reorganize Utils class
...
Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
2013-07-05 19:24:40 +09:00
Tadashi G. Takaoka
72c2feb573
Use TimeUnit instead of DateUtils for readability
...
Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
2013-07-05 17:57:01 +09:00
Jean Chalard
cb13d11c0a
Add a trace.
...
Emit a trace when a new dictionary is copied to LatinIME
successfully, not just when it fails. That will help diagnosing
some problems by being able to ensure this step succeeded
looking at the log.
This does not happen often (like, maybe 3 times at device
activation, and once every few weeks afterwards), so I think
the extra line in the log is more than acceptable.
Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
2013-07-05 12:44:47 +09:00
Keisuke Kuroynagi
49910a9d77
Merge "Fix: release lock in UserHistoryDictionary."
2013-07-04 15:13:09 +00:00
Keisuke Kuroynagi
65db026265
Fix: release lock in UserHistoryDictionary.
...
Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
2013-07-04 23:12:49 +09:00
Keisuke Kuroynagi
f8d2796724
Add methods for dynamic updating binary dictionary.
...
Bug: 6669677
Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
2013-07-04 21:17:49 +09:00
Keisuke Kuroynagi
edd1992ed3
DictionaryWriter to abstract binary dictionary writing.
...
UserHistoryDictionary should become to use ExpandableBinaryDictionary.
Bug: 6669677
Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
2013-07-04 21:06:04 +09:00
Tadashi G. Takaoka
fe202d6738
Add Azerbaijani keyboard
...
Bug: 7963448
Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
2013-07-04 14:47:33 +09:00
Tadashi G. Takaoka
0e007eaff6
Add Kazakh keyboard
...
Bug: 9697273
Change-Id: Ic9943569ed60d601f093181bf135e45a25399121
2013-07-04 13:10:38 +09:00
Kurt Partridge
6d7c647470
Do not output string-encoded MotionEvent.
...
JsonUtils knows how to output MotionEvents into json; that mechanism
should be reused for SuddenJumpingTouchEventHandler.
Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196
2013-07-03 10:13:59 -07:00
Keisuke Kuroynagi
0b1c08bf5a
Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
...
Bug: 6669677
Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d
2013-07-03 19:46:08 +09:00
Tadashi G. Takaoka
f87e8f7ec1
Handling key repeat by emulating key press and code input
...
This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.
Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
2013-07-02 19:50:34 +09:00
Jean Chalard
e5a3b77664
Merge "Move Range out of RichInputConnection and rename it."
2013-07-01 07:20:51 +00:00
Keisuke Kuroynagi
109ba3ace3
Merge "Regenerate old version dictionaries using new format."
2013-07-01 07:16:15 +00:00
Jean Chalard
70ee2201a0
Merge "Do not re-resume suggestion if it's not needed."
2013-07-01 07:12:24 +00:00
Jean Chalard
675bcf191c
Move Range out of RichInputConnection and rename it.
...
Range has grown a bit too big to stay an internal class.
Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
2013-07-01 15:41:13 +09:00
Keisuke Kuroynagi
a62b5b22ef
Regenerate old version dictionaries using new format.
...
Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
2013-07-01 15:25:33 +09:00
Jean Chalard
3f0858eb2b
Fix a bug where no URL means refresh never ends
...
This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.
Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
2013-07-01 14:47:30 +09:00
Jean Chalard
f0af452ce2
Do not re-resume suggestion if it's not needed.
...
This is much better interface-wise. It eliminates all blinking
of the line in the practice.
Bug: 8874148
Bug: 8864306
Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8
2013-07-01 14:40:12 +09:00
Kurt Partridge
8142a7b637
Merge "Record number of words entered"
2013-06-28 17:01:18 +00:00
Jean Chalard
a5e28acf63
Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"
2013-06-28 13:21:31 +00:00
Jean Chalard
555c4236db
Fix a bug where AOSP Latin IME would not fill dictionaries
...
There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.
Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
2013-06-28 12:48:41 +09:00
Kurt Partridge
169571b3c0
Record number of words entered
...
This change records the number of words entered in every LogUnit.
This metric is helpful for determining how much multi-word gestures
and spaceless tapping is used.
Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
2013-06-27 12:30:00 -07:00
Jean Chalard
e04794cbbe
Fix some warnings
...
Mostly remove unused imports
Change-Id: If8ceffdfad79b78194094527759f5c334746973e
2013-06-27 21:36:52 +09:00
Satoshi Kataoka
4ded1af210
Improve the language list in the personal dictionary
...
Bug: 9117704
Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
2013-06-27 20:31:02 +09:00
Satoshi Kataoka
ec69a259c6
Merge "Open an API in ExternalDictionaryGetterForDebug"
2013-06-27 10:32:05 +00:00
Satoshi Kataoka
a2bfd46adf
Use internal personal dictionary settings on JBMR2 or before
...
Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
2013-06-27 19:20:05 +09:00
Satoshi Kataoka
bd84a00fc1
Open an API in ExternalDictionaryGetterForDebug
...
and extend it
Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
2013-06-27 18:41:07 +09:00
Jean Chalard
2bbd78ab0a
Merge "Ignore spans that are not the right size."
2013-06-27 03:06:47 +00:00
Jean Chalard
2f7f6257b6
Ignore spans that are not the right size.
...
Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
2013-06-26 23:02:50 +09:00
Jean Chalard
6c0e412137
Merge "Resume suggestion at start input"
2013-06-26 10:18:32 +00:00
Jean Chalard
a690f3bc40
Merge "Readability improvement"
2013-06-26 07:37:15 +00:00
Jean Chalard
173f74bb18
Merge "Fixing follow-up to I548d899b"
2013-06-26 07:36:44 +00:00
Jean Chalard
fb72890ac6
Readability improvement
...
Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
2013-06-26 16:03:40 +09:00
Jean Chalard
7fcf304c97
Fixing follow-up to I548d899b
...
I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.
Change-Id: I31bd741893207c822827304e77791b1159774e1a
2013-06-26 15:28:42 +09:00
Keisuke Kuroynagi
5bf1be7162
Add jni methods for dynamically handling a dictionary.
...
Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
2013-06-26 12:51:33 +09:00
Jean Chalard
2f69348d51
Resume suggestion at start input
...
Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
2013-06-25 19:38:31 +09:00
Ken Wakasa
fd0945b0da
Merge "Make UserLogRingCharBuffer an external class"
2013-06-25 09:40:31 +00:00
Ken Wakasa
9419e02fd9
Make UserLogRingCharBuffer an external class
...
Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
2013-06-25 18:38:13 +09:00
Jean Chalard
333362adfc
Merge "Fix the one-suggestion case."
2013-06-25 09:10:09 +00:00
Jean Chalard
d7d5ff1f99
Fix the one-suggestion case.
...
When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.
Not completely related to b/8839763, but realized
working on this and needed to have it addressed.
Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
2013-06-25 18:00:30 +09:00
Keisuke Kuroynagi
38b542629a
Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
2013-06-25 08:44:48 +00:00
Keisuke Kuroynagi
981717da4c
Add a parameter isUpdatable to the constructor of BinaryDictionary.
...
Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
2013-06-25 17:39:06 +09:00
Ken Wakasa
12ef7d3702
Merge "Cleanup under the utils package"
2013-06-25 08:20:57 +00:00
Ken Wakasa
03118a2760
Cleanup under the utils package
...
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
2013-06-25 17:09:12 +09:00
Keisuke Kuroynagi
8bc0b51369
Merge "Allow mmapping dictionary file in writable mode in openNative."
2013-06-25 07:09:37 +00:00
Keisuke Kuroynagi
f3b62900c7
Allow mmapping dictionary file in writable mode in openNative.
...
Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
2013-06-25 16:03:33 +09:00
Jean Chalard
10585620bd
Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
2013-06-25 05:00:11 +00:00
Kurt Partridge
1fc6b80009
Merge "Move splash screen to separate file"
2013-06-24 13:40:01 +00:00
Jean Chalard
cdf774122d
Merge "Fix a small bug"
2013-06-24 10:00:05 +00:00
Ken Wakasa
bfaf349c35
Load the native lib eagerly
...
in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.
bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
2013-06-24 18:12:04 +09:00
Ken Wakasa
bc1813186d
Merge "Move util classes to the latin/utils directory"
2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka
fadff6ada1
Merge "Fix possible divided by zeror error"
2013-06-24 08:44:17 +00:00
Tadashi G. Takaoka
bafe4b8a4e
Fix possible divided by zeror error
...
Bug: 9534022
Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
2013-06-24 17:39:36 +09:00
Jean Chalard
ca52e1ca5a
Fix a small bug
...
SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.
Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
2013-06-24 17:39:17 +09:00
Ken Wakasa
e28eba5074
Move util classes to the latin/utils directory
...
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Jean Chalard
e8c4b99e56
Refactor text range to be able to get spans larger than the word
...
This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.
Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
2013-06-24 12:31:14 +09:00
Kurt Partridge
1a0750dc95
Move splash screen to separate file
...
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard
b7a2fd16a1
Merge "Defer disk-intensive tasks until after the keyboard is shown"
2013-06-21 10:57:33 +00:00
Jean Chalard
673c727b7a
Defer disk-intensive tasks until after the keyboard is shown
...
Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
2013-06-21 19:41:45 +09:00
Jean Chalard
e5dee0af4a
Fix a bug in the cached cursor pos, and simplify selection handling
...
The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.
As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.
Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
2013-06-21 18:15:07 +09:00
Tadashi G. Takaoka
9b570b5e62
Fix punctuations strip
...
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00
Jean Chalard
93f74bafbb
Merge "Add tests to dicttool test."
2013-06-20 08:34:38 +00:00
Jean Chalard
23d4eb55ba
Add tests to dicttool test.
...
Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
2013-06-20 17:29:37 +09:00
Tadashi G. Takaoka
c90181d6aa
Use system default key press volume
...
Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
2013-06-18 21:34:30 +09:00
Tadashi G. Takaoka
af69a14c96
Use system default vibration pattern
...
Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
2013-06-18 21:33:51 +09:00
Jean Chalard
3b5a503ebf
Merge "Optimize ProximityInfo#computeNearestNeighbors()"
2013-06-18 11:45:06 +00:00
Jean Chalard
d55baf06d9
Optimize ProximityInfo#computeNearestNeighbors()
...
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.
Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
2013-06-18 20:33:52 +09:00
Tadashi G. Takaoka
3be8263035
Get value text from ValueProxy
...
As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.
Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
2013-06-18 18:27:17 +09:00
Jean Chalard
2a81943d16
Fix a bug with recapitalization
...
This is a shameful bug :/
Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
2013-06-17 20:39:06 +09:00
Kurt Partridge
14718ab898
Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
2013-06-14 17:03:03 +00:00
Jean Chalard
78b881bf5a
Merge "Fix a bug with long user dict entries"
2013-06-14 08:59:51 +00:00
Tadashi G. Takaoka
97eaa543d5
Don't count Spacer into histograms
...
Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e
2013-06-14 16:21:37 +09:00
Jean Chalard
6233ee3633
Fix a bug with long user dict entries
...
Bug: 9410958
Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b
2013-06-14 12:40:35 +09:00
Kurt Partridge
fc98325c61
Log score, kind, and sourceDict for manual suggestion and gesture
...
b/9422713
Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5
2013-06-13 11:03:49 -07:00
Jean Chalard
27d9c6f795
Merge "Cache subtype lists reasonably."
2013-06-13 01:49:41 +00:00
Kurt Partridge
e72d1a07b6
Merge "Allow downloadable dictionaries in development builds"
2013-06-12 21:22:34 +00:00
Kurt Partridge
3d9ebf213c
Merge "Make intents unique to AOSP"
2013-06-12 18:11:17 +00:00
Kurt Partridge
14dd52b8c0
Merge "Adjust settings for development-only versions"
2013-06-12 16:50:55 +00:00
Kurt Partridge
eac0eb89f2
Merge "Fix ResearchLogger feedback bug"
2013-06-12 15:38:45 +00:00
Jean Chalard
ff6445ed0e
Cache subtype lists reasonably.
...
This will spare a lot of IPC for Latin IME at the cost of very little
retained memory.
This improves the loading by potentially a lot - between 15 and 30%
when the layout is cached (which should now be the case almost every
time), and half that if it's not. More importantly, it makes the
load time less sensitive to high device load, which is one of the
sore points.
Bug: 8689779
Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
2013-06-12 18:04:52 +09:00
Kurt Partridge
2a1a463e2e
Adjust settings for development-only versions
...
Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad
2013-06-12 02:01:45 -07:00
Tadashi G. Takaoka
dfd96be03a
Retun an empty Path instead of null
...
Bug: 9374496
Change-Id: If74306104e9d25288e1b216a328304da376c1bdb
2013-06-12 17:35:02 +09:00
Kurt Partridge
19ba5e67af
Fix ResearchLogger feedback bug
...
If the logger feedback screen is up and the user hits the home button or the
keyboard otherwise closes, the system won't let the user enter feedback again,
because it is waiting for the user to finish the first one.
With this change, the state associated with the feedback screen is
cleared when the user closes the keyboard.
b/9398772
Change-Id: I832a82793ad42e31b6b3fdb04fabcea75facde7d
2013-06-12 00:37:46 -07:00
Kurt Partridge
2c1796c226
Make intents unique to AOSP
...
This is to avoid confusion if multiple IMEs are installed with
dictionary pack components
Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
2013-06-11 15:04:00 -07:00
Jean Chalard
4d8f9f1cab
Cache three main keyboards to improve average switch time
...
This typically improves the average loading time by about
35%, after the first time.
Bug: 8689779
Change-Id: I7b0ab6b942af1d3250b9dcbf875f27f9f64692f3
2013-06-11 12:01:56 +09:00
Satoshi Kataoka
fe95e7b1bf
Merge "Fix possible NPE"
2013-06-07 11:09:52 +00:00
Tadashi G. Takaoka
77f63c8ac6
Don't use RichInputMethodManager in setup wizard
...
In setup wizard, InputMethodManager may not be able to be aware that
this IME is installed, especially just after the IME is installed via
GooglePlay app and hit the open button on the app to launch the setup
wizard.
Bug: 9299618
Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
2013-06-07 19:09:44 +09:00
Satoshi Kataoka
6c8136d157
Fix possible NPE
...
Bug: 9314901
Change-Id: Id80f59df38ae72766b097fd1c23326fedd302439
2013-06-07 19:08:58 +09:00
Tadashi G. Takaoka
b0e0c5a844
Merge "Defer getting no language subtype"
2013-06-07 10:00:19 +00:00
Jean Chalard
0ad1489625
Fix an illegal argument exception
...
This is a bit of a shot in the dark, as I really don't see how this
can happen, but this should fix it in the correct way no matter
how it's actually happening.
Bug: 9301836
Change-Id: I472865b7a78883942c9fd46773238c23788674f8
2013-06-07 18:23:00 +09:00
Tadashi G. Takaoka
254b484e75
Defer getting no language subtype
...
Bug: 9318351
Change-Id: I55338c001070655a3f90df3dbe1351bd4180d520
2013-06-07 18:20:31 +09:00
Jean Chalard
6910032972
Merge "Use an iterator to remove stuff from an ArrayList."
2013-06-06 08:19:41 +00:00
Jean Chalard
0dc422e0c7
Use an iterator to remove stuff from an ArrayList.
...
Silly me >.>
Bug: 9306154
Change-Id: Ic00e9d6a31cd1d7aacefe68b7be9c2199e297b0d
2013-06-06 17:03:16 +09:00
Kurt Partridge
efd26bb319
Allow downloadable dictionaries in development builds
...
Bug: 9305379
Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
2013-06-05 22:14:54 -07:00
Satoshi Kataoka
f6a1a76524
Merge "Fix a possible NPE"
2013-06-06 05:02:46 +00:00
Satoshi Kataoka
6f9c6f2c64
Fix a possible NPE
...
Bug: 9301208
Change-Id: Id120c99ab9ef698d16cf7b8beea30c98c95d23a1
2013-06-06 12:01:22 +09:00
Tadashi G. Takaoka
cbd219a761
Move Base64Reader to utils package
...
Change-Id: Id46898c5cae268f05850d79938929b7707f27320
2013-06-05 19:39:36 +09:00
Tadashi G. Takaoka
9c440d1373
Merge "Remove unnecessary Drawable.setState"
2013-06-05 08:34:59 +00:00
Tadashi G. Takaoka
9d4e251826
Merge "Add CsvUtils that conform to RFC 4180"
2013-06-05 06:28:06 +00:00
Tadashi G. Takaoka
3201e98647
Remove unnecessary Drawable.setState
...
Change-Id: I362933ea4d5bcb1ccfebb5b22f6ccecf12337f4b
2013-06-05 14:30:16 +09:00
Tadashi G. Takaoka
3ceeb6bcc6
Add CsvUtils that conform to RFC 4180
...
Bug: 9070153
Change-Id: I66e55dd2f30fddfeb849edb97bc1cbda6b126d92
2013-06-05 12:26:22 +09:00
Tadashi G. Takaoka
0bfc2bc419
Merge "Add CODE_CAPSLOCK for long press shift key"
2013-06-05 02:19:02 +00:00
Tadashi G. Takaoka
9552badf3c
Add CODE_CAPSLOCK for long press shift key
...
This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.
Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
2013-06-04 18:20:06 +09:00
Kurt Partridge
5fc9d6cc04
Avoid an NPE
...
Change-Id: I174eb8e92820fe6e7f8d3b89afae12d94063ef5d
2013-06-03 19:30:57 -07:00
Tadashi G. Takaoka
cbc7acb6f5
Merge "Expand suggestion strip when center suggestion is long"
2013-06-03 14:45:05 +00:00
Kurt Partridge
763fd9d5e9
Merge "Fix revert of committed words"
2013-06-03 13:03:26 +00:00
Tadashi G. Takaoka
b4ae86f0de
Merge "Rename methods for readability"
2013-06-03 09:57:48 +00:00
Tadashi G. Takaoka
9ff7354d78
Clear previous suggestions when gesture typing starts
...
Bug: 8651076
Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
2013-06-03 17:59:26 +09:00
Tadashi G. Takaoka
2a9882a433
Rename methods for readability
...
Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
2013-06-03 17:52:21 +09:00
Tadashi G. Takaoka
043273b00f
Expand suggestion strip when center suggestion is long
...
Bug: 9059710
Change-Id: I7fa2658cc6442e86f69c991f1e99db6fb1ef909c
2013-06-03 16:12:59 +09:00
Tadashi G. Takaoka
0e66ab7433
Merge "Fix ArrayIndexOutOfBoundException"
2013-06-03 07:12:07 +00:00
Tadashi G. Takaoka
72ac390ce6
Fix ArrayIndexOutOfBoundException
...
Change-Id: I243fc4965365680615eed834efe9ae0240e7f2a8
2013-06-03 15:35:49 +09:00
Kurt Partridge
c4119c8063
Merge "Uncommit an extra LogUnit"
2013-06-03 05:38:43 +00:00
Kurt Partridge
a2f3f17de6
Merge "Compare scrubbed strings when uncommitting LogUnits"
2013-06-03 03:03:58 +00:00
Kurt Partridge
743302888b
Merge "Uncommit separator LogUnits"
2013-06-03 03:01:23 +00:00
Kurt Partridge
3d20946272
Merge "Uncommit LogUnits when reverting textInput"
2013-06-03 02:58:20 +00:00
Kurt Partridge
4efb5c3b65
Merge "Remove uncommit on reverting batch input"
2013-06-03 02:54:33 +00:00
Kurt Partridge
94ef54321e
Fix revert of committed words
...
Now that separators are put into their own LogUnits, they must be handled
when going through a revert.
Bug: 9088919
Change-Id: Ibebd0752bb2fa38d74ac96001d63070dd419cee3
2013-06-02 19:22:35 -07:00
Kurt Partridge
f07024e0fa
Compare scrubbed strings when uncommitting LogUnits
...
A LogUnit is only uncommitted if the LogUnit's word matches what is
expected. But a LogUnit never stores numbers, only scrubbed words that
replace numbers with a special character. So when uncommitting, the
text from the TextView must also be scrubbed for the comparison to pass
correctly.
Bug: 9088919
Change-Id: I9b56f10afce6d0cc84eb9ead3b9a9b1e061ae39c
2013-06-02 19:17:31 -07:00
Kurt Partridge
bdff287a0d
Uncommit separator LogUnits
...
Now that separators have their own LogUnits, they must be uncommitted
from the LogBuffer when backspacing over them.
Bug: 9088919
Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9
2013-06-02 19:15:57 -07:00
Kurt Partridge
8160a21c3a
Uncommit an extra LogUnit
...
The period-generating double-space adds an extra LogUnit --
it must be removed when reverting.
Bug: 9088919
Change-Id: Ic148f40b4030a9b4a0651029bda87f7b94a52252
2013-06-02 00:02:38 -07:00
Kurt Partridge
720840851d
Uncommit LogUnits when reverting textInput
...
Bug: 9088919
Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb
2013-06-01 23:42:35 -07:00
Kurt Partridge
4165ef031f
Remove uncommit on reverting batch input
...
Currently when the user reverts a batch input, a LogUnit is uncommitted
from the LogBuffer. It should not be, because the LogUnit containing the
batch input is never committed in the first place (it is only committed
to the LogBuffer when a key is pressed or a new batch input is entered).
Bug: 9088919
Change-Id: I323af453ce082437a663ccae977b21b775a964bc
2013-06-01 11:15:47 -07:00
Jean Chalard
26f489493e
Fix the displayed status after download
...
Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
2013-05-31 20:28:15 +09:00
Jean Chalard
f61999caba
Merge "Make it easy to open several dictionaries from tests"
2013-05-31 11:21:37 +00:00
Tadashi G. Takaoka
a0c3e02d71
Refactor SuggestionStripLayoutHelper a bit
...
Bug: 9059710
Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de
2013-05-31 18:14:47 +09:00
Jean Chalard
1562fc91f0
Make it easy to open several dictionaries from tests
...
Bug: 9127175
Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
2013-05-31 15:36:05 +09:00
Tadashi G. Takaoka
723391c945
Merge "Tidy up Utils class a bit"
2013-05-31 06:29:24 +00:00
Kurt Partridge
e6125db98d
Merge "Catch a permission exception"
2013-05-31 00:30:14 +00:00
Kurt Partridge
d63f756013
Catch a permission exception
...
This change catches a SecurityException if the DictionaryProvider is
unavailable.
Change-Id: I4f2d87327c40765383d8847fd4e934b3cf799488
2013-05-30 13:40:40 -07:00
Tadashi G. Takaoka
cbb99c60be
Tidy up Utils class a bit
...
Change-Id: Idc2feb84a902a6cbb7265d1efe06c34e7d63c2c7
2013-05-31 00:32:57 +09:00
Tadashi G. Takaoka
7097aa2d3d
Merge "Cleanup unreadable variable names"
2013-05-30 13:09:27 +00:00
Tadashi G. Takaoka
d67db32b30
Merge "Separate SuggestionStripLayoutHelper for readablity"
2013-05-30 13:09:17 +00:00
Jean Chalard
1a50999ed9
Merge "Tell the text view we reset state on finish input"
2013-05-30 11:53:50 +00:00
Jean Chalard
e90d039e0c
Fix two strict mode warnings.
...
Bug: 9052555
Change-Id: I86e90488679a78a9f6e901b640025619293765a0
2013-05-30 20:12:05 +09:00
Tadashi G. Takaoka
500a9752b1
Cleanup unreadable variable names
...
Change-Id: Ic97687c58e25e4b0c6833cc25d10854f5f513081
2013-05-30 19:49:51 +09:00
Tadashi G. Takaoka
653603b725
Separate SuggestionStripLayoutHelper for readablity
...
Change-Id: I82c749c6837c3af7ae290f4cd92f5426ca58b5c7
2013-05-30 19:49:20 +09:00
Jean Chalard
8eb214d7e1
Merge "Fix dictionary pack preference order."
2013-05-30 06:38:27 +00:00
Jean Chalard
b3d150aa13
Fix dictionary pack preference order.
...
It turns out giving them in the right order is not enough, you
also have to actually give them a numeric priority.
Bug: 9165928
Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363
2013-05-30 12:33:06 +09:00
Jean Chalard
68d9cb62e2
Tell the text view we reset state on finish input
...
This should be done in onFinishInput rather than onFinishInputView
but for an unknown reason onFinishInput never comes.
Bug: 9113167
Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891
2013-05-29 18:44:40 +09:00
Jean Chalard
2b34b4eab6
Rub some butter on dictionary list scrolling.
...
The default implementation for preferences refuses to
cache the views for custom preferences at all. We can
do it, but the system won't do it for us, so this does it.
This makes the screen scrolling smooth again.
Incidentally it also fixes the bug where the button may
not animate on the first element.
Bug: 8882722
Bug: 8883108
Change-Id: I9b2306ac4bf93761a808ebfee3477a65f017cddf
2013-05-29 11:52:04 +09:00
Kurt Partridge
305509ed2f
Merge "Remove unused method"
2013-05-29 01:36:27 +00:00
Kurt Partridge
b536e2ace5
Remove unused method
...
The removed method was used in old versions of ALK, never in master.
Change-Id: I607009d4fcca7c7c8493fee51ecd923e6a6b3890
2013-05-28 16:51:19 -07:00
Kurt Partridge
215fabff52
Merge "Rename containsCorrection to containsUserDeletions"
2013-05-28 23:41:26 +00:00
Kurt Partridge
315ab98007
Rename containsCorrection to containsUserDeletions
...
This change renames containsCorrection to avoid confusion with
CorrectionInfo, and to better clarify its meaning.
Change-Id: I5d8f8e2b03133c15a60d4e8b0f395cda1fff5447
2013-05-28 09:43:04 -07:00
Tadashi G. Takaoka
d99abf8cb1
Delete shared preference entry when user select default value
...
Change-Id: I3fbafd9024c26a99d87376f5d5e359e03988a30f
2013-05-28 20:44:25 +09:00
Tadashi G. Takaoka
39bd6ea0dc
Merge "Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs"
2013-05-28 11:40:10 +00:00
Tadashi G. Takaoka
dbed20ad8d
Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs
...
Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857
2013-05-28 20:23:37 +09:00
Tadashi G. Takaoka
d69e4191b7
Merge "Refactor suggestion strip layout methods a bit"
2013-05-28 11:11:05 +00:00
Tadashi G. Takaoka
389d308fff
Refactor suggestion strip layout methods a bit
...
Bug: 9059710
Change-Id: I8dc698c1d61ca51b65b232e6c586472588a4accb
2013-05-28 20:03:37 +09:00
Tadashi G. Takaoka
4c2ac9ee5f
Merge "Rename commaConcatinatedText to commaSplittableText"
2013-05-28 10:58:16 +00:00
Tadashi G. Takaoka
c47bc30db8
Rename commaConcatinatedText to commaSplittableText
...
This is a follow up of I5a32882a08.
Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd
2013-05-28 19:17:15 +09:00
Tadashi G. Takaoka
68cf2cd931
Merge "Check all regexp patterns in ResourceUtils.getDeviceOverrideValue"
2013-05-28 10:13:43 +00:00
Keisuke Kuroyanagi
e168a3c2a5
Merge "Adding additional feature settings."
2013-05-28 10:11:29 +00:00
Tadashi G. Takaoka
4c75ea858a
Check all regexp patterns in ResourceUtils.getDeviceOverrideValue
...
This change also fixes a regexp error of Galaxy S III.
Change-Id: I42a4780bbfd2b083f4e27e61ec513aa875907344
2013-05-28 19:05:40 +09:00
Tadashi G. Takaoka
6d77ae9d81
Merge "Remove KeyboardStart.isInMomentarySwitchState"
2013-05-28 09:23:24 +00:00
Satoshi Kataoka
07e56e76a7
Merge "Implement KIND_OOV_CORRECTION"
2013-05-28 07:27:53 +00:00
Keisuke Kuroyanagi
1b100610b3
Adding additional feature settings.
...
Change-Id: I9fec0c03b7da9ce0305b494193f4cfe3fca144f3
2013-05-28 00:27:48 -07:00
Tadashi G. Takaoka
1b46738796
Rename "csv" in StringUtils to "commaConcatenatedText"
...
Change-Id: I5a32882a088e4ff5bfe973a86465d6ff839113d9
2013-05-28 16:13:36 +09:00
Tadashi G. Takaoka
e7e7b3234c
Remove KeyboardStart.isInMomentarySwitchState
...
Change-Id: I00f45d8dd7feb6c34c0a65a8545cddd2751796d0
2013-05-28 15:26:03 +09:00
Satoshi Kataoka
3d97b95b90
Implement KIND_OOV_CORRECTION
...
Bug: 9127749
Change-Id: I96db15a3138e6b522c4c6ad16cc7faad577d3772
2013-05-27 18:53:43 -07:00
Satoshi Kataoka
c92e87faf3
Add smoothing utils / matrix libs
...
Bug: 8556775
Change-Id: I7e0516b344937b84b7d57cc4e5009b7f88e7dc98
2013-05-27 18:08:49 -07:00
Keisuke Kuroyanagi
28b6262b54
Merge "Passing options to native suggestion method."
2013-05-24 22:27:19 +00:00
Tadashi G. Takaoka
740d829092
Merge "Use localized toLowerString in AutoCorrection.isValidWord"
2013-05-24 20:00:38 +00:00
Tadashi G. Takaoka
94027c7201
Use Locale.ROOT for locale neutral operations
...
Bug: 9112465
Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
2013-05-24 12:07:30 -07:00
Tadashi G. Takaoka
618407ab7e
Use localized toLowerString in AutoCorrection.isValidWord
...
Bug: 9112465
Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934
2013-05-24 11:47:36 -07:00
Tadashi G. Takaoka
ebe0544fc8
Remove redundant method AutoCorrection.isInTheDictionary
...
Change-Id: I0737fb0b68f411f4db06014f2d94804935808922
2013-05-24 11:40:03 -07:00
Keisuke Kuroyanagi
50db5f0fff
Passing options to native suggestion method.
...
Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583
Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
2013-05-24 10:21:04 -07:00
Kurt Partridge
264fb9581c
Merge "Log reasons for punting n-gram logging"
2013-05-24 00:19:24 +00:00
Kurt Partridge
aaa23bc12c
Log reasons for punting n-gram logging
...
Addresses b/9074239
Change-Id: I91a3bfcbd32b03e4891ff5f65be01383a3fb8975
2013-05-23 13:56:36 -07:00
Tadashi G. Takaoka
6f9105383a
Remove unnecessary methods of KeyboardSwitcher
...
Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
2013-05-22 10:49:53 -07:00
Tadashi G. Takaoka
dc22b7226a
Merge "Clean up unused return value"
2013-05-22 17:44:51 +00:00
Tadashi G. Takaoka
d88353266a
Merge "Haptick and audio feedback on key repeat"
2013-05-22 17:44:01 +00:00
Kurt Partridge
5fdea4775e
Merge "Always record word boundaries"
2013-05-22 03:04:35 +00:00
Tadashi G. Takaoka
009488eaaf
Haptick and audio feedback on key repeat
...
Bug: 6522943
Change-Id: I181f7e8722bf1b3042d7f384ae8ebf87f29458a9
2013-05-21 19:48:15 -07:00
Tadashi G. Takaoka
d9a87eb857
Merge "Fix drawing debug points of gesture trails"
2013-05-22 00:39:22 +00:00
Keisuke Kuroyanagi
44f679bbd2
Merge "Fix running on device regression test and profile."
2013-05-22 00:18:14 +00:00
Tadashi G. Takaoka
96efb1252a
Clean up unused return value
...
Change-Id: Ie59f08db947ca5314935c6b723cf498129b4515c
2013-05-21 16:42:07 -07:00
Tadashi G. Takaoka
9764397274
Fix drawing debug points of gesture trails
...
Bug: 7167303
Change-Id: I9a75b1b9b9127c5364da49b2a04b22c16a7ad535
2013-05-21 16:09:10 -07:00
Kurt Partridge
450d78b030
Always record word boundaries
...
Word boundaries are currently logged, but only if all the
details of a word pass the privacy filter and are logged.
This change records when a word is committed in all cases,
but does not disclose the word contents or any data used in
its construction.
Addresses b/9070768
Change-Id: I573679d0685c088aca65af99e46337a2f429f816
2013-05-21 16:08:54 -07:00
Tadashi G. Takaoka
8a6a15e052
Merge "Clean up IntentCompatUtils a bit"
2013-05-21 22:17:24 +00:00
Tadashi G. Takaoka
db7d4da3e5
Clean up IntentCompatUtils a bit
...
Change-Id: I803aa6c2160bfa1ffe992b28e7eb6e8a320c9762
2013-05-21 15:13:23 -07:00
Kurt Partridge
ff80ee20b4
Merge "Modify isAllowedToLog"
2013-05-21 21:22:23 +00:00
Kurt Partridge
74a6196c6b
Modify isAllowedToLog
...
Currently isAllowedToLog only checks the state of the
ResearchLogger, and does not consider which log the data is
going to. This causes problems with the logs for Feedback.
The Feedback log should inhibit normal logging procedures,
but the system needs to be able to write specific data
directly to it.
This change renames to isAllowedToLogTo and adds the
destination ResearchLog as a parameter. A FeedbackLog is also
added as a new class so it can be distinguished from other
ResearchLogs.
Change-Id: I5a1eea05bb040c26bf816b89179f44b3024fa2ad
2013-05-21 14:09:04 -07:00
Jean Chalard
d96f63d2ed
am e2bee5b1: am ede3db51: Merge "Fix a crash on a secondary user" into jb-mr2-dev
...
* commit 'e2bee5b134aaefc69a680be8ea65e2d7640b3ead':
Fix a crash on a secondary user
2013-05-20 21:32:21 -07:00
Jean Chalard
ede3db51f0
Merge "Fix a crash on a secondary user" into jb-mr2-dev
2013-05-21 04:27:34 +00:00
Jean Chalard
05ea7c5d02
am 167ba345: am 89fe1f50: Add a method to work around apps broken by recorrection
...
* commit '167ba3459b0ce02b9add12ade9388bd2b1e6eb62':
Add a method to work around apps broken by recorrection
2013-05-20 21:10:07 -07:00
Satoshi Kataoka
10e8b93977
Fix a crash on a secondary user
...
Bug: 9054063
Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4
2013-05-21 12:27:16 +09:00
Keisuke Kuroyanagi
adf82a97a9
Fix running on device regression test and profile.
...
Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776c
2013-05-20 20:14:13 -07:00
Tadashi G. Takaoka
a66396369b
Merge "Remove unnecessary @UsedForTesting annotation"
2013-05-21 03:07:59 +00:00
Jean Chalard
0013f97ddd
am 5906b05b: am 7058b02a: Extract a new class for app-specific workarounds.
...
* commit '5906b05bb50c0a67bd4f03fcfae41db3daefe0bc':
Extract a new class for app-specific workarounds.
2013-05-20 19:50:46 -07:00
Tadashi G. Takaoka
2532f72b94
Remove unnecessary @UsedForTesting annotation
...
Change-Id: I843fd6bc20da95e61d1a05b5b34d6e4c9db59dab
2013-05-21 10:45:59 +09:00
Jean Chalard
89fe1f5088
Add a method to work around apps broken by recorrection
...
Bug: 8944307
Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
2013-05-21 07:53:31 +09:00
Jean Chalard
7058b02a9c
Extract a new class for app-specific workarounds.
...
Bug: 8944307
Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
2013-05-21 07:53:28 +09:00
Kurt Partridge
500dea6ad4
Fix punctuation logging
...
Punctuation is currently put into the same LogUnit as the
following word. This is counter-intuitive and makes
post-processing more complicated.
This change causes punctuation to be put into its own
LogUnit.
A tricky case is the phantom space. A phantom space is
inserted right before other text, whose MotionEvents have
already been collected and inserted into mCurrentLogBuffer.
Phantom spaces are handled by creating their own LogUnit and
inserting it into the LogBuffer right before
mCurrentLogBuffer is shifted in.
Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d
2013-05-17 09:47:40 -07:00
Kurt Partridge
17b63ba588
Merge "Remove unnecessary commit/uncommit"
2013-05-15 23:52:43 +00:00
Kurt Partridge
7af5300c7d
Merge "Add claifying comment"
2013-05-15 23:31:31 +00:00
Jean Chalard
b1e37e4a47
am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"
...
* commit 'f1dcf725061b3e61e40540566a5385cf4934f424':
Don't process recorrection or resets when not shown
2013-05-15 07:58:27 -07:00
Tadashi G. Takaoka
25f0c8089e
am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"
...
* commit '96a9f357c7e2a059687926cd7cd52ac5d06bc65e':
Fix unintentional setup step advance in orientation change
2013-05-15 07:58:18 -07:00
Tadashi G. Takaoka
7fe675440e
am 769427cf: Adjust aspect ratio of setup image
...
* commit '769427cff24944958f5f1f6179090a86444f3eab':
Adjust aspect ratio of setup image
2013-05-15 07:57:38 -07:00
Jean Chalard
f1dcf72506
Merge "Don't process recorrection or resets when not shown"
2013-05-15 11:25:25 +00:00
Jean Chalard
c9aaba1253
Don't process recorrection or resets when not shown
...
Bug: 8954116
Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
2013-05-15 20:20:20 +09:00
Tadashi G. Takaoka
9b4a883e09
Fix unintentional setup step advance in orientation change
...
Bug: 8159728
Change-Id: I53e7d7c8fb5cc231ea94474b091e550f77ae8dab
2013-05-15 19:50:35 +09:00
Tadashi G. Takaoka
769427cff2
Adjust aspect ratio of setup image
...
Bug: 8159728
Change-Id: I578014912fa63c4c9b4c2c89aeae7ffec836b06c
2013-05-15 14:48:27 +09:00
Kurt Partridge
993acbaaa2
Remove unnecessary commit/uncommit
...
When the user reverts a commit, this causes the committed
word to be changed. The user usually then goes back to edit
that word. Going back to edit causes an uncommit, so that
the editing actions are added onto the LogUnit containing
the operations used to construct the word.
But currently, reverting also involves its own
commit/uncommit pair, with the caller performing the
uncommit, and the commit happening inside the revert
command. This may have been necessary in the past, when
revert was called in different situations, but is
unnecessary now. Furthermore, the guarding conditions are
currently such that the uncommit doesn't always undo the
effects of the commit, corrupting the log output.
Change-Id: I74af41f4f1db2fcabfa496dcc4a2d7bd0af19b3a
2013-05-14 12:20:27 -07:00
Kurt Partridge
7b0a148951
Merge "Rename a var to match semantics"
2013-05-14 16:11:07 +00:00
Kurt Partridge
3e8df13cd7
Add claifying comment
...
This is a follow-up to I7c01c3dd3ac33d7e96c00836256bae9c14b124ed
Change-Id: I9e3f8968c4bbf9525d5dfe101f71373c42f88361
2013-05-14 09:10:22 -07:00
Kurt Partridge
b2d53be740
Merge "Remove FeedbackLog instance variables."
2013-05-14 13:09:33 +00:00
Tadashi G. Takaoka
8b56ad7814
Merge "Revise welcome screen video and still image"
2013-05-14 12:01:47 +00:00
Tadashi G. Takaoka
7348d9fb72
Revise welcome screen video and still image
...
Bug: 8159728
Change-Id: Ief8d7197879d24ccef529e975c23d6f11c7aa458
2013-05-14 20:56:09 +09:00
Ken Wakasa
d6d70e7325
Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden""
2013-05-14 11:46:04 +00:00
Ken Wakasa
3efa36f6aa
Revert "Fix isSuggestionsStripVisible when keyboard hidden"
...
This reverts commit cb0d1c4c58
Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a
bug: 8954116
2013-05-14 11:44:22 +00:00
Tadashi G. Takaoka
41016acacf
Back to previous keyboard layout by canceling sliding input
...
Bug: 8915171
Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
2013-05-14 20:28:03 +09:00
Tadashi G. Takaoka
c9398a3b39
Merge "Fix PointerTrackerQueue.releaseAllPointerOlderThan"
2013-05-14 06:53:15 +00:00
Tadashi G. Takaoka
979fb7415b
Fix PointerTrackerQueue.releaseAllPointerOlderThan
...
Change-Id: If353869720895ee5355079c15c724132762dd70c
2013-05-14 15:32:21 +09:00
Jean Chalard
cb0d1c4c58
Fix isSuggestionsStripVisible when keyboard hidden
...
When the keyboard is hidden, the suggestion strip is
never visible.
Bug: 8954116
Change-Id: I9f242d07b49ad60b625a22429bb013251e814905
2013-05-14 15:19:19 +09:00
Kurt Partridge
6fefc142cf
Remove FeedbackLog instance variables.
...
For a while, the ResearchLogger supported comprehensive recording of the
last few words in case the user wished to upload this data to give
developers feedback. However, this mechanism was not implemented well
(keeping a separate copy of the data), did not make the collected data
clear to the user, and was not working properly in the latest build (NPEs).
The mechanism in fact was deprecated in favor of the "userRecording"
mechanism in which the user explicitly turned on comprehensive recording,
demonstrated the issue they were experiencing, and then turned it off.
This change removes the vestiges of the FeedbackLogging mechanism.
A feedback log is still used to hold the user's message, but it is created
in a local variable as-needed, and not persisted in ResearchLogger.
Change-Id: I6a09d0ed36e1eddb6e57895e7428d22107f75f49
2013-05-13 20:37:15 -07:00
Kurt Partridge
b5c39f4531
Rename a var to match semantics
...
The IS_INHIBITING_AUTO_UPLOAD flag is tested in isPossibleToUpload, so it inhibits all uploads, not
just automatic ones. Renaming to IS_INHIBITING_UPLOAD.
Change-Id: Iceed79260d4b062147f40c09f0c5bb06b2519b1b
2013-05-13 17:01:39 -07:00
Tadashi G. Takaoka
b121538e0c
Tune maximum keypress duration to 100 milliseconds
...
Bug: 8556975
Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b
2013-05-13 20:04:59 +09:00
Tadashi G. Takaoka
5f857a359a
Merge "Disable functional key while in sliding input mode"
2013-05-13 10:50:32 +00:00
Tadashi G. Takaoka
e3b1bdc4f1
Disable functional key while in sliding input mode
...
This change registers the functional key when sliding input mode is
end at the functional key itself.
Bug: 8915171
Change-Id: I2031e2aa4ebf33684221fc44d4a808112489724f
2013-05-13 19:39:57 +09:00
Tadashi G. Takaoka
b5f67e7faf
Add device specific keypress vibration duration database
...
Bug: 8556975
Change-Id: I11260a64dc13c102bac7a9742dc66f2b05fd32de
2013-05-13 18:34:48 +09:00
Tadashi G. Takaoka
6b0bcfba9b
Merge "Disable long press timer while sliding input mode"
2013-05-13 08:57:56 +00:00
Tadashi G. Takaoka
43ad100d8b
Disable long press timer while sliding input mode
...
Bug: 8915171
Change-Id: Id8685f90766c7de55b56476de83abf97150a186d
2013-05-13 17:40:26 +09:00
Tadashi G. Takaoka
ad662adeef
Disable delete key repeating while in slide input mode
...
Bug: 8915171
Change-Id: I04f84c29f10abc0207072d2165c75dd20f053f92
2013-05-13 17:23:08 +09:00
Tadashi G. Takaoka
18184eacb1
Support regular expression for condition pattern
...
Bug: 8556975
Change-Id: Iffc53d6a40dd77860434c5f7f4f59af5cd1ba92b
2013-05-13 16:25:03 +09:00
Tadashi G. Takaoka
ec83457d72
Merge "Support multiple condition for getDeviceOverrideValue"
2013-05-13 06:13:20 +00:00
Tadashi G. Takaoka
d69fa0a09a
Support multiple condition for getDeviceOverrideValue
...
Bug: 8556975
Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48
2013-05-13 14:38:21 +09:00
Ken Wakasa
cb3bba3c4e
Rename GesturePreviewTrail.java -> GestureTrail.java
...
Try reducing some confusions between GesturePreviewTrail.java and GestureTrailsPreview.java
Change-Id: I5fe2ee740cf1b32210530188153f6f6937e34b68
2013-05-13 13:42:22 +09:00
Kurt Partridge
7d72ca0b20
Avoid JsonWriter multi-write error
...
JsonWriter requires that its clients pass it only a single top-level object.
The existing implementation tries to make code cleaner by having mJsonWriter
never be null, and instead use a global static "NULL_JSON_WRITER" that just
discards data. But because JsonWriter complains if more than one top-level
object is passed, making this a global object does not work. This change
instead copes with mJsonWriter being null.
Change-Id: Ia37ccfc8646e91f11a64713dd92d2846eb86ac54
2013-05-10 18:21:08 -07:00
Kurt Partridge
260df84197
Merge "Remove unused code"
2013-05-10 22:12:11 +00:00
Kurt Partridge
bb17034f64
Merge "Remove ref to LatinImeLogger preference."
2013-05-10 20:41:52 +00:00
Kurt Partridge
4135c2db7b
Merge "Avoid NPE by fixing ResearchLogger initialization"
2013-05-10 15:48:04 +00:00
Tadashi G. Takaoka
565ced4546
Merge "Refactor StringUtils.findPrefixedString to findValueOfKey"
2013-05-10 09:49:07 +00:00
Tadashi G. Takaoka
6d3d2ae064
Refactor StringUtils.findPrefixedString to findValueOfKey
...
Bug: 8556975
Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307
2013-05-10 18:44:04 +09:00
Tadashi G. Takaoka
4705c0fa7c
Fix screen flash when launching settings activity
...
Bug: 8336068
Change-Id: I90a0f259129a3f3319b158b060154cc43960c234
2013-05-10 15:36:24 +09:00
Tadashi G. Takaoka
2b5c9726f4
Introduce another activity to launch setup wizard
...
Bug: 8336068
Change-Id: I35b94dd87c5b01d3e927da8f918a5398dd565d33
2013-05-10 15:30:53 +09:00
Tadashi G. Takaoka
5ffa5bf3ba
Merge "Keep SetupActivity alive to check re-launching from launcher"
2013-05-10 06:24:52 +00:00
Tadashi G. Takaoka
9ed322b40f
Keep SetupActivity alive to check re-launching from launcher
...
Bug: 8336068
Change-Id: I183b8e3fd1b3898d5f8dbbb13a0c93c64341fc38
2013-05-10 15:15:53 +09:00