aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-11Add a settings to change the sound effect volumesatok3-31/+138
Bug: 5345401 Bug: 5402541 Change-Id: I1e653573a3362160104b77388d6cbd1700424649
2011-10-11Calibrate the scores of the proximity chars according to the distances.Yusuke Nojima6-99/+142
+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
2011-10-11Fix haptic and audio feedback of caps-lock mode changingTadashi G. Takaoka3-5/+11
Bug: 5435669 Change-Id: Ic1c1eb00d7e535a3ac602b9b505fd8bf43da5a8d
2011-10-11Remove unused importTadashi G. Takaoka1-5/+1
Change-Id: I31115c29e47cdd09b2d8cc8f04e9fc9f9d542811
2011-10-11Get rid of card suits from Arabic keyboardTadashi G. Takaoka5-3/+5
Bug: 5439295 Change-Id: Idbcd51acb927d5a9d549c91c93a1a6e32ba8be24
2011-10-10Import revised translations.Eric Fischer46-186/+47
Change-Id: I26adc3038ae5f4d9593f7a71a9efc2967e77d223
2011-10-10Turn off the auto correction space bar led by defaultsatok1-1/+1
Bug: 5245468 Change-Id: I0c25d733b21dcc43674d9fe4ca22dd2e1d18105a
2011-10-10Put SuggestionSpan as the indicater of the auto-correctionsatok4-7/+41
Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
2011-10-07Use the whitelist as a dictionary in the spell checker.Jean Chalard3-24/+32
Bug: 5402436 Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
2011-10-07Fix a bug with the whitelistJean Chalard4-12/+35
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
2011-10-07Add pretty-printing to SuggestedWords.Builder to help debugJean Chalard1-0/+13
Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269
2011-10-07Add haptic feedback for caps lockTadashi G. Takaoka2-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
2011-10-06Let accessibility users know to connect a headset when the IME connects to a ↵Alan Viverette4-27/+54
password field. Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06
2011-10-07Fix a bug of the conversion of the correction algorithmsatok1-8/+31
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
2011-10-06Fix possible NPE in debug modeJean Chalard1-2/+4
Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
2011-10-06Fix a possible OutOfBoundsExceptionJean Chalard1-0/+5
Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
2011-10-06Use XmlPullParser interface instead of XmlResourceParserTadashi G. Takaoka3-32/+33
Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae
2011-10-06Make the whitelist an instanciable class.Jean Chalard6-32/+32
This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
2011-10-05Enable score calibration by touch coordinatesYusuke Nojima1-1/+1
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
2011-10-05Promote touches in hit box according to the distance from sweet spotYusuke Nojima6-95/+84
Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
2011-10-04Cache the sweet spot typesYusuke Nojima2-18/+33
Change-Id: Ibaee062dc55c11892143d48b2d0959e78e52be83
2011-10-04Move ProximityInfo::calculateSweetSpotType right after ↵Yusuke Nojima1-32/+32
ProximityInfo::setInputParams Change-Id: Ifc76ab0aa3e9467d54696bb8b84bf523f001938a
2011-10-04Remove unused local variableTadashi G. Takaoka1-3/+0
Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
2011-10-04Cleanup unused importTadashi G. Takaoka17-64/+32
This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
2011-10-03Pass the touch position correction flag from KeyboardSwitcher.Yusuke Nojima6-84/+104
Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
2011-10-03Demote words with a capitalized charsatok4-8/+45
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
2011-10-03Cleanup : remove recorrection-related stuff.Jean Chalard5-43/+7
This removes UPDATE_OLD_SUGGESTIONS, and the associated settings. Bug: 5402537 Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463
2011-10-03Cleanup : remove old recorrection codeJean Chalard3-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
2011-10-03Fix a bug where moving the cursor would not reset selectionJean Chalard1-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
2011-10-03Fix obtainStyledAttribute not to look for defaultTadashi G. Takaoka1-2/+2
Bug: 5402266 Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7
2011-10-03Small refactoringJean Chalard1-28/+27
Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa
2011-10-03Fix bug in calculateSweetSpotType()Yusuke Nojima1-1/+1
Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
2011-10-03Remove code related to AutoTextsatok6-72/+20
Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
2011-10-03Move auto text to white list dictionarysatok1-0/+698
Bug: 5245751 Change-Id: Ifc790ac6c0ac3b70006a5ed299f35b52b9617731
2011-10-03Fix keyboard theme parsingTadashi G. Takaoka2-2/+3
This is a followup of I13b9997e. Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f
2011-09-30Import revised translations.Eric Fischer46-92/+142
Change-Id: I9fe5fbc28c1bb82bd094841ba3edcbcd8fe1384a
2011-09-30Move themeId and touch correction data to Keyboard styleTadashi G. Takaoka9-46/+50
Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d
2011-09-30Move SharedPreferencesCompat to com.android.inputmethod.compatsatok5-5/+5
Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
2011-09-30Show the duration of vibration in settingssatok1-3/+15
bug: 5345401 Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf
2011-09-30Calibrate score by touch coordinatesYusuke Nojima2-0/+18
Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6
2011-09-30Classify touches into three types.Yusuke Nojima9-62/+181
Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
2011-09-30Make use of the FULL_EDIT_DISTANCE flag.Jean Chalard3-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
2011-09-30Skip successive InputMethodService callbacks after orientation changedTadashi G. Takaoka2-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
2011-09-29Fix CHAR LIMITTadashi G. Takaoka1-1/+1
Bug: 5387401 Change-Id: I97161de79006a23e507a55041c7840267fbb2df8
2011-09-29Add a flag to demote completed suggestionssatok6-24/+55
Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
2011-09-29Add missing spacers in the number password layoutKen Wakasa1-0/+2
bug: 5366732 Change-Id: Ie9f56fb5bd9978d5882197a2305a96fb40fccb11
2011-09-29Add a threshold for suggestion score.Jean Chalard2-29/+54
Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
2011-09-29Pass the touch position correction data to native.Yusuke Nojima8-106/+107
Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
2011-09-29Update suggestions when user presses the backspace even when there is not ↵satok1-3/+7
two or more suggestions Bug: 5384445 Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
2011-09-29Handle back key and outside touch correctly in more suggestions windowTadashi G. Takaoka2-39/+16
Bug: 5385284 Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800