Commit graph

5352 commits

Author SHA1 Message Date
Jean Chalard
83c72d1dae Add the first tests for the input login in LatinIME class
Change-Id: Ifcf9ab55ee01bf7c6c6829e699246e5654975456
2012-01-20 13:00:40 +09:00
satok
ac7d6c224a am 2010130e: Merge "Two words error correction with other error correction for the first word"
* commit '2010130e4425bd18f68d9de3ec7b846d00c61e0a':
  Two words error correction with other error correction for the first word
2012-01-19 02:23:37 -08:00
satok
2010130e44 Merge "Two words error correction with other error correction for the first word" 2012-01-19 02:21:18 -08:00
satok
54af64ae92 Two words error correction with other error correction for the first word
+1      26
-1       5
+2       0
-2       0
+3       0
-3       0
+4       9
-4      25
+5      20
-5      21
+6      13
-6       6
+7      15
-7      26

Change-Id: Iad682d417a6bb42b11ca6e60157698ca66fef3ff
2012-01-19 19:17:29 +09:00
Tadashi G. Takaoka
6d6c960136 am 0ef9bfe5: Merge "Fix KeyboardState switching back from alphabet-chording input correctly"
* commit '0ef9bfe5932cb1b099809b4622bf45427f0430dd':
  Fix KeyboardState switching back from alphabet-chording input correctly
2012-01-19 02:15:29 -08:00
Tadashi G. Takaoka
33b1944f92 am 085b6594: Merge "Fix KeyboardState to pass KeyboardStateMultiTouchTests"
* commit '085b659463c41beb01950bf82334f451cca8ed2e':
  Fix KeyboardState to pass KeyboardStateMultiTouchTests
2012-01-19 02:15:28 -08:00
Tadashi G. Takaoka
35151c67e0 am 4d229410: Merge "Cleanup KeyboardState a bit"
* commit '4d229410f0336a56dd9c9a5440aecbbb6a90503a':
  Cleanup KeyboardState a bit
2012-01-19 02:15:27 -08:00
Tadashi G. Takaoka
0ef9bfe593 Merge "Fix KeyboardState switching back from alphabet-chording input correctly" 2012-01-19 02:14:20 -08:00
Tadashi G. Takaoka
085b659463 Merge "Fix KeyboardState to pass KeyboardStateMultiTouchTests" 2012-01-19 02:14:15 -08:00
Tadashi G. Takaoka
4d229410f0 Merge "Cleanup KeyboardState a bit" 2012-01-19 02:14:10 -08:00
Jean Chalard
db6c706ae5 am 250cf0a7: Merge "Fix a bug with backspace happening after a manual pick."
* commit '250cf0a781258afbfe45b8a7ad411aed08b3e873':
  Fix a bug with backspace happening after a manual pick.
2012-01-19 01:57:08 -08:00
Jean Chalard
250cf0a781 Merge "Fix a bug with backspace happening after a manual pick." 2012-01-19 01:55:30 -08:00
Tadashi G. Takaoka
f36f90a173 Fix KeyboardState switching back from alphabet-chording input correctly
Bug: 5881820
Change-Id: I108bbc25baa331cc87f00955b48188b3557d10dd
2012-01-19 18:53:38 +09:00
Tadashi G. Takaoka
d26d63b35d Fix KeyboardState to pass KeyboardStateMultiTouchTests
Change-Id: If2b9ee7cf3fad7633d64b98758f802792d66f7a8
2012-01-19 18:48:02 +09:00
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