Tadashi G. Takaoka
01d9fc966a
Cleanup KeyboardState a bit
...
Rename KeyboardShiftState variable and reorder some statements.
Change-Id: I7e8842836f35876f8697f9906343f7d4a1f9db4f
2012-01-19 18:42:11 +09:00
Jean Chalard
3b2112e70a
Fix a bug with backspace happening after a manual pick.
...
Bug: 5884397
Change-Id: I01f462075bcbf7da38e9af2084ecd37143923e8b
2012-01-19 18:41:02 +09:00
Jean Chalard
bd31f2d2ee
am 8ae770f3: Merge "Small code simplification."
...
* commit '8ae770f39bd445758333eec88f4d1d598c77555b':
Small code simplification.
2012-01-19 01:35:04 -08:00
Jean Chalard
8ae770f39b
Merge "Small code simplification."
2012-01-19 01:33:21 -08:00
Jean Chalard
95a6e58ebc
Small code simplification.
...
I'm pretty sure the test here was useless.
Change-Id: Iaece641fbd5455406533b19555f2b639759a525f
2012-01-19 18:03:45 +09:00
Tadashi G. Takaoka
83b1df39c3
am 4dd48372: Merge "Add Bulgarian keyboard"
...
* commit '4dd48372d76402f491f4d68c6bc2e7eb7648c4bb':
Add Bulgarian keyboard
2012-01-18 20:07:52 -08:00
Tadashi G. Takaoka
4dd48372d7
Merge "Add Bulgarian keyboard"
2012-01-18 20:06:11 -08:00
Tadashi G. Takaoka
78a5ba6718
am 23bacdb6: Fix MoreKeySpecParser to be able to handle outputText correctly
...
* commit '23bacdb6a58cf22535aea8d22d3b6e14ea23667e':
Fix MoreKeySpecParser to be able to handle outputText correctly
2012-01-18 20:01:57 -08:00
Tadashi G. Takaoka
3fbf9f85a2
Add Bulgarian keyboard
...
Bug: 5864001
Bug: 5738545
Change-Id: I3aa8a0e531e091680c0e05c55e72edd05e5ebc77
2012-01-19 12:59:59 +09:00
Tadashi G. Takaoka
23bacdb6a5
Fix MoreKeySpecParser to be able to handle outputText correctly
...
The issue was introduced by Id2320f4d.
Bug: 5887936
Change-Id: Ifec3aefb5b168f790de696ece104b84cdab46539
2012-01-19 12:51:27 +09:00
Jean Chalard
af480be66e
Squash a ridiculously improbable NPE
...
This probably can't be triggered by anything that is not
a monkey, but still, let's fix this
Bug: 5797549
Change-Id: I9a7d9fd6664c97787ce676a28675e96f46df7658
2012-01-19 12:06:00 +09:00
Robert CH Chou
bd1ed5b859
Make the JNI lib an optional module
...
Make it a user module will force it installed no matter the
IME is actually required by the product or not. Replace the
user by optional and add requiring the libjni_latinime by using
LOCAL_REQUIRED_MODULES
Change-Id: Ibfc37cf2e2391021d45538c7cea342894b56fbf8
2012-01-19 10:02:25 +08:00
Tadashi G. Takaoka
8348d36aa4
am 7dde8057: Enable usability study mode option
...
* commit '7dde805745dd3a23c2b7b75707b651a4014a3476':
Enable usability study mode option
2012-01-18 03:28:55 -08:00
Tadashi G. Takaoka
7dde805745
Enable usability study mode option
...
Change-Id: Iadd69fbde42b895dd30f98890f59b56cdcdd4007
2012-01-18 20:17:57 +09:00
Tadashi G. Takaoka
57a8fc2065
am 06bc1db0: Add more multitouch tests
...
* commit '06bc1db017b14614353137fde035d2eed666a74f':
Add more multitouch tests
2012-01-18 02:40:03 -08:00
Tadashi G. Takaoka
06bc1db017
Add more multitouch tests
...
Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
2012-01-18 19:35:01 +09:00
Tadashi G. Takaoka
d96dfbd833
am 60c4594e: Get rid of hasDistinctMultitouch reference from KeyboardState
...
* commit '60c4594ee6415b266b3418e46d09e6a5b3ed23e1':
Get rid of hasDistinctMultitouch reference from KeyboardState
2012-01-18 01:51:56 -08:00
Tadashi G. Takaoka
60c4594ee6
Get rid of hasDistinctMultitouch reference from KeyboardState
...
Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
2012-01-18 18:11:46 +09:00
Tadashi G. Takaoka
f187a62bbe
am 0f96006f: Merge "Add KeyboardStateTestsBase and helper methods"
...
* commit '0f96006f77ef4f3d7450c10cffabcba6e900fb60':
Add KeyboardStateTestsBase and helper methods
2012-01-17 23:51:23 -08:00
Tadashi G. Takaoka
0f96006f77
Merge "Add KeyboardStateTestsBase and helper methods"
2012-01-17 23:49:21 -08:00
Tadashi G. Takaoka
64e01baade
Add KeyboardStateTestsBase and helper methods
...
Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
2012-01-18 16:46:38 +09:00
Jean Chalard
c09d7dd317
am cc6ded7a: Add a whitelist entry
...
* commit 'cc6ded7a1afc8ff8fe0e34e77d0ec3f68a858f97':
Add a whitelist entry
2012-01-17 22:33:46 -08:00
Jean Chalard
cc6ded7a1a
Add a whitelist entry
...
nit → not
Change-Id: I8d0fc6fe4b769cd76c8059848a8ec249bb9fea0d
2012-01-18 15:25:00 +09:00
Tadashi G. Takaoka
3510c36049
am 5731b939: Remove KeyboardSwicther.toggleCapslock
...
* commit '5731b939c7baa2ca64a59b35f48fb3c2a43ba739':
Remove KeyboardSwicther.toggleCapslock
2012-01-17 02:31:45 -08:00
Tadashi G. Takaoka
5731b939c7
Remove KeyboardSwicther.toggleCapslock
...
Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
2012-01-17 19:26:24 +09:00
Tadashi G. Takaoka
908cd7215a
am 2a884404: Rename KeyboardActionListener methods
...
* commit '2a88440419f49d100c73e067a823390f64aba3b1':
Rename KeyboardActionListener methods
2012-01-17 02:14:29 -08:00
Tadashi G. Takaoka
2a88440419
Rename KeyboardActionListener methods
...
* Rename KeyboardActionListener.onPress to onPressKey
* Rename KeyboardActionListener.onRelease to onReleaseKey
* Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey.
* Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey.
Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
2012-01-17 19:07:20 +09:00
Tadashi G. Takaoka
41701fc1f5
am c9fade6b: Merge "Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher"
...
* commit 'c9fade6b87b77251f90ef7d7c03bf70c3b97d889':
Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher
2012-01-17 00:09:23 -08:00
Tadashi G. Takaoka
c9fade6b87
Merge "Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher"
2012-01-17 00:07:38 -08:00
Tadashi G. Takaoka
87e025da11
Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher
...
Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
2012-01-17 16:49:33 +09:00
Jean Chalard
0310c3f13d
am d104a7aa: Merge "Fix a bug where words disappear on inserting separators"
...
* commit 'd104a7aac8b0791341c71deb013d4e6adfc57e8a':
Fix a bug where words disappear on inserting separators
2012-01-16 23:23:46 -08:00
Jean Chalard
d104a7aac8
Merge "Fix a bug where words disappear on inserting separators"
2012-01-16 23:22:03 -08:00
Jean Chalard
edc6395d9b
Fix a bug where words disappear on inserting separators
...
The basic idea is that in some situations, we would restart
suggestions, but before evaluating them we would bail out
because suggestions were not requested. This would lead to
the "correction" set to null, so we would commit a null word.
This fix does two things:
- Do not restart suggestions when not requested.
- If we still end up with a composing word when suggestions
are not requested, we select the typed word as the
correct version.
Bug: 5846646
Change-Id: Ic35351841d0cb20afa99092ef681ecb7bd68bec6
2012-01-17 16:16:52 +09:00
satok
2af901c64c
am ff020671: Merge "Prepair for advanced two words error correction"
...
* commit 'ff020671a9790a095c135b9dbe5d22d011d3e2db':
Prepair for advanced two words error correction
2012-01-16 23:08:23 -08:00
satok
ff020671a9
Merge "Prepair for advanced two words error correction"
2012-01-16 23:07:13 -08:00
satok
29dc80614b
Prepair for advanced two words error correction
...
Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
2012-01-17 16:00:55 +09:00
Jean Chalard
a8843c7465
am aed5819a: Merge "Fix a bug where suggestion would restart at a bad time"
...
* commit 'aed5819a84d0d0500de9e6d8dc6c7fad6f0c4edf':
Fix a bug where suggestion would restart at a bad time
2012-01-16 22:53:17 -08:00
Jean Chalard
aed5819a84
Merge "Fix a bug where suggestion would restart at a bad time"
2012-01-16 22:51:23 -08:00
Jean Chalard
fbd1ac8083
Fix a bug where suggestion would restart at a bad time
...
Bug: 5846646
Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
2012-01-17 15:50:18 +09:00
Tadashi G. Takaoka
76916e94b5
am ddf41668: Merge "Support EditorInfo.IME_FLAG_FORCE_ASCII"
...
* commit 'ddf4166815b9e72fc7fe8091d664f9b12a9cbcad':
Support EditorInfo.IME_FLAG_FORCE_ASCII
2012-01-16 22:17:46 -08:00
Tadashi G. Takaoka
ddf4166815
Merge "Support EditorInfo.IME_FLAG_FORCE_ASCII"
2012-01-16 22:15:55 -08:00
Tadashi G. Takaoka
1ef6fc7e15
Support EditorInfo.IME_FLAG_FORCE_ASCII
...
Bug: 5850605
Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
2012-01-17 14:38:00 +09:00
satok
00738a4360
am f611f24b: Merge "Use edit distance for transposing correction"
...
* commit 'f611f24b32149fc928c0f31934d563ea7a053274':
Use edit distance for transposing correction
2012-01-16 21:17:17 -08:00
satok
f611f24b32
Merge "Use edit distance for transposing correction"
2012-01-16 21:15:12 -08:00
Tadashi G. Takaoka
c0bfe54d82
am edf107e2: Merge "Add "force non-distinct multitouch" debug option"
...
* commit 'edf107e2a610c53f419995e8268bf6a333bfdd46':
Add "force non-distinct multitouch" debug option
2012-01-16 20:24:06 -08:00
Tadashi G. Takaoka
e3f90db6a4
am 2764e1df: Merge "Remove duplicate logic from KeyboardSwitcher and KeyboardState"
...
* commit '2764e1dffe17510fd10f54eaadf3f2fb3551cc7e':
Remove duplicate logic from KeyboardSwitcher and KeyboardState
2012-01-16 20:24:05 -08:00
Tadashi G. Takaoka
edf107e2a6
Merge "Add "force non-distinct multitouch" debug option"
2012-01-16 20:22:36 -08:00
Tadashi G. Takaoka
2764e1dffe
Merge "Remove duplicate logic from KeyboardSwitcher and KeyboardState"
2012-01-16 20:22:34 -08:00
Tadashi G. Takaoka
06b7c256b1
Add "force non-distinct multitouch" debug option
...
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
2012-01-17 13:19:01 +09:00
satok
a161a4afd6
Use edit distance for transposing correction
...
+1 73
-1 4
+2 0
-2 0
+3 0
-3 0
+4 11
-4 19
+5 9
-5 3
+6 2
-6 63
+7 2
-7 8
Change-Id: I269cd2386f451f8932e4e0ae66223e794fdfa862
2012-01-17 13:14:35 +09:00