aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Add more multitouch testsTadashi G. Takaoka2012-01-186-46/+232
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
* | | | | | Get rid of hasDistinctMultitouch reference from KeyboardStateTadashi G. Takaoka2012-01-186-36/+18
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
* | | | | | Merge "Add KeyboardStateTestsBase and helper methods"Tadashi G. Takaoka2012-01-174-402/+288
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add KeyboardStateTestsBase and helper methodsTadashi G. Takaoka2012-01-184-402/+288
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
* | | | | | Add a whitelist entryJean Chalard2012-01-181-0/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | nit → not Change-Id: I8d0fc6fe4b769cd76c8059848a8ec249bb9fea0d
* | | | | Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka2012-01-176-38/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
* | | | | Rename KeyboardActionListener methodsTadashi G. Takaoka2012-01-1712-219/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | Merge "Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher"Tadashi G. Takaoka2012-01-176-525/+197
|\ \ \ \ \
| * | | | | Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka2012-01-176-525/+197
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
* | | | | | Merge "Fix a bug where words disappear on inserting separators"Jean Chalard2012-01-161-1/+7
|\ \ \ \ \ \
| * | | | | | Fix a bug where words disappear on inserting separatorsJean Chalard2012-01-171-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge "Prepair for advanced two words error correction"satok2012-01-166-7/+198
|\ \ \ \ \ \ \
| * | | | | | | Prepair for advanced two words error correctionsatok2012-01-176-7/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
* | | | | | | | Merge "Fix a bug where suggestion would restart at a bad time"Jean Chalard2012-01-161-3/+16
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Fix a bug where suggestion would restart at a bad timeJean Chalard2012-01-171-3/+16
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5846646 Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
* | | | | | | Merge "Support EditorInfo.IME_FLAG_FORCE_ASCII"Tadashi G. Takaoka2012-01-163-5/+30
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Support EditorInfo.IME_FLAG_FORCE_ASCIITadashi G. Takaoka2012-01-173-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
* | | | | | | Merge "Use edit distance for transposing correction"satok2012-01-162-13/+15
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Use edit distance for transposing correctionsatok2012-01-172-13/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +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
* | | | | | Merge "Add "force non-distinct multitouch" debug option"Tadashi G. Takaoka2012-01-165-1/+22
|\ \ \ \ \ \
| * | | | | | Add "force non-distinct multitouch" debug optionTadashi G. Takaoka2012-01-175-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
* | | | | | | Merge "Remove duplicate logic from KeyboardSwitcher and KeyboardState"Tadashi G. Takaoka2012-01-162-22/+10
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Remove duplicate logic from KeyboardSwitcher and KeyboardStateTadashi G. Takaoka2012-01-162-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
* | | | | | | Small cleanupJean Chalard2012-01-172-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method deleteWordAtCursor would call finishComposingText, which is a very unexpected state change and would probably cause surprising bugs to any parent that would call it. As it happens, it's not used anywhere any more so let's just remove it. Change-Id: Iaa9200866e40b4e914f76baa987279948300679c
* | | | | | | Add some comments about resuming auto-suggestionJean Chalard2012-01-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5846646 Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
* | | | | | | Remove redundant permission tagTadashi G. Takaoka2012-01-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
* | | | | | | Merge "KeyboardState unit tests for non-distinct multitouch device"Tadashi G. Takaoka2012-01-163-1/+316
|\| | | | | |
| * | | | | | KeyboardState unit tests for non-distinct multitouch deviceTadashi G. Takaoka2012-01-163-1/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5708602 Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
* | | | | | | Merge "Actually add shortcut-only entries."Jean Chalard2012-01-163-23/+64
|\ \ \ \ \ \ \
| * | | | | | | Actually add shortcut-only entries.Jean Chalard2012-01-163-23/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
* | | | | | | | Merge "Add shortcut only to xml output."Jean Chalard2012-01-163-3/+9
|\ \ \ \ \ \ \ \
| * | | | | | | | Add shortcut only to xml output.Jean Chalard2012-01-163-3/+9
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
* | | | | | | | Merge "Fix double tap shift key to turn off capslock mode"Tadashi G. Takaoka2012-01-162-3/+12
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Fix double tap shift key to turn off capslock modeTadashi G. Takaoka2012-01-162-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5873562 Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
* | | | | | | | Stop avoiding adding what the user typed to candidatesJean Chalard2012-01-163-3/+4
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There does not seem to be any reason other than a historical one to avoid doing this, but it takes processing power and makes things more complicated. This has a very limited impact on regression tests: 5 -> 3 [He, the] 5 -> 3 [An, an] 5 -> 3 [Where, where] 5 -> 3 [This, this] 7 -> 1 [wAtch, watch] 6 -> 4 [oveNs, oceans] 5 -> 1 [Ahere, Where] 7 -> 1 [Hast, Hast] 7 -> 5 [bjp, bill] 5 -> 1 [What, What] 5 -> 3 [Sound, So und] 7 -> 3 [causalities, casualties] 7 -> 3 [discontentment, discontent] 7 -> 3 [irregardless, regardless] 5 -> 1 : 2 5 -> 3 : 5 6 -> 4 : 1 7 -> 1 : 2 7 -> 3 : 3 7 -> 5 : 1 +1 4 -1 0 +2 0 -2 0 +3 8 -3 0 +4 1 -4 0 +5 1 -5 7 +6 0 -6 1 +7 0 -7 6 Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b
* | | | | | | Merge "Read the group count correctly from the binary format"Jean Chalard2012-01-161-12/+34
|\ \ \ \ \ \ \
| * | | | | | | Read the group count correctly from the binary formatJean Chalard2012-01-161-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...in makedict, for reverse makedict. Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
* | | | | | | | Merge "Add more KeyboardState unit test cases"Tadashi G. Takaoka2012-01-161-24/+318
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add more KeyboardState unit test casesTadashi G. Takaoka2012-01-161-24/+318
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5708602 Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
* | | | | | | Merge "Store suggestions for each input length for missing space algorithm etc."satok2012-01-167-65/+99
|\ \ \ \ \ \ \
| * | | | | | | Store suggestions for each input length for missing space algorithm etc.satok2012-01-167-65/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
* | | | | | | | Merge "Write multi-byte chargroup count to the binary dict"Jean Chalard2012-01-161-14/+36
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Write multi-byte chargroup count to the binary dictJean Chalard2012-01-161-14/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
* | | | | | | | Merge "Add auto caps function simulation to MockKeyboardSwitcher"Tadashi G. Takaoka2012-01-161-6/+10
|\ \ \ \ \ \ \ \
| * | | | | | | | Add auto caps function simulation to MockKeyboardSwitcherTadashi G. Takaoka2012-01-161-6/+10
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
* | | | | | | | Merge "Read multi-byte char group counts"Jean Chalard2012-01-152-3/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Read multi-byte char group countsJean Chalard2012-01-162-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
* | | | | | | | Merge "Make MockKeyboardSwitcher top level class"Tadashi G. Takaoka2012-01-152-105/+152
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Make MockKeyboardSwitcher top level classTadashi G. Takaoka2012-01-162-105/+152
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
* / / / / / / Remove a bunch of obsolete methods.Jean Chalard2012-01-162-76/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811