aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typoJean Chalard2012-01-241-4/+4
| | | | Change-Id: I358350c959d5610214a752b14d7744fe83eb3821
* Merge "Squash a ridiculously improbable NPE"Jean Chalard2012-01-221-0/+8
|\
| * Squash a ridiculously improbable NPEJean Chalard2012-01-191-0/+8
| | | | | | | | | | | | | | | | This probably can't be triggered by anything that is not a monkey, but still, let's fix this Bug: 5797549 Change-Id: I9a7d9fd6664c97787ce676a28675e96f46df7658
* | Merge "Support @string reference in moreKeys attribute"Tadashi G. Takaoka2012-01-201-0/+55
|\ \
| * | Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-201-0/+55
| | | | | | | | | | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* | | Merge "Fix a bug where a check would fail"Jean Chalard2012-01-201-3/+3
|\ \ \ | |/ / |/| |
| * | Fix a bug where a check would failJean Chalard2012-01-201-3/+3
| | | | | | | | | | | | | | | Bug: 5894393 Change-Id: I810de58730f2cabcaf7b8dc1d85b3725f959094b
* | | Merge "Move MoreKeySpecParser.getResourceId to Utils"Tadashi G. Takaoka2012-01-201-8/+17
|\ \ \
| * | | Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-201-8/+17
| |/ / | | | | | | | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* / / Fix a bug where the user typed word would not be passed.Jean Chalard2012-01-201-4/+4
|/ / | | | | | | | | Bug: 5894271 Change-Id: I4f02ff322697159e08f5e898608c0aff11dacb2f
* | Merge "Fix a bug with backspace happening after a manual pick."Jean Chalard2012-01-191-6/+11
|\ \
| * | Fix a bug with backspace happening after a manual pick.Jean Chalard2012-01-191-6/+11
| |/ | | | | | | | | Bug: 5884397 Change-Id: I01f462075bcbf7da38e9af2084ecd37143923e8b
* / Small code simplification.Jean Chalard2012-01-191-5/+1
|/ | | | | | I'm pretty sure the test here was useless. Change-Id: Iaece641fbd5455406533b19555f2b639759a525f
* Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka2012-01-171-1/+1
| | | | Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
* Rename KeyboardActionListener methodsTadashi G. Takaoka2012-01-172-21/+9
| | | | | | | | | | | * 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-171-16/+5
|\
| * Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka2012-01-171-16/+5
| | | | | | | | 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 "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
* | Support EditorInfo.IME_FLAG_FORCE_ASCIITadashi G. Takaoka2012-01-171-0/+4
| | | | | | | | | | Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
* | Merge "Add "force non-distinct multitouch" debug option"Tadashi G. Takaoka2012-01-161-0/+3
|\ \ | |/ |/|
| * Add "force non-distinct multitouch" debug optionTadashi G. Takaoka2012-01-171-0/+3
| | | | | | | | Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
* | 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
* Don't cache resource value that depends on orientationTadashi G. Takaoka2012-01-162-3/+8
| | | | | Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
* Merge "Fix SuggestTests"Tadashi G. Takaoka2012-01-131-1/+1
|\
| * Fix SuggestTestsTadashi G. Takaoka2012-01-131-1/+1
| | | | | | | | | | | | | | We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
* | Merge "Fix a bug in the logic to show 3 dots of the ime switcher"satok2012-01-122-5/+16
|\ \ | |/ |/|
| * Fix a bug in the logic to show 3 dots of the ime switchersatok2012-01-132-5/+16
| | | | | | | | | | Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
* | Merge "Move auto correction thresthold to the native code"satok2012-01-124-99/+24
|\|
| * Move auto correction thresthold to the native codesatok2012-01-124-99/+24
| | | | | | | | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* | Merge "Fix a bug where last candidate would not be reset"Jean Chalard2012-01-111-0/+6
|\ \
| * | Fix a bug where last candidate would not be resetJean Chalard2012-01-121-0/+6
| | | | | | | | | | | | | | | Bug: 5851148 Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
* | | Merge "Add a sanity check"Jean Chalard2012-01-111-0/+8
|\ \ \ | |_|/ |/| |
| * | Add a sanity checkJean Chalard2012-01-121-0/+8
| |/ | | | | | | | | | | | | | | | | Check if any character is both a magic space swapper and a magic space stripper for the current language, and throw an exception if found. Since this is expensive, it's done only in debug mode. Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
* | Remove an excessive parensJean Chalard2012-01-121-1/+1
| | | | | | | | Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
* | Fix a crash where revertSwap would be wrongly calledJean Chalard2012-01-121-2/+3
|/ | | | | | | | | | | | | | This would crash the program when inputting a punctuation symbol that should not swap with a weak space through the suggestion strip, then press backspace. Those include all two-part punctuation symbols in French for example, as well as magic space strippers like the dash in English. For English all suggestion strips symbols happen to be magic space swappers so this would not happen in English by default. Also fix a typo. Change-Id: Ia40678c264e978509b5786290a75a3c57181648e
* Get rid of Keyboard.CODE_DUMMYTadashi G. Takaoka2012-01-101-1/+1
| | | | Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
* Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal ↵Tadashi G. Takaoka2012-01-101-2/+0
| | | | | | | | letter This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
* Fix a typo. A follow up to I68dd6b8dKen Wakasa2011-12-211-1/+1
| | | | Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
* Fix a bug with wrong auto-correct cancellationJean Chalard2011-12-212-13/+47
| | | | | | | | Auto-correct cancellation would sometimes kick in at wrong times, causing crashes. Bug: 5784542 Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
* Fix a bug with TYPE_TEXT_CLASSJean Chalard2011-12-201-12/+17
| | | | | | | | | This was introduced by a badly-rebased commit. The culprit was I103d6851. There was also another bug lurking there introduced by a previous commit that this fixes. Bug: 5775347 Change-Id: I133b54a5159e19714f4bcae8ffbb4824cff9f466
* Reorganize the auto-correction memoryJean Chalard2011-12-192-38/+38
| | | | Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-182-4/+79
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-183-17/+15
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move spacebar drawing code from LatinKeyboard to LatinKeyboardViewTadashi G. Takaoka2011-12-181-5/+3
| | | | | | | | | Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
* Get rid of Key.needsSpecialPopupHint and relatedTadashi G. Takaoka2011-12-181-1/+1
| | | | Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
* Merge "Pretty print for InputAttributes"Jean Chalard2011-12-162-4/+10
|\