Satoshi Kataoka
4be5f221e6
Clear the cache of subtypes in onStartInputViewInternal
...
Bug: 11077905
Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
2013-10-07 20:10:58 +09:00
Jean Chalard
86f7711407
Merge "Don't auto-correct to non-whitelist shortcuts"
2013-10-07 10:04:18 +00:00
Jean Chalard
f309f2288b
Don't auto-correct to non-whitelist shortcuts
...
Bug: 11076722
Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
2013-10-07 19:01:57 +09:00
Jean Chalard
a6047aae94
Merge "Set the shortcut frequency correctly."
2013-10-07 10:00:34 +00:00
Jean Chalard
f3204eebb1
Set the shortcut frequency correctly.
...
14 is the right value.
Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
2013-10-07 18:55:42 +09:00
Keisuke Kuroyanagi
be4d85feb0
Merge "Fix bug and Add large test for decaying dictionary."
2013-10-07 09:32:56 +00:00
Jean Chalard
7da62bbe24
Merge "Remove suggestions when string contains a period"
2013-10-07 08:34:52 +00:00
Keisuke Kuroyanagi
cfb018ba6d
Fix bug and Add large test for decaying dictionary.
...
- GC gets failure when the dictionary become empty.
- Useless unigrams are sometimes not removed.
Bug: 10197478
Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
2013-10-07 17:31:01 +09:00
Jean Chalard
df33982fce
Remove suggestions when string contains a period
...
This is not the right way to do it, but it's simple and will kill the
regression. We should investigate why the return values are
wrong in this case.
Bug: 10780091
Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
2013-10-07 17:27:27 +09:00
Satoshi Kataoka
4746217247
Enter -> Alpha keyboard switcher in Emoji palette view
...
Bug: 11103091
Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
2013-10-07 17:05:54 +09:00
Satoshi Kataoka
4deb824f3a
Add navigateEmoji
...
Bug: 11074625
Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07 15:28:39 +09:00
Satoshi Kataoka
e6e4c70a23
Fix build
...
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07 12:48:14 +09:00
Satoshi Kataoka
d76b552979
Rename EmojiKeyboardView -> EmojiPalettesView
...
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-07 12:28:13 +09:00
Jean Chalard
423921ca13
Merge "Fallback on empty locales."
2013-10-04 13:44:44 +00:00
Jean Chalard
5db7eabafb
Merge "Accept double-space-period after emoji."
2013-10-04 13:05:43 +00:00
Jean Chalard
43a8a0c527
Fallback on empty locales.
...
This is a very rare corner case.
Bug: 11072132
Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
2013-10-04 22:04:59 +09:00
Jean Chalard
8142fd83a6
Accept double-space-period after emoji.
...
This also includes a fix that allows this code to read surrogate
pairs in this processing.
Bug: 11070482
Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
2013-10-04 22:01:36 +09:00
Satoshi Kataoka
1d188a28fb
Merge "Fix emoji"
2013-10-04 12:00:39 +00:00
Satoshi Kataoka
0cf92aa826
Fix emoji
...
Bug: 10538430
Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1
2013-10-04 20:58:09 +09:00
Satoshi Kataoka
0b288985b7
Merge "Fix emoji recent key behavior"
2013-10-04 11:18:07 +00:00
Satoshi Kataoka
e7ed5cae44
Fix emoji recent key behavior
...
Bug: 10538430
Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6
2013-10-04 20:01:00 +09:00
Ken Wakasa
c01707db03
Merge "Suppress exceptions that have always been happening."
2013-10-04 10:13:53 +00:00
Ken Wakasa
fba1bd0ec4
Suppress exceptions that have always been happening.
...
Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
2013-10-04 19:10:26 +09:00
Yuichiro Hanada
e4e0add9fb
Add Ver4DictUpdater.
...
Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
2013-10-04 17:33:29 +09:00
Yuichiro Hanada
75d60e821c
Refactor BinaryDictIOUtilsTests.
...
Change-Id: I2208378b33038771b460abb33f9a690872e998e2
2013-10-04 14:19:13 +09:00
Yuichiro Hanada
14d31d4640
Add AbstractDictDecoder.
...
Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
2013-10-04 14:16:59 +09:00
Yuichiro Hanada
73b9d3b879
Separate shortcut targets from the trie file.
...
Bug: 10920165
Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
2013-10-04 11:16:10 +09:00
Keisuke Kuroyanagi
864ee881bd
Merge "Fix UserHistoryDictionaryTests."
2013-10-03 12:02:34 +00:00
Keisuke Kuroyanagi
11f7cae094
Fix UserHistoryDictionaryTests.
...
Bug: 6669677
Bug: 10667710
Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
2013-10-03 20:55:34 +09:00
Yuichiro Hanada
3dd77a6d66
Add SparseTableContentWriter to Ver4DictEncoder.
...
Bug: 10920165
Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
2013-10-03 20:31:01 +09:00
Yuichiro Hanada
d6e307a4b7
Add DictUpdater.
...
Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
2013-10-03 20:16:34 +09:00
Satoshi Kataoka
85607c5965
Merge "Fix the subtype id of the additional subtypes"
2013-10-03 07:45:24 +00:00
Satoshi Kataoka
9ecdb831db
Fix the subtype id of the additional subtypes
...
Bug: 11032428
Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85
2013-10-03 16:41:13 +09:00
Satoshi Kataoka
c7f8d54d6e
Merge "Prepare for changing text color for functional keys"
2013-10-03 07:15:03 +00:00
Satoshi Kataoka
194e004e81
Prepare for changing text color for functional keys
...
Bug: 10786040
Change-Id: I0de7d4923ea13b44adcf1f4ea456796cd02ef27b
2013-10-03 15:54:46 +09:00
Keisuke Kuroyanagi
d25cd26f1a
Merge "Try decaying user history at hourly intervals."
2013-10-02 09:44:03 +00:00
Yuichiro Hanada
3aa8977cb2
Remove some unused variables.
...
Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
2013-10-02 18:26:03 +09:00
Keisuke Kuroyanagi
f36a97ab3a
Try decaying user history at hourly intervals.
...
Bug: 6669677
Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
2013-10-02 18:06:08 +09:00
Ken Wakasa
2dcb63375d
Merge "Make SparseTable have multiple content tables."
2013-10-02 08:32:55 +00:00
Jean Chalard
cd7422f4df
Merge "Fix a pernicious bug with caps."
2013-10-02 07:59:08 +00:00
Jean Chalard
f735117d36
Fix a pernicious bug with caps.
...
What's happening here is, setAlphabetKeyboard sets the
keyboard to AUTOMATIC_SHIFTED and updates the keyboard, then
restoring the keyboard old state sets it back to UNSHIFTED without
updating it. When we finally know what the correct value is,
we try to set it to UNSHIFTED, but since that's already the currently
recorded state, it skips updating the keyboard forever.
The solution is to avoid setting the shift state without updating the
keyboard.
Bug: 10948582
Change-Id: Ic8670401e378f8284e851281f91a9ad93eac8e90
2013-10-02 16:57:36 +09:00
Satoshi Kataoka
c5182c9a4a
Correspond to the security related API change for PreferenceActivity
...
Bug: 10118761
Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
2013-10-02 16:25:07 +09:00
Yuichiro Hanada
4284e9aae7
Make SparseTable have multiple content tables.
...
Bug: 10920165
Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
2013-10-02 15:36:13 +09:00
Jean Chalard
a8b838b473
Merge "Fix a test and crash with a better error message when reading"
2013-10-02 06:28:06 +00:00
Jean Chalard
fa946d4a0f
Fix a test and crash with a better error message when reading
...
When there are too many bigrams, we stop reading the file,
so the file pointer is in an inconsistent place. This means we
have no idea what's going to happen next. It's better to crash
right away.
Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
2013-10-02 11:48:47 +09:00
Satoshi Kataoka
5ceae026e0
Retain Emoji Keyboard after rotation
...
Bug: 10612450
Change-Id: Ie0ae953958d2b0a0a4da651584f1e28b0ba38ae3
2013-10-01 22:59:02 +09:00
Satoshi Kataoka
9d76391058
Merge "Unfortunately, hide some broken "emoji"s"
2013-10-01 12:18:13 +00:00
Jean Chalard
74577bedb3
Merge "Implement the heuristic for auto-commit."
2013-10-01 12:10:57 +00:00
Satoshi Kataoka
c7e6f3dbc3
Unfortunately, hide some broken "emoji"s
...
Bug: 10923117
Change-Id: I27ba38e5f388cc15ae331fd05d63db4e4a41cbbf
2013-10-01 21:02:59 +09:00
Jean Chalard
459cd6f8ef
Implement the heuristic for auto-commit.
...
Bug: 9059617
Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
2013-10-01 21:00:40 +09:00
Jean Chalard
2afa0e621e
Merge "Fix a bug where gesture would delay update."
2013-10-01 11:21:59 +00:00
Jean Chalard
b1e6eeea57
Fix a bug where gesture would delay update.
...
Change-Id: I94c394f45f2717bc1a4b95692a5757c1e7179152
2013-10-01 20:06:36 +09:00
Ken Wakasa
382094a784
Merge "Cleanup and remove redundant more keys on phones"
2013-10-01 10:29:15 +00:00
Ken Wakasa
e56c2f979f
Cleanup and remove redundant more keys on phones
...
Change-Id: I419c3c119eb1e4d2e877c8c00564e46f40b6abc2
2013-10-01 19:02:09 +09:00
Ken Wakasa
cc81a93b01
Merge "Add skipPtNode to DictDecoders."
2013-10-01 09:06:39 +00:00
Yuichiro Hanada
bc4926235d
Add skipPtNode to DictDecoders.
...
Change-Id: I042ff041b68572182c87dc87db6a6aa2bbbefc6c
2013-10-01 17:21:21 +09:00
Satoshi Kataoka
a4913994c2
Hide indication bar if only one page
...
Bug: 10923117
Change-Id: If81bf07ba2e7c4fff44a8832f98b4a393c15edc7
2013-10-01 16:58:42 +09:00
Keisuke Kuroyanagi
126d758c1e
Merge "Quit blocking getSuggestion during GC."
2013-10-01 07:08:11 +00:00
Jean Chalard
bb57090f1d
Create the wiring for auto-commit confidence computation.
...
Bug: 9059617
Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a
2013-10-01 15:04:15 +09:00
Keisuke Kuroyanagi
03cb8f751a
Quit blocking getSuggestion during GC.
...
Bug: 10831272
Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec
2013-10-01 12:04:06 +09:00
Alan Viverette
458fb52b98
Merge "Speak auto-corrections for accessibility"
2013-09-30 18:14:13 +00:00
Keisuke Kuroyanagi
65330d2820
Merge "Implement simple dictionary decay."
2013-09-30 11:56:15 +00:00
Keisuke Kuroyanagi
fd02b2d6ee
Implement simple dictionary decay.
...
Groundwork and implement simple decay.
Increment probability when typed and decrement probability
at GC.
Bug: 6669677
Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
2013-09-30 20:53:35 +09:00
Keisuke Kuroyanagi
ef084229f6
Merge "Use reentrant lock for main dictionaries."
2013-09-30 09:25:54 +00:00
Keisuke Kuroyanagi
3e6275634b
Use reentrant lock for main dictionaries.
...
Bug: 10964805
Change-Id: Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8
2013-09-30 18:16:29 +09:00
Ken Wakasa
25f4782853
Merge "Separate bigram entries from the trie file."
2013-09-30 08:00:01 +00:00
Yuichiro Hanada
fd46e87da2
Separate bigram entries from the trie file.
...
Bug: 10920165
Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088
2013-09-30 16:42:42 +09:00
Ken Wakasa
d40a931a4d
Merge "Change scopes of some methods in DynamicBinaryDictIOUtils."
2013-09-30 07:17:38 +00:00
Keisuke Kuroyanagi
c18510049a
Prepare dictionary decay.
...
Bug: 6669677
Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
2013-09-30 13:57:54 +09:00
Yuichiro Hanada
dc4f357f6b
Change scopes of some methods in DynamicBinaryDictIOUtils.
...
Change-Id: I1371d41760b38834d1d5ff40e682ac0a6fc9f2e9
2013-09-30 11:32:07 +09:00
Keisuke Kuroyanagi
1cf4789ba6
Merge "Set header attributes for ExpandableBinaryDictionary."
2013-09-29 05:14:22 +00:00
Satoshi Kataoka
b0c5ddb9c7
Merge "Stop vibration while repeating delete key in emoji view"
2013-09-28 10:37:57 +00:00
Satoshi Kataoka
d0df68e6cb
Stop vibration while repeating delete key in emoji view
...
Bug: 10960355
Change-Id: Ic1fdecdbcab4082c5383623c1f2575e3976ebe27
2013-09-28 17:02:58 +09:00
Keisuke Kuroyanagi
5ed30a7660
Set header attributes for ExpandableBinaryDictionary.
...
Bug: 6669677
Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
2013-09-28 12:50:09 +09:00
Alan Viverette
67319f92f3
Speak auto-corrections for accessibility
...
BUG: 8669376
Change-Id: Id71b2c2835daa7a8c9d6c92c57a7e302551c289d
2013-09-27 14:15:53 -07:00
Satoshi Kataoka
4dc2b9131f
Merge "Fix possible NPE in KeyboardSwitcher"
2013-09-27 16:52:32 +00:00
Satoshi Kataoka
adbb979b56
Fix possible NPE in KeyboardSwitcher
...
Bug: 10964306
Change-Id: Ibcea76da746f6cac92c8d91425d25d04ade62af0
2013-09-28 01:19:18 +09:00
Keisuke Kuroyanagi
8b580819a5
Merge "Add unigram/bigram counting."
2013-09-27 14:14:49 +00:00
Keisuke Kuroyanagi
31097a57cc
Add unigram/bigram counting.
...
Bug: 6669677
Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
2013-09-27 23:12:12 +09:00
Keisuke Kuroyanagi
e74d4a184b
Stop reading dictionary while regenerating.
...
Bug: 10831272
Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db
2013-09-27 21:44:26 +09:00
Jean Chalard
b7dfacd31e
Merge "Send backspace as an event when TYPE_NULL."
2013-09-27 08:00:43 +00:00
Jean Chalard
de814ec0ec
Send backspace as an event when TYPE_NULL.
...
This is not enough to really fix behavior with TYPE_NULL,
but it does make things a bit better.
Bug: 10949594
Change-Id: Ia359f781cdd76a2e2c5a4c9f166025d81b931174
2013-09-27 16:55:12 +09:00
Yuichiro Hanada
a328f538c3
Fix PrioritizedSerialExecutor.
...
It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.
Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
2013-09-27 16:46:34 +09:00
Yuichiro Hanada
781feb748c
Remove unused methods.
...
Change-Id: I542db0c717c0bc05c8baa08f1e9db0a05946a99b
2013-09-27 12:34:38 +09:00
Keisuke Kuroyanagi
e3e10317b0
Merge "Create empty dictionary file in native code."
2013-09-26 08:03:38 +00:00
Yuichiro Hanada
d188af7022
Add SparseTable.
...
Bug: 10920165
Change-Id: I749dd0269e788799e30b10beb2671813d40ce15f
2013-09-26 16:16:30 +09:00
Keisuke Kuroyanagi
5ef6209656
Create empty dictionary file in native code.
...
Bug: 6669677
Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
2013-09-26 12:59:02 +09:00
Ken Wakasa
4350a93aa5
Merge "Fix the offdevice regression test build"
2013-09-25 10:30:18 +00:00
Ken Wakasa
f56b82f809
Fix the offdevice regression test build
...
Followup to If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57
bug: 10622489
Change-Id: If98b2c75725f8692f0c2b41c33e448086404479b
2013-09-25 19:13:47 +09:00
Keisuke Kuroyanagi
5fa9654045
Merge "Clear traverse sessions when closing."
2013-09-25 10:06:33 +00:00
Satoshi Kataoka
6e41d9a479
Merge "Input delete onUpKey"
2013-09-25 10:02:24 +00:00
Satoshi Kataoka
a456e3f659
Input delete onUpKey
...
to avoid deletion when the user starts gesture from the delete key
Bug: 7303982
Change-Id: If4b3e6287ceee1cf9f72a1d92f2a6789065da454
2013-09-25 18:55:57 +09:00
Keisuke Kuroyanagi
6142068a33
Clear traverse sessions when closing.
...
Bug: 6669677
Change-Id: I859be934f0c60485e04cdc4cab288a18242fa04e
2013-09-25 18:32:40 +09:00
Ken Wakasa
399422f4b9
Merge "Make Ver4DictEncoder write an address table of terminal nodes."
2013-09-25 08:45:39 +00:00
Satoshi Kataoka
1e69f3e637
Fix emoji page
...
Bug: 10538430
Change-Id: If4d5ebb26e7ead259e8f370462ccf4c9dbf734f8
2013-09-25 17:20:27 +09:00
Yuichiro Hanada
22c5c450fe
Make Ver4DictEncoder write an address table of terminal nodes.
...
Bug: 10920165
Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94
2013-09-25 17:03:54 +09:00
Satoshi Kataoka
0938fb6913
Allow gesture from the delete key
...
And inputting unexpected word while repeating the gesture
Bug: 7303982
Change-Id: I17bb6a689397500fa0e26706d6e07e427ea0b4d7
2013-09-25 14:15:43 +09:00
Satoshi Kataoka
9c3b2dbe34
Fix emoji state
...
Bug: 10919260
Change-Id: I85e897b2de10f147bba40dd2147e041e26f5b8ad
2013-09-25 11:59:21 +09:00
Satoshi Kataoka
431158c939
Turn off emoji palette on JB-MR2
...
Bug: 10919260
Change-Id: Ie5a0342386baae61285412786162e74746272538
2013-09-25 11:41:46 +09:00
Keisuke Kuroyanagi
2e58670da9
Quit using ExpandableDictionary.
...
Bug: 6669677
Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
2013-09-24 22:57:15 +09:00
Satoshi Kataoka
d1ae03046c
Fix OOBE in JB backword
...
Bug: 10905948
Change-Id: I4e953296ce3067d05fc5759375f40513580484a6
2013-09-24 21:14:48 +09:00
Satoshi Kataoka
f068c6e656
Merge "Low memory mode in UserHistory"
2013-09-24 11:37:39 +00:00
Satoshi Kataoka
97485273d7
Low memory mode in UserHistory
...
Bug: 8967766
Change-Id: Id40f54f4d9f43d1f796377983a5fc0ca3417e133
2013-09-24 20:36:31 +09:00
Jean Chalard
f600923376
Merge "Tweak for armenian periods and commas."
2013-09-24 11:20:04 +00:00
Satoshi Kataoka
445ba57814
Merge "Add a utility of isLowRamDevice"
2013-09-24 10:55:11 +00:00
Satoshi Kataoka
03e55efe03
Add a utility of isLowRamDevice
...
Bug: 8967766
Change-Id: Id7132d1155bb3489bdab72d613289335945808e8
2013-09-24 19:53:35 +09:00
Jean Chalard
933cc808d9
Tweak for armenian periods and commas.
...
Bug: 7963631
Change-Id: I2eb110949f3d3b7817dbd9448654954fdee39ac2
2013-09-24 19:48:17 +09:00
Ken Wakasa
55e7b3606b
Merge "More tweaks for Armenian layouts"
2013-09-24 10:33:21 +00:00
Jean Chalard
3d68b06662
Copy only the spans we are interested in.
...
The PARAGRAPH type of span is dangerous, as concatenating
CharSequences that contain it may crash. We also don't use
other spans than SuggestionSpans, so we don't copy them.
Bug: 10622489
Change-Id: If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57
2013-09-24 19:04:51 +09:00
Ken Wakasa
15e33c2373
More tweaks for Armenian layouts
...
Add Armenian question mark and exclamation mark as more keys in the symbols layout.
bug: 7963631
Change-Id: Ic4f306248c10f5439531cd468b78ba467cd1de6a
2013-09-24 18:53:06 +09:00
Satoshi Kataoka
3ca9c5cbec
Merge "Implement delete key repeater"
2013-09-24 09:26:47 +00:00
Satoshi Kataoka
9204d11525
Implement delete key repeater
...
Bug: 10810844
Change-Id: Idbfe2196e8f0f8cf6dd1b77574eefb395c12807a
2013-09-24 18:23:38 +09:00
Ken Wakasa
1b7fc4f338
Tweaks for Armenian layouts
...
Added a dedicated key for the Armenian full stop
Added Armenian punctuation letters
bug: 7963631
Change-Id: Id28e224329b083a2465256f2713477b4f0782393
2013-09-24 18:22:32 +09:00
Satoshi Kataoka
50704b7d1c
Merge "Turn off alpha of key popup preview"
2013-09-24 06:27:21 +00:00
Satoshi Kataoka
0d8266b6eb
Turn off alpha of key popup preview
...
Bug: 10786040
Change-Id: I0a636e5f28f177c4d72f9af0312726711f78dd2d
2013-09-24 15:20:23 +09:00
Jean Chalard
8f23c6f78b
Merge "Detect cases where rotation messes with initialization"
2013-09-24 05:38:44 +00:00
Jean Chalard
f1d8aa46f9
Detect cases where rotation messes with initialization
...
...and do a best effort to fix it.
Bug: 10323080
Bug: 10252066
Change-Id: Icb3c9fe85005406bdfce0b7bb143ba0a910a0ddb
2013-09-20 22:21:28 +09:00
Jean Chalard
262b867200
Merge "Catch SQLiteException from remote processes"
2013-09-20 10:59:13 +00:00
Jean Chalard
d0cf6b7623
Catch SQLiteException from remote processes
...
...to avoid catching fire when the Contacts or User dictionary
providers crash and burn.
Bug: 10200036
Change-Id: I73e9d126ce6d34ebc7e6ac03d94af1c12dde7eda
2013-09-20 19:55:31 +09:00
Jean Chalard
be3be424a3
Fix a bug that happens upon a race condition
...
Bug: 10848621
Change-Id: If5ff7f001e69af005a5ff9ab3e9f630b88a0a858
2013-09-20 18:21:10 +09:00
Ken Wakasa
280990bcb1
Merge "Address a couple more issues in Khmer layout"
2013-09-20 07:32:48 +00:00
Ken Wakasa
814acafaea
Address a couple more issues in Khmer layout
...
bug: 6910993
Change-Id: If866629268040cf7696d9667dbca66fac6a60374
2013-09-20 16:27:30 +09:00
Jean Chalard
1d1a3d52b8
Merge "Fix a bug where null would be converted to "null""
2013-09-20 07:19:59 +00:00
Jean Chalard
8f02f1a118
Fix a bug where null would be converted to "null"
...
It's unclear what the concrete effects of this are, but they are not
very strong. This only happens in corner cases, when the input
connection is not active - while rotating, for example.
Change-Id: I1d22459a6e94a8ecccb53cfcbc2d301b1d502204
2013-09-20 15:45:51 +09:00
Satoshi Kataoka
baa3121704
Update resources
...
Change-Id: Ia66f7181514ee1471e181e16d15622174cf72e79
2013-09-20 14:49:54 +09:00
Ken Wakasa
be5e21ecbb
Add Khmer layout
...
bug: 6910993
Change-Id: Ie515acd625bc266494d9e63b0694e2c05a19b661
2013-09-19 22:22:41 +09:00
Ken Wakasa
72503243e4
Merge "Add showSuggestionStripWithTypedWord."
2013-09-19 11:55:09 +00:00
Yuichiro Hanada
a469743e33
Add showSuggestionStripWithTypedWord.
...
Bug: 10814472
Change-Id: I3a150124baf7a9b7889b033089a859ff9c11e206
2013-09-19 20:52:28 +09:00
Satoshi Kataoka
250a12f6c2
Show Emoji category page id indicator
...
Bug: 10538430
Change-Id: I767fa8d41c789125af266f2203b4bad7452bc0a5
2013-09-19 18:41:13 +09:00
Jean Chalard
7ba7868763
Merge "Add Ver4DictDecoder."
2013-09-19 07:24:45 +00:00
Satoshi Kataoka
11ce0545ee
Merge "Fix hitbox of emoji key"
2013-09-19 07:23:06 +00:00
Yuichiro Hanada
14087ba52c
Add Ver4DictDecoder.
...
Bug: 9618601
Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0
2013-09-19 16:11:23 +09:00
Satoshi Kataoka
2a9e065f1a
Fix hitbox of emoji key
...
Bug: 10780368
Change-Id: If10c18fdb0e7f0b0460a721d55001ab0fef28664
2013-09-19 15:37:36 +09:00
Keisuke Kuroyanagi
ff493744a3
Merge "Quit skipping user history dictionary for gesture."
2013-09-19 06:16:10 +00:00
Jean Chalard
a7d0ab80a0
Fix an off-by-one error.
...
These variables were meant to represent the (x,y) coordinate of the
last pixel of the grid, to avoid going one pixel too far. But the last
pixel of the grid, of course, has coord (width - 1, height - 1).
This bug only ever happens in a rare case because to reproduce,
it needs the right (resp. bottom) coordinate of the rightmost
(resp. bottommost) plus the threshold plus half the grid width
(resp. height) to be exactly the number of pixels of the grid,
which is pretty unlikely... unless there are more tiles in the
grid than pixels on the screen, in which case the grid width is
1 and this becomes likely.
This fixes the fencepost error and renames the variables to
clarify their meaning.
Bug: 10537485
Change-Id: Iecfe2c0f29ee17776ee2cceaa4b1db722276b1f3
2013-09-19 13:43:09 +09:00
Keisuke Kuroyanagi
40f66795a2
Quit skipping user history dictionary for gesture.
...
Bug: 6669677
Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
2013-09-19 13:12:11 +09:00
Jean Chalard
8678062853
Merge "Fix an NPE."
2013-09-18 12:42:16 +00:00
Jean Chalard
08bc97f86f
Merge "Allow double-space-to-period after a plus char"
2013-09-18 12:40:29 +00:00
Jean Chalard
673275cbc6
Fix an NPE.
...
Apparently, it is possible that File#getPath() returns null.
In this case, we'll have a null AssetFileAddress and an NPE
later down the road.
Bug: 9944824
Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20
2013-09-18 21:39:30 +09:00
Jean Chalard
ba99d8cd0b
Allow double-space-to-period after a plus char
...
Bug: 10704936
Change-Id: I30fdaea648605ef7e7fea6c093581ed5c6de03f3
2013-09-18 21:04:25 +09:00
Satoshi Kataoka
957a2337ee
Merge "Set EmojiCapable"
2013-09-18 08:48:35 +00:00
Satoshi Kataoka
8837deab73
Merge "Fix Emoji recents"
2013-09-18 08:46:25 +00:00
Satoshi Kataoka
ea7bfa5cd5
Fix Emoji recents
...
Bug: 10538430
Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b
2013-09-18 17:44:16 +09:00
Ken Wakasa
256937b475
Merge "Fix getChildrenPosition."
2013-09-18 08:36:48 +00:00
Satoshi Kataoka
51f275d8be
Set EmojiCapable
...
Bug: 10240645
Change-Id: I891309c2a82f8d10f8fdb0872403a7a235e27b5f
2013-09-18 17:29:23 +09:00
Jean Chalard
59418672a1
Merge "Don't resume suggestion on digits."
2013-09-18 07:05:01 +00:00
Keisuke Kuroyanagi
4ad4b9d976
Merge "Fix contacts/user dictionary writing."
2013-09-18 07:00:58 +00:00
Yuichiro Hanada
d0c87576ff
Fix getChildrenPosition.
...
Change-Id: Ic39592dbf0d4e6d2e4879cdb1a95b65d46a57e92
2013-09-18 15:50:10 +09:00
Keisuke Kuroyanagi
0011ab4bf3
Fix contacts/user dictionary writing.
...
Bug: 10743878
Change-Id: I5d61b7955ef69a635f994f01cc575fb23fdf942b
2013-09-18 15:31:06 +09:00
Keisuke Kuroyanagi
9465819cf6
Merge "Add BinaryDictionary.getBigramProbabilityNative()."
2013-09-18 04:10:38 +00:00
Jean Chalard
f71e1db2da
Don't resume suggestion on digits.
...
Bug: 10780016
Change-Id: I94fad06e4c71eddc96bdda1765925f98bed160f3
2013-09-18 11:37:19 +09:00
Keisuke Kuroyanagi
4d02a2d44d
Add BinaryDictionary.getBigramProbabilityNative().
...
Bug: 10197478
Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
2013-09-18 11:18:28 +09:00
Jean Chalard
e8f717943f
Improve trailing quotes processing
...
Bug: 10445496
Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
2013-09-17 22:17:22 +09:00
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