aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Let accessibility users know to connect a headset when the IME ↵Svetoslav Ganov2011-10-073-27/+51
|\ \ | | | | | | | | | connects to a password field."
| * | Let accessibility users know to connect a headset when the IME connects to a ↵Alan Viverette2011-10-063-27/+51
| | | | | | | | | | | | | | | | | | password field. Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06
* | | Use the whitelist as a dictionary in the spell checker.Jean Chalard2011-10-073-24/+32
| | | | | | | | | | | | | | | Bug: 5402436 Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
* | | Merge "Fix a bug with the whitelist"Jean Chalard2011-10-073-11/+34
|\ \ \
| * | | Fix a bug with the whitelistJean Chalard2011-10-073-11/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug would kill the case where the whitelist contains a word to be autocorrected to an uppercased version of itself, and the user would enter the uppercase version. In this case, this bug would cause the typed word to be killed off the list of candidates, and possibly autocorrected to the *next* candidate. When the whitelist checks whether this the typed word is a candidate for whitelisting, this change has it check whether the whitelisting results in the typed word before returning. Hence, it can keep the case-insensitive behavior of the whitelist. Coincidentally, this change renames the method used to do this, because it does not comply with the general contract of Dictionary. This happens to be in the way of another upcoming change. Bug: 5420371 Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
* | | Merge "Add haptic feedback for caps lock"Tadashi G. Takaoka2011-10-072-1/+2
|\ \ \
| * | | Add haptic feedback for caps lockTadashi G. Takaoka2011-10-072-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | When long press triggers caps lock, the keyboard also triggers haptic feedback. This change also fixes trivial harmless bug in KeyboardSwitcher. Bug: 5424681 Change-Id: I62706b49abd7be1dcebc3c5166ea03f426fc8c86
* / / Add pretty-printing to SuggestedWords.Builder to help debugJean Chalard2011-10-071-0/+13
|/ / | | | | | | Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269
* | Merge "Use XmlPullParser interface instead of XmlResourceParser"Tadashi G. Takaoka2011-10-063-32/+33
|\ \ | |/ |/|
| * Use XmlPullParser interface instead of XmlResourceParserTadashi G. Takaoka2011-10-063-32/+33
| | | | | | | | Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae
* | Merge "Fix possible NPE in debug mode"Jean Chalard2011-10-061-2/+4
|\ \
| * | Fix possible NPE in debug modeJean Chalard2011-10-061-2/+4
| | | | | | | | | | | | Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
* | | Fix a possible OutOfBoundsExceptionJean Chalard2011-10-061-0/+5
|/ / | | | | | | Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
* / Make the whitelist an instanciable class.Jean Chalard2011-10-062-23/+18
|/ | | | | | | | This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
* Remove unused local variableTadashi G. Takaoka2011-10-041-3/+0
| | | | Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
* Cleanup unused importTadashi G. Takaoka2011-10-0417-64/+32
| | | | | | This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
* Merge "Pass the touch position correction flag from KeyboardSwitcher."Yusuke Nojima2011-10-036-84/+104
|\
| * Pass the touch position correction flag from KeyboardSwitcher.Yusuke Nojima2011-10-036-84/+104
| | | | | | | | Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
* | Cleanup : remove recorrection-related stuff.Jean Chalard2011-10-032-31/+7
| | | | | | | | | | | | | | This removes UPDATE_OLD_SUGGESTIONS, and the associated settings. Bug: 5402537 Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463
* | Cleanup : remove old recorrection codeJean Chalard2011-10-033-384/+3
| | | | | | | | | | | | | | | | | | This removes the calls, but another change will be needed to remove the messages LatinIME used to send itself to update the suggestion strip. Bug: 5402537 Change-Id: I5d1aa63a892516f339f3ceac21f43771b5ffda34
* | Merge "Fix a bug where moving the cursor would not reset selection"Jean Chalard2011-10-031-7/+7
|\ \ | |/ |/|
| * Fix a bug where moving the cursor would not reset selectionJean Chalard2011-10-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | This change updates suggestions when the cursor is moved. It is now reasonable to remove the explicit test for TextEntryState.isAcceptedDefault because it is now shielded by mExpectingUpdateSelection : actually, this probably fixes a long-standing bug. Bug: 5337309 Change-Id: Iee4046420c6a88d1a07d428230f93c3ebef25c39
* | Merge "Fix obtainStyledAttribute not to look for default"Satoshi Kataoka2011-10-031-2/+2
|\ \ | |/ |/|
| * Fix obtainStyledAttribute not to look for defaultTadashi G. Takaoka2011-10-031-2/+2
| | | | | | | | | | Bug: 5402266 Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7
* | Merge "Small refactoring"Jean Chalard2011-10-021-28/+27
|\ \ | |/ |/|
| * Small refactoringJean Chalard2011-10-031-28/+27
| | | | | | | | Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa
* | Remove code related to AutoTextsatok2011-10-034-62/+11
|/ | | | | | Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
* Fix keyboard theme parsingTadashi G. Takaoka2011-10-031-1/+2
| | | | | | This is a followup of I13b9997e. Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f
* Merge "Move themeId and touch correction data to Keyboard style"Tadashi G. Takaoka2011-09-301-30/+27
|\
| * Move themeId and touch correction data to Keyboard styleTadashi G. Takaoka2011-09-301-30/+27
| | | | | | | | Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d
* | Move SharedPreferencesCompat to com.android.inputmethod.compatsatok2011-09-305-5/+5
| | | | | | | | Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
* | Show the duration of vibration in settingssatok2011-09-301-3/+15
|/ | | | | | bug: 5345401 Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf
* Merge "Classify touches into three types."Yusuke Nojima2011-09-301-1/+6
|\
| * Classify touches into three types.Yusuke Nojima2011-09-301-1/+6
| | | | | | | | Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
* | Merge "Make use of the FULL_EDIT_DISTANCE flag."Jean Chalard2011-09-303-7/+48
|\ \
| * | Make use of the FULL_EDIT_DISTANCE flag.Jean Chalard2011-09-303-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In effect, this stops the spell checker from suggesting overly long words. More precisely, it takes advantage of the new facility that takes into account the whole length of the dictionary word when computing scores, so words much longer than the input word will see their score demoted accordingly. Bug: 5384578 Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
* | | Skip successive InputMethodService callbacks after orientation changedTadashi G. Takaoka2011-09-302-68/+105
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IME is called back four methods for each input field as a IME life cycle. The four methods are onStartInput, onStartInputView, onFinishInputView and onFinishInput. After orientation changed, Those quartet methods will be called back twice. This behavior of the framework might be a bug. In order to restore the previous keyboard layout, we should skip onFinishInputView and onFinishInput of the first quartet and onStartInput and onStartInputView of the second quartet. Bug: 4311428 Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
* | Merge "Add a flag to demote completed suggestions"satok2011-09-292-2/+15
|\ \
| * | Add a flag to demote completed suggestionssatok2011-09-292-2/+15
| | | | | | | | | | | | | | | Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
* | | Merge "Add a threshold for suggestion score."Jean Chalard2011-09-291-27/+50
|\ \ \ | |_|/ |/| |
| * | Add a threshold for suggestion score.Jean Chalard2011-09-291-27/+50
| | | | | | | | | | | | | | | | | | Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
* | | Merge "Pass the touch position correction data to native."Yusuke Nojima2011-09-292-14/+59
|\ \ \
| * | | Pass the touch position correction data to native.Yusuke Nojima2011-09-292-14/+59
| |/ / | | | | | | | | | Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
* | | Merge "Update suggestions when user presses the backspace even when there is ↵satok2011-09-291-3/+7
|\ \ \ | | | | | | | | | | | | not two or more suggestions"
| * | | Update suggestions when user presses the backspace even when there is not ↵satok2011-09-291-3/+7
| | |/ | |/| | | | | | | | | | | | | | | | two or more suggestions Bug: 5384445 Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
* | | Merge "Handle back key and outside touch correctly in more suggestions window"Tadashi G. Takaoka2011-09-282-39/+16
|\ \ \ | |_|/ |/| |
| * | Handle back key and outside touch correctly in more suggestions windowTadashi G. Takaoka2011-09-292-39/+16
| | | | | | | | | | | | | | | Bug: 5385284 Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800
* | | Merge "Add touch position correction data to resources."Yusuke Nojima2011-09-284-4/+72
|\ \ \
| * | | Add touch position correction data to resources.Yusuke Nojima2011-09-294-4/+72
| | | | | | | | | | | | | | | | Change-Id: I156205672f3935f70c250a6c538793f35c5d86b2
* | | | Move some arguments to final members.Jean Chalard2011-09-291-11/+15
| |_|/ |/| | | | | | | | | | | | | | | | | This is preparation for Bug: 5384578 Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe