aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-19Small code simplification.Jean Chalard1-5/+1
I'm pretty sure the test here was useless. Change-Id: Iaece641fbd5455406533b19555f2b639759a525f
2012-01-19Add Bulgarian keyboardTadashi G. Takaoka6-2/+464
Bug: 5864001 Bug: 5738545 Change-Id: I3aa8a0e531e091680c0e05c55e72edd05e5ebc77
2012-01-19Fix MoreKeySpecParser to be able to handle outputText correctlyTadashi G. Takaoka2-57/+68
The issue was introduced by Id2320f4d. Bug: 5887936 Change-Id: Ifec3aefb5b168f790de696ece104b84cdab46539
2012-01-18Enable usability study mode optionTadashi G. Takaoka1-1/+2
Change-Id: Iadd69fbde42b895dd30f98890f59b56cdcdd4007
2012-01-18Add more multitouch testsTadashi G. Takaoka6-46/+232
Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
2012-01-18Get rid of hasDistinctMultitouch reference from KeyboardStateTadashi G. Takaoka6-36/+18
Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
2012-01-18Add KeyboardStateTestsBase and helper methodsTadashi G. Takaoka4-402/+288
Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
2012-01-18Add a whitelist entryJean Chalard1-0/+4
nit → not Change-Id: I8d0fc6fe4b769cd76c8059848a8ec249bb9fea0d
2012-01-17Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka6-38/+17
Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
2012-01-17Rename KeyboardActionListener methodsTadashi G. Takaoka12-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
2012-01-17Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka6-525/+197
Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
2012-01-17Fix a bug where words disappear on inserting separatorsJean Chalard1-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
2012-01-17Prepair for advanced two words error correctionsatok6-7/+198
Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
2012-01-17Fix a bug where suggestion would restart at a bad timeJean Chalard1-3/+16
Bug: 5846646 Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
2012-01-17Support EditorInfo.IME_FLAG_FORCE_ASCIITadashi G. Takaoka3-5/+30
Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
2012-01-17Add "force non-distinct multitouch" debug optionTadashi G. Takaoka5-1/+22
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
2012-01-17Use edit distance for transposing correctionsatok2-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
2012-01-17Small cleanupJean Chalard2-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
2012-01-17Add some comments about resuming auto-suggestionJean Chalard1-0/+5
Bug: 5846646 Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
2012-01-16Remove redundant permission tagTadashi G. Takaoka1-2/+0
Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
2012-01-16Remove duplicate logic from KeyboardSwitcher and KeyboardStateTadashi G. Takaoka2-22/+10
Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
2012-01-16KeyboardState unit tests for non-distinct multitouch deviceTadashi G. Takaoka3-1/+316
Bug: 5708602 Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
2012-01-16Add shortcut only to xml output.Jean Chalard3-3/+9
Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
2012-01-16Actually add shortcut-only entries.Jean Chalard3-23/+64
Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
2012-01-16Stop avoiding adding what the user typed to candidatesJean Chalard3-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
2012-01-16Fix double tap shift key to turn off capslock modeTadashi G. Takaoka2-3/+12
Bug: 5873562 Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
2012-01-16Read the group count correctly from the binary formatJean Chalard1-12/+34
...in makedict, for reverse makedict. Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
2012-01-16Add more KeyboardState unit test casesTadashi G. Takaoka1-24/+318
Bug: 5708602 Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
2012-01-16Store suggestions for each input length for missing space algorithm etc.satok7-65/+99
Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
2012-01-16Add auto caps function simulation to MockKeyboardSwitcherTadashi G. Takaoka1-6/+10
Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
2012-01-16Write multi-byte chargroup count to the binary dictJean Chalard1-14/+36
Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
2012-01-16Read multi-byte char group countsJean Chalard2-3/+6
Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
2012-01-16Make MockKeyboardSwitcher top level classTadashi G. Takaoka2-105/+152
Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
2012-01-16Remove a bunch of obsolete methods.Jean Chalard2-76/+1
Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
2012-01-16Don't cache resource value that depends on orientationTadashi G. Takaoka2-3/+8
Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
2012-01-16Add a helper methodJean Chalard1-0/+10
Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3
2012-01-16Update shift state when alphabet keyboard has been setTadashi G. Takaoka3-1/+17
Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
2012-01-16Cleanup KeyboardStateTests a bitTadashi G. Takaoka1-40/+85
Move test target KeyboardState into MockKeyboardSwitcher. Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
2012-01-13Fix a native crash with shortcutsJean Chalard1-2/+3
Creation of the TerminalAttributes object failed to take into account that there may be children on this node. Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
2012-01-13Use KeyboardSet for unit testTadashi G. Takaoka5-19/+25
Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
2012-01-13Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSetTadashi G. Takaoka3-40/+69
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
2012-01-13New LOG libsatok10-70/+74
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
2012-01-13Use placement new to construct the queuesatok3-12/+31
Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
2012-01-13Fix SuggestTestsTadashi G. Takaoka4-4/+5
We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
2012-01-13Cleanup UtilsTestsTadashi G. Takaoka1-2/+0
Change-Id: I5631d010194423fd3d9c216db760ffa726131977
2012-01-13Fix UserBigramSuggestTestsTadashi G. Takaoka1-1/+1
Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
2012-01-13Fix SubtypeLocaleTestsTadashi G. Takaoka5-35/+22
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
2012-01-13Fix a bug in the logic to show 3 dots of the ime switchersatok2-5/+16
Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
2012-01-12Move auto correction thresthold to the native codesatok8-128/+148
bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
2012-01-12Change the application name of aosp latin imesatok2-2/+4
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d