Jean Chalard
a05a0f2077
Allow Latin IME to cancel smiley-auto-correct consistenly
...
This change makes Latin IME behave consistently with regards
to other auto-correction cancellations in cases of auto-correction
cancellation after smiley-triggered auto-correction. That is,
pressing the smiley key when the keyboard signals it's about to
auto-correct will get the auto-correction there plus a smiley,
and pressing backspace will cancel the auto-correction, and
pressing backspace again will delete the smiley.
Bug: 7067593
Change-Id: Ia7eef70a5d06b8b9afa1f1fbb0ed1dbc21a3059f
2012-08-29 16:49:39 +09:00
Tadashi G. Takaoka
9879f65651
Add ResourceUtils
...
Change-Id: Ia198f8d95eae8c007623cd52d73cc1528d22fee9
2012-08-29 16:36:00 +09:00
Tadashi G. Takaoka
95c486cdf3
Merge "Move some methods from Utils to LocaleUtils class" into jb-mr1-dev
2012-08-29 00:35:27 -07:00
Tadashi G. Takaoka
0023a57eea
Move some methods from Utils to LocaleUtils class
...
Change-Id: I4a834549c2ea96ac30d7e2cb692d69af219cab1a
2012-08-29 16:24:53 +09:00
Tadashi G. Takaoka
237f5e4f9b
Remove unused methods from Utils class
...
Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2
2012-08-29 16:10:16 +09:00
Charles Chen
78527e4dbb
Merge "Adjust accessibility edge slop." into jb-mr1-dev
2012-08-28 10:28:55 -07:00
Tadashi G. Takaoka
263caae3c9
Merge "Support bimanual gesture input" into jb-mr1-dev
2012-08-28 02:30:22 -07:00
Tadashi G. Takaoka
6c3304ea96
Support bimanual gesture input
...
Change-Id: Id86dc93fb7115ab4a6d05b3c05652df35ad08c12
2012-08-28 18:26:07 +09:00
Jean Chalard
43d3f0fa3b
Merge "Auto-correct after smileys and gestures." into jb-mr1-dev
2012-08-28 01:59:20 -07:00
Tadashi G. Takaoka
9fa0736d6a
Consolidate KeyboardView.keyLetterSize and keyLetterRatio
...
This change also consolidates keyboardView.keyLabelSize and
keyLabelRatio.
Change-Id: I4a45bcb6e7fc104ae4a9ae3ecdae9842d813840e
2012-08-28 16:04:59 +09:00
Tadashi G. Takaoka
ef2bfad590
Use TypedArray.getFraction to read percentile values in resource
...
Change-Id: Ifc8b024d190efba4cd536fd639621e841eb9970e
2012-08-28 15:18:40 +09:00
alanv
e76a9b36ca
Adjust accessibility edge slop.
...
Bug: 6969558
Change-Id: Ie33f444e085e5c01326bdf9396eabee5c04ee81e
2012-08-27 18:05:21 -07:00
Jean Chalard
6c70b92003
Auto-correct after smileys and gestures.
...
Bug: 6936790
Bug: 6965241
Change-Id: I1f61327eb5591960c280e425df9cd86b9c52f5d6
2012-08-27 18:54:05 +09:00
Tadashi G. Takaoka
1c2f332239
Optimize gesture preview trail drawing a bit
...
This change also change the fading out duration of the gesture
preview trail to 800msec from 1,000msec
Change-Id: Icfd5b1ecad66db4f978249486f5fe362a3ae9640
2012-08-27 14:43:39 +09:00
Brian Muramatsu
43da9ce041
Add mako keypress vibration and volume settings
...
This prevents -1 and -1000 from appearing as the defaults in
Advanced Settings.
Change-Id: I42938782077a0a3dfb5ec2125c0266b6712bcf63
2012-08-24 18:08:05 -07:00
Tadashi G. Takaoka
5e3b93542d
Fix the bug that the first gesture preview trail isn't drawn
...
Change-Id: Ib3acd7c0b401e6d95b39552b48d0d974793eb438
2012-08-24 17:48:23 +09:00
Tadashi G. Takaoka
a1a669a121
Merge "Add multiple gesture preview trails animation" into jb-mr1-dev
2012-08-24 01:05:21 -07:00
Tadashi G. Takaoka
333a300586
Add multiple gesture preview trails animation
...
Change-Id: I533e6de9b138317472565be82c8ba5e422472888
2012-08-24 17:04:20 +09:00
Jean Chalard
5cc596160a
Merge "Use ByteBuffer when reading FusionDictionary from file." into jb-mr1-dev
2012-08-23 21:56:02 -07:00
Yuichiro Hanada
d4fe7fda30
Use ByteBuffer when reading FusionDictionary from file.
...
Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
2012-08-24 13:31:08 +09:00
Tadashi G. Takaoka
64a26b4389
Fix bug in InputPointers.append
...
Change-Id: I39825757bbae32b66c4b61cb6c4fbcaa2e0c9c47
2012-08-23 17:59:08 +09:00
Tadashi G. Takaoka
64ee096100
Add toString method to InputPointers and ResizableIntArray
...
Change-Id: I835ee131855bef8233cf2672e2fb288b939148a6
2012-08-23 17:29:36 +09:00
Tadashi G. Takaoka
922a85734d
Merge "Remeve the reference of MainKeyboardView from PointerTracker" into jb-mr1-dev
2012-08-23 00:26:30 -07:00
Tadashi G. Takaoka
5509798977
Remeve the reference of MainKeyboardView from PointerTracker
...
This change also consolidates MainKeyboardView.KeyTimerParams with
KeyTimerHandler.
Change-Id: Ifc70ca81fa7d7daded4c2204fcdffdf942c16bc5
2012-08-23 16:22:13 +09:00
Tadashi G. Takaoka
b28139f51b
Use PointerTrackerQueue.size instead of MotionEvent.getPointerCount
...
Change-Id: I089e905def0b70bd38fd54ab2d84689b904bb320
2012-08-23 15:54:00 +09:00
Tadashi G. Takaoka
694ccb5ba1
Cosmetic change to PointerTracker
...
* Add final to parameters and locals
* Add curly bracket around single statement if-block
Change-Id: I9f3b23f7145e6b1d6ef806d991ed71ebc63311ff
2012-08-23 15:14:46 +09:00
Kurt Partridge
b5ace11a2e
ResearchLogging upload via service
...
Upload using an intent service rather than just a thread. More robust in case the keyboard
is closed and the upload hasn't finished yet.
multi-project commit with Id515c2b1b0d6f85be50f92a661a2d32ebaeaa143
Bug: 6188932
Change-Id: I64a9fab92ff89ee09df877db4e5f7f0ec0ffb3b6
2012-08-22 11:27:46 -07:00
Kurt Partridge
fa0bac9057
ResearchLogging log when preferences change
...
Bug: 6188932
Change-Id: I82a115aed30d7693f92d784a32b038996d8b71e3
2012-08-22 11:27:45 -07:00
Kurt Partridge
d573bad5bd
Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev
2012-08-22 10:41:10 -07:00
Tadashi G. Takaoka
50e7501722
Merge "Fix SubtypeSwitcher initialization path" into jb-mr1-dev
2012-08-22 01:02:04 -07:00
Tadashi G. Takaoka
dde36ef343
Remove TextView reference from PointerTracker
...
Change-Id: If8e65c08ec97f6d57932c9e3412d6fe17b0994ea
2012-08-22 16:13:29 +09:00
Tadashi G. Takaoka
9fc6af325e
Fix SubtypeSwitcher initialization path
...
This change also removes the reference of LatinIME from
SubtypeSwitcher.
Bug: 7026856
Change-Id: I78a266f3682b11f09b49bbcdcdb6aee713e6af37
2012-08-22 16:05:34 +09:00
Kurt Partridge
bf653996ea
ResearchLogging capture full n-gram data
...
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
about privacy.
- Moved LogUnit out from ResearchLogger
multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2
Bug: 6188932
Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
2012-08-21 22:37:33 -07:00
Tadashi G. Takaoka
ecfbf4625c
Add static construct method for SparseArray
...
Change-Id: I6da97f6ea23578318f403bb5d64c30b1663c69ee
2012-08-22 14:22:20 +09:00
Tadashi G. Takaoka
1f05cf6dab
Remove GCUtils utility class
...
Change-Id: Ia666aeb10c155d69763faf7f01ceca113b9b4653
2012-08-22 12:34:22 +09:00
Tadashi G. Takaoka
f852891437
Merge "Remove KeyboardSwitcher reference from ResearchLogger" into jb-mr1-dev
2012-08-21 20:22:57 -07:00
Jean Chalard
07d485d705
Merge "Fix a silly bug." into jb-mr1-dev
2012-08-21 20:16:28 -07:00
Tadashi G. Takaoka
c3f78c9057
Remove KeyboardSwitcher reference from ResearchLogger
...
Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
2012-08-22 12:14:52 +09:00
Tadashi G. Takaoka
eb59a87a07
Merge "Add CollectionUtils class to create generic collection easily" into jb-mr1-dev
2012-08-21 20:13:24 -07:00
Jean Chalard
32f6503a27
Fix a silly bug.
...
This would prevent user history to work at all.
Bug: 7023638
Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
2012-08-22 12:09:24 +09:00
Kurt Partridge
56a0fdb346
Merge "ResearchLogger to track simple statistics" into jb-mr1-dev
2012-08-21 20:08:13 -07:00
Tadashi G. Takaoka
5f282ea9e4
Add CollectionUtils class to create generic collection easily
...
Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
2012-08-22 10:21:38 +09:00
Kurt Partridge
06cb405713
Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev
2012-08-21 18:18:52 -07:00
Kurt Partridge
0a30688080
ResearchLogger to track simple statistics
...
Bug: 6188932
Change-Id: Ie1bb7322706c2d4a56f5e17044bc746e9df1cf18
2012-08-21 17:13:49 -07:00
Kurt Partridge
94e7f4bef9
ResearchLogger log RichInputConnection
...
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.
In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.
multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2
Bug: 6188932
Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
2012-08-21 17:13:36 -07:00
Kurt Partridge
9535bec085
Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-dev
2012-08-21 17:07:16 -07:00
Kurt Partridge
97d3dd5828
Revert "ResearchLogger log RichInputConnection"
...
This reverts commit d0c41e0c68
Change-Id: I5fd8a67a9fdadb7e6532cafecd00c8f33a00ec72
2012-08-21 17:06:57 -07:00
Kurt Partridge
4ae2cb361a
Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev
2012-08-21 16:29:21 -07:00
Kurt Partridge
d0c41e0c68
ResearchLogger log RichInputConnection
...
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.
In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.
multi-project change with Ifbabefc008d32d99f89e8289e504188e7232ebd4
Bug: 6188932
Change-Id: I4a42d963ba952e703d425acd3a9871d5fca1f03a
2012-08-21 15:16:34 -07:00
Baligh Uddin
c8d7a68503
Import translations. DO NOT MERGE
...
Change-Id: Id2d245dd2623e5a23871d389aa600b367cbbfe77
Auto-generated-cl: translation import
2012-08-21 12:28:51 -07:00
Jean Chalard
8b6b5592cb
Merge "Treat all caps for gesture input." into jb-mr1-dev
2012-08-21 04:39:04 -07:00
Jean Chalard
324cc1dbe6
Merge "Tell the shift mode to the word composer." into jb-mr1-dev
2012-08-21 04:38:27 -07:00
Jean Chalard
1eba97d92f
Treat all caps for gesture input.
...
Bug: 6950087
Change-Id: I9f2271780600572c9befa96c7ad98494c554dd2b
2012-08-21 20:29:53 +09:00
Jean Chalard
adbd9ae105
Tell the shift mode to the word composer.
...
Bug: 6950087
Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb
2012-08-21 20:27:42 +09:00
Tadashi G. Takaoka
ac78633be2
Rename and consolidate some constants
...
Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
2012-08-21 17:54:53 +09:00
Tadashi G. Takaoka
18f69b02ef
Merge "Fix NPE" into jb-mr1-dev
2012-08-21 01:37:19 -07:00
Tadashi G. Takaoka
6785b90727
Remove touch coordinate from pickSuggestionManually
...
Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
2012-08-21 17:13:45 +09:00
Tadashi G. Takaoka
8d0cf41f49
Fix NPE
...
Bug: 7017430
Change-Id: Ie46f02a934763c3b6d65d0d62a8239d80eaefabd
2012-08-21 16:56:45 +09:00
Kurt Partridge
48643b0e0d
Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-dev
2012-08-20 10:18:40 -07:00
Kurt Partridge
e15e6c2c27
Merge "Revert "ResearchLogger to track simple statistics"" into jb-mr1-dev
2012-08-20 10:18:30 -07:00
Kurt Partridge
adb591e75b
Merge "Revert "ResearchLogging capture full n-gram data"" into jb-mr1-dev
2012-08-20 10:18:30 -07:00
Kurt Partridge
7b0459e1a8
Merge "Revert "ResearchLogging log when preferences change"" into jb-mr1-dev
2012-08-20 10:18:20 -07:00
Kurt Partridge
f1c3e53b23
Merge "Revert "ResearchLogging upload via service"" into jb-mr1-dev
2012-08-20 10:18:10 -07:00
Kurt Partridge
35c11842a7
Revert "ResearchLogger log RichInputConnection"
...
This reverts commit 1964ffb3f4
Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
2012-08-20 10:17:45 -07:00
Kurt Partridge
77257a736e
Revert "ResearchLogger to track simple statistics"
...
This reverts commit 7cec911fde
Change-Id: I3eb055e03a9cf463356ebaefc7827ab65a963072
2012-08-20 10:17:43 -07:00
Kurt Partridge
3d35908749
Revert "ResearchLogging capture full n-gram data"
...
This reverts commit 221e756fd7
Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
2012-08-20 10:17:40 -07:00
Kurt Partridge
fc74a01abe
Revert "ResearchLogging log when preferences change"
...
This reverts commit c58f5d904b
Change-Id: Ifab54ecc8b7898fe0af6446d397efd6cdb28f670
2012-08-20 10:17:31 -07:00
Kurt Partridge
96da633582
Revert "ResearchLogging upload via service"
...
This reverts commit baf1f0bd61
Change-Id: I7d959b9b626c8fb69a57788e243752952258fa80
2012-08-20 10:17:29 -07:00
Kurt Partridge
8beeef5d3f
Merge changes Ie980d38a,Ia7ee65e7 into jb-mr1-dev
...
* changes:
ResearchLogging upload via service
ResearchLogging log when preferences change
2012-08-20 08:48:12 -07:00
Kurt Partridge
752c53760c
Merge changes I568c90d4,I4667f8f6 into jb-mr1-dev
...
* changes:
ResearchLogging capture full n-gram data
ResearchLogger to track simple statistics
2012-08-20 08:47:45 -07:00
Kurt Partridge
461f1942f9
Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev
2012-08-20 08:47:33 -07:00
Tadashi G. Takaoka
5a49a8bb5f
Merge "Cleaup gesture preview drawing code a bit" into jb-mr1-dev
2012-08-19 23:42:05 -07:00
Tadashi G. Takaoka
978c0fc878
Cleaup gesture preview drawing code a bit
...
Change-Id: Ie75d497ba88805d945d6039ecad09ed0e8e5e4d3
2012-08-20 15:40:03 +09:00
Tadashi G. Takaoka
cb2362cee1
Merge "Make some usages of SparseArray thread-safe" into jb-mr1-dev
2012-08-19 23:23:08 -07:00
Tadashi G. Takaoka
8ce351a827
Make some usages of SparseArray thread-safe
...
This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10.
Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466
2012-08-20 15:00:26 +09:00
Jean Chalard
2cd248ee05
Merge "Remove the whitelist resources" into jb-mr1-dev
2012-08-19 22:42:14 -07:00
Jean Chalard
1aed102d4c
Merge "Fix capitalization, part 1" into jb-mr1-dev
2012-08-19 22:29:59 -07:00
Jean Chalard
5d9e573fbf
Remove the whitelist resources
...
Bug: 6906525
Change-Id: I1524b9e4c56d28a701d444aa2afbfdcecf0da571
2012-08-20 14:25:14 +09:00
Jean Chalard
4c6db0592e
Merge "Remove the whitelist dictionary." into jb-mr1-dev
2012-08-19 22:13:15 -07:00
Jean Chalard
04d6649d29
Merge "Remove access to the whitelist class." into jb-mr1-dev
2012-08-19 22:12:36 -07:00
Jean Chalard
753f7b123e
Merge "Hack to skip reading an outdated binary file." into jb-mr1-dev
2012-08-19 22:11:44 -07:00
Jean Chalard
13822d2b05
Hack to skip reading an outdated binary file.
...
Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
2012-08-20 13:56:52 +09:00
Jean Chalard
fb087a95f9
Fix capitalization, part 1
...
The case this fixes is typing "Ah.\n" in gmail for example
Bug: 6950087
Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3
2012-08-20 13:51:27 +09:00
Tadashi G. Takaoka
6c63f71265
Add standard view constructors of PrevewPlacerView
...
Change-Id: I00d7ae4d2330804c342a5e51cf8c0df6ed8a85d6
2012-08-20 11:56:28 +09:00
Ken Wakasa
522e12660a
Cosmetic fixes
...
Change-Id: I5460252af534d4455ba22273a06ac956bc904831
2012-08-19 01:26:05 +09:00
Kurt Partridge
c58f5d904b
ResearchLogging log when preferences change
...
DO NOT MERGE
Bug: 6188932
Change-Id: Ia7ee65e7f3be10d031a065aaa6c3d18610c7dff0
2012-08-17 21:44:08 -07:00
Kurt Partridge
baf1f0bd61
ResearchLogging upload via service
...
DO NOT MERGE
Upload using an intent service rather than just a thread. More robust in case the keyboard
is closed and the upload hasn't finished yet.
multi-project commit with I40db74fb780e01364609339764e150f0291d3f9b
Bug: 6188932
Change-Id: Ie980d38a713d15c01083d41bd73f0602ec75dd16
2012-08-17 21:44:08 -07:00
Kurt Partridge
7cec911fde
ResearchLogger to track simple statistics
...
DO NOT MERGE
Bug: 6188932
Change-Id: I4667f8f60aa356c73f925c298318520f71e144c5
2012-08-17 21:44:07 -07:00
Kurt Partridge
221e756fd7
ResearchLogging capture full n-gram data
...
DO NOT MERGE
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
about privacy.
- Moved LogUnit out from ResearchLogger
multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65
Bug: 6188932
Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
2012-08-17 21:44:07 -07:00
Kurt Partridge
1964ffb3f4
ResearchLogger log RichInputConnection
...
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.
In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.
multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b
DO NOT MERGE
Bug: 6188932
Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
2012-08-17 21:44:06 -07:00
Ken Wakasa
e46d12927e
Fix NPE in LatinIME.addToUserHistoryDictionary()
...
bug: 7007063
Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
2012-08-18 00:04:33 +09:00
Ken Wakasa
72c0f4de1d
Merge "add reconstructBigramFrequency" into jb-mr1-dev
2012-08-17 03:19:12 -07:00
Yuichiro Hanada
c0a75c8ecb
add reconstructBigramFrequency
...
Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61
2012-08-17 19:05:16 +09:00
Jean Chalard
aa27635a8a
Reword a confusing comment
...
Bug: 7005645
Change-Id: Ifd942b3ce242aeeec512e132e1cee31329e994b1
2012-08-17 17:22:28 +09:00
Jean Chalard
46fc768e54
Remove the whitelist dictionary.
...
The functionality now lives in the binary dictionary.
This finalizes work on
Bug: 6906525
Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
2012-08-17 15:13:10 +09:00
Jean Chalard
3e43e6998e
Remove access to the whitelist class.
...
...which becomes useless. It will be entirely removed in an
upcoming change.
Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a
2012-08-17 13:01:25 +09:00
Jean Chalard
228674f6c7
Merge "fix findWordInTree." into jb-mr1-dev
2012-08-16 18:54:24 -07:00
Yuichiro Hanada
0d35c159fe
fix findWordInTree.
...
Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f
2012-08-17 10:23:01 +09:00
Jean Chalard
3083b4b77d
Merge "Fix a debug method" into jb-mr1-dev
2012-08-16 17:59:11 -07:00
Jean Chalard
cc1062cfd0
Fix a debug method
...
Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
2012-08-17 09:24:45 +09:00