aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodServiceCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2011-10-11Calibrate the scores of the proximity chars according to the distances.•••+1 75 -1 27 +2 0 -2 0 +3 0 -3 0 +4 30 -4 48 +5 37 -5 27 +6 4 -6 35 +7 9 -7 18 Change-Id: I3c6ab06a0084c18ab595147c36c2ff4b1e961a7b Yusuke Nojima6-99/+142
2011-10-11Fix haptic and audio feedback of caps-lock mode changing•••Bug: 5435669 Change-Id: Ic1c1eb00d7e535a3ac602b9b505fd8bf43da5a8d Tadashi G. Takaoka3-5/+11
2011-10-11Remove unused import•••Change-Id: I31115c29e47cdd09b2d8cc8f04e9fc9f9d542811 Tadashi G. Takaoka1-5/+1
2011-10-11Get rid of card suits from Arabic keyboard•••Bug: 5439295 Change-Id: Idbcd51acb927d5a9d549c91c93a1a6e32ba8be24 Tadashi G. Takaoka5-3/+5
2011-10-10Import revised translations.•••Change-Id: I26adc3038ae5f4d9593f7a71a9efc2967e77d223 Eric Fischer46-186/+47
2011-10-10Turn off the auto correction space bar led by default•••Bug: 5245468 Change-Id: I0c25d733b21dcc43674d9fe4ca22dd2e1d18105a satok1-1/+1
2011-10-10Put SuggestionSpan as the indicater of the auto-correction•••Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185 satok4-7/+41
2011-10-07Use the whitelist as a dictionary in the spell checker.•••Bug: 5402436 Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665 Jean Chalard3-24/+32
2011-10-07Fix a bug with the whitelist•••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 Jean Chalard4-12/+35
2011-10-07Add pretty-printing to SuggestedWords.Builder to help debug•••Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269 Jean Chalard1-0/+13
2011-10-07Add haptic feedback for caps lock•••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 Tadashi G. Takaoka2-1/+2
2011-10-06Let accessibility users know to connect a headset when the IME connects to a ...•••Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06 Alan Viverette4-27/+54
2011-10-07Fix a bug of the conversion of the correction algorithm•••Bug: 5414829 +1 25 -1 17 +2 0 -2 0 +3 0 -3 0 +4 15 -4 9 +5 2 -5 9 +6 13 -6 4 +7 3 -7 19 Change-Id: Ie99db961051320ee31d31476ea7c25b1d837c484 satok1-8/+31
2011-10-06Fix possible NPE in debug mode•••Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3 Jean Chalard1-2/+4
2011-10-06Fix a possible OutOfBoundsException•••Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3 Jean Chalard1-0/+5
2011-10-06Use XmlPullParser interface instead of XmlResourceParser•••Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae Tadashi G. Takaoka3-32/+33
2011-10-06Make the whitelist an instanciable class.•••This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a Jean Chalard6-32/+32
2011-10-05Enable score calibration by touch coordinates•••Result of diff.sh: +1 3 -1 3 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 3 -5 2 +6 3 -6 1 +7 1 -7 2 Change-Id: I41b803df23ac03e1fc81043df4e1e6a63c0afbb1 Yusuke Nojima1-1/+1
2011-10-05Promote touches in hit box according to the distance from sweet spot•••Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4 Yusuke Nojima6-95/+84
2011-10-04Cache the sweet spot types•••Change-Id: Ibaee062dc55c11892143d48b2d0959e78e52be83 Yusuke Nojima2-18/+33
2011-10-04Move ProximityInfo::calculateSweetSpotType right after ProximityInfo::setInpu...•••Change-Id: Ifc76ab0aa3e9467d54696bb8b84bf523f001938a Yusuke Nojima1-32/+32
2011-10-04Remove unused local variable•••Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7 Tadashi G. Takaoka1-3/+0
2011-10-04Cleanup unused import•••This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad Tadashi G. Takaoka17-64/+32
2011-10-03Pass the touch position correction flag from KeyboardSwitcher.•••Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f Yusuke Nojima6-84/+104
2011-10-03Demote words with a capitalized char•••Bug: 5371514 +1 4 -1 2 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 0 -5 12 +6 3 -6 3 +7 12 -7 0 Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f satok4-8/+45
2011-10-03Cleanup : remove recorrection-related stuff.•••This removes UPDATE_OLD_SUGGESTIONS, and the associated settings. Bug: 5402537 Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463 Jean Chalard5-43/+7
2011-10-03Cleanup : remove old recorrection code•••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 Jean Chalard3-384/+3
2011-10-03Fix a bug where moving the cursor would not reset selection•••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 Jean Chalard1-7/+7
2011-10-03Fix obtainStyledAttribute not to look for default•••Bug: 5402266 Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7 Tadashi G. Takaoka1-2/+2
2011-10-03Small refactoring•••Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa Jean Chalard1-28/+27
2011-10-03Fix bug in calculateSweetSpotType()•••Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa Yusuke Nojima1-1/+1
2011-10-03Remove code related to AutoText•••Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41 satok6-72/+20
2011-10-03Move auto text to white list dictionary•••Bug: 5245751 Change-Id: Ifc790ac6c0ac3b70006a5ed299f35b52b9617731 satok1-0/+698
2011-10-03Fix keyboard theme parsing•••This is a followup of I13b9997e. Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f Tadashi G. Takaoka2-2/+3
2011-09-30Import revised translations.•••Change-Id: I9fe5fbc28c1bb82bd094841ba3edcbcd8fe1384a Eric Fischer46-92/+142
2011-09-30Move themeId and touch correction data to Keyboard style•••Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d Tadashi G. Takaoka9-46/+50
2011-09-30Move SharedPreferencesCompat to com.android.inputmethod.compat•••Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe satok5-5/+5
2011-09-30Show the duration of vibration in settings•••bug: 5345401 Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf satok1-3/+15
2011-09-30Calibrate score by touch coordinates•••Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6 Yusuke Nojima2-0/+18
2011-09-30Classify touches into three types.•••Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890 Yusuke Nojima9-62/+181
2011-09-30Make use of the FULL_EDIT_DISTANCE flag.•••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 Jean Chalard3-7/+48
2011-09-30Skip successive InputMethodService callbacks after orientation changed•••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 Tadashi G. Takaoka2-68/+105
2011-09-29Fix CHAR LIMIT•••Bug: 5387401 Change-Id: I97161de79006a23e507a55041c7840267fbb2df8 Tadashi G. Takaoka1-1/+1
2011-09-29Add a flag to demote completed suggestions•••Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3 satok6-24/+55
2011-09-29Add missing spacers in the number password layout•••bug: 5366732 Change-Id: Ie9f56fb5bd9978d5882197a2305a96fb40fccb11 Ken Wakasa1-0/+2
2011-09-29Add a threshold for suggestion score.•••Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47 Jean Chalard2-29/+54
2011-09-29Pass the touch position correction data to native.•••Change-Id: I92958779377a530410d1682100f9d0a2ba267dea Yusuke Nojima8-106/+107
2011-09-29Update suggestions when user presses the backspace even when there is not two...•••Bug: 5384445 Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac satok1-3/+7
2011-09-29Handle back key and outside touch correctly in more suggestions window•••Bug: 5385284 Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800 Tadashi G. Takaoka2-39/+16
2011-09-29Add touch position correction data to resources.•••Change-Id: I156205672f3935f70c250a6c538793f35c5d86b2 Yusuke Nojima12-5/+155