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