aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add "size" and "pressure" for MotionEvent logs•••bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782 Ken Wakasa2012-01-301-1/+1
* Cleanup (A9)•••Deactivate the LastComposedWord when the commit was not the right type, instead of fooling it by passing it a null auto-correction. Change-Id: I032b477dc691bd151a644ca4b0c9f0a9b5512e45 Jean Chalard2012-01-261-2/+4
* Remove a useless member (A8)•••It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f Jean Chalard2012-01-262-5/+3
* Remove the CharacterStore class (A7)•••Remove the now useless WordComposer.CharacterStore class and merge back its members inside WordComposer. This should simplify the word composer a bit. Change-Id: I5fe32418c62a583cd558dce98758a4701559bdf5 Jean Chalard2012-01-261-70/+50
* Guard against wrong auto-correction cancellation (A6)•••This deactivates the cancellation at each separator pressed while not composing a word. The net effect is to fix Bug: 5875776 Change-Id: I67aa3f842ddff250828c60596ad5a7e466c1ddaa Jean Chalard2012-01-261-2/+9
* Straighten out resuming suggestion on kept word (A5)•••This is cleanup. This also introduces a "deactivated" state to the last committed word, that can be used for Bug: 5875776 Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1 Jean Chalard2012-01-263-19/+20
* Remove mCommittedWordSavedForSuggestionResuming (A4)•••Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef Jean Chalard2012-01-262-25/+15
* Move some functionality into LastComposedWord (A3)•••Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7 Jean Chalard2012-01-263-18/+38
* Add useful information to LastComposedWord (A2)•••Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e Jean Chalard2012-01-262-2/+18
* Merge "Add a class for previously composed data (A1)"Jean Chalard2012-01-263-24/+52
|\
| * Add a class for previously composed data (A1)•••Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1 Jean Chalard2012-01-263-24/+52
* | Merge "Get rid of Resource reference from KeyboardView, LatinKeyboardView and...Tadashi G. Takaoka2012-01-262-3/+4
|\ \ | |/ |/|
| * Get rid of Resource reference from KeyboardView, LatinKeyboardView and Pointe...•••This change introduces the following attributes. * KeyboardView - keyPreviewLingerTimeout * LatinKeboardView - keyHysteresisDistance - touchNoiseThresholdTime - touchNoiseThresholdDistance - slidingKeyInputEnable - keyRepeatStartTimeout - keyRepeatInterval - longPressKeyTimeout - longPressShiftKeyTimeout - longPressSpaceKeyTimeout - ignoreSpecialKeyTimeout - showMiniKeyboardAtTouchedPoint Change-Id: I25159a87289b12447e20031add173523070e9b03 Tadashi G. Takaoka2012-01-262-3/+4
* | Merge "Warn deprecated privateImeOptions, "nm" and "forceAscii""Tadashi G. Takaoka2012-01-251-1/+11
|\ \
| * | Warn deprecated privateImeOptions, "nm" and "forceAscii"•••Public API EditorInfo.IME_FLAG_FORCE_ASCII has been supported by I6665b483. Change-Id: I0ffdee15d8177d126cd8fe86a6bc4ab21be58c36 Tadashi G. Takaoka2012-01-261-1/+11
| |/
* | Merge "Add a guard against OOB."Jean Chalard2012-01-251-3/+7
|\ \
| * | Add a guard against OOB.•••...and avoid crashing in one case where the application may change the text while we are typing. Bug: 5685922 Change-Id: I4a22c63168986f43ac84f512aaa4267023d536e3 Jean Chalard2012-01-261-3/+7
| |/
* | Merge "Convert an internal enum into an int of same underlying value."Jean Chalard2012-01-256-21/+18
|\ \
| * | Convert an internal enum into an int of same underlying value.•••Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7 Jean Chalard2012-01-266-21/+18
| |/
* / Small cleanup•••All calls to this method are done with the same parameter, and it's really hard to understand if we call upon this member inside. Change-Id: I787664bb59053ab0fe666ed812fb12b2b9090918 Jean Chalard2012-01-261-1/+1
|/
* Merge "Add a test for auto-correction."Jean Chalard2012-01-253-4/+11
|\
| * Add a test for auto-correction.•••Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257 Jean Chalard2012-01-253-4/+11
* | Use String instaed of CharSequence in Key class•••Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760 Tadashi G. Takaoka2012-01-251-1/+1
|/
* Fix a bug where backspace would not delete the selection•••Bug: 5699301 Change-Id: I6c5a8470464d045349ac38e191c859b5c34cbeee Jean Chalard2012-01-241-5/+27
* Fix a typo•••Change-Id: I358350c959d5610214a752b14d7744fe83eb3821 Jean Chalard2012-01-241-4/+4
* Merge "Squash a ridiculously improbable NPE"Jean Chalard2012-01-221-0/+8
|\
| * 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 Jean Chalard2012-01-191-0/+8
* | Merge "Support @string reference in moreKeys attribute"Tadashi G. Takaoka2012-01-201-0/+55
|\ \
| * | Support @string reference in moreKeys attribute•••Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06 Tadashi G. Takaoka2012-01-201-0/+55
* | | Merge "Fix a bug where a check would fail"Jean Chalard2012-01-201-3/+3
|\ \ \ | |/ / |/| |
| * | Fix a bug where a check would fail•••Bug: 5894393 Change-Id: I810de58730f2cabcaf7b8dc1d85b3725f959094b Jean Chalard2012-01-201-3/+3
* | | Merge "Move MoreKeySpecParser.getResourceId to Utils"Tadashi G. Takaoka2012-01-201-8/+17
|\ \ \
| * | | Move MoreKeySpecParser.getResourceId to Utils•••Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736 Tadashi G. Takaoka2012-01-201-8/+17
| |/ /
* / / Fix a bug where the user typed word would not be passed.•••Bug: 5894271 Change-Id: I4f02ff322697159e08f5e898608c0aff11dacb2f Jean Chalard2012-01-201-4/+4
|/ /
* | 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.•••Bug: 5884397 Change-Id: I01f462075bcbf7da38e9af2084ecd37143923e8b Jean Chalard2012-01-191-6/+11
| |/
* / Small code simplification.•••I'm pretty sure the test here was useless. Change-Id: Iaece641fbd5455406533b19555f2b639759a525f Jean Chalard2012-01-191-5/+1
|/
* Remove KeyboardSwicther.toggleCapslock•••Change-Id: Id613c06e2df770659095d78d42637aed063d0c70 Tadashi G. Takaoka2012-01-171-1/+1
* 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 Tadashi G. Takaoka2012-01-172-21/+9
* Merge "Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher"Tadashi G. Takaoka2012-01-171-16/+5
|\
| * Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher•••Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997 Tadashi G. Takaoka2012-01-171-16/+5
* | Merge "Fix a bug where words disappear on inserting separators"Jean Chalard2012-01-161-1/+7
|\ \
| * | 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 Jean Chalard2012-01-171-1/+7
* | | 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 time•••Bug: 5846646 Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b Jean Chalard2012-01-171-3/+16
| |/
* | Support EditorInfo.IME_FLAG_FORCE_ASCII•••Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5 Tadashi G. Takaoka2012-01-171-0/+4
* | Merge "Add "force non-distinct multitouch" debug option"Tadashi G. Takaoka2012-01-161-0/+3
|\ \ | |/ |/|
| * Add "force non-distinct multitouch" debug option•••Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12 Tadashi G. Takaoka2012-01-171-0/+3
* | Small cleanup•••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 Jean Chalard2012-01-172-18/+1
* | Add some comments about resuming auto-suggestion•••Bug: 5846646 Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721 Jean Chalard2012-01-171-0/+5
|/