aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-15Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing spansatok1-1/+2
Bug: 5460262 Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642
2011-10-14Calculate edit distances incrementally.Yusuke Nojima2-46/+94
Change-Id: I3ee734b9b71351523dc8658cba33d6c8435e348e
2011-10-14Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"Tadashi G. Takaoka1-11/+2
This reverts commit b1bc5fd896329a39ad51a8c79e2970750c814ea0. (If3a73179) Bug: 5410786
2011-10-13Revised Arabic alternatesTadashi G. Takaoka4-72/+233
Bug: 5439635 Change-Id: Ic6ea1317f8892d5dbaaa7e0cbb274e8e06ea89d7
2011-10-13Use consecutive Arabic TATWEEL for its label for discriminationTadashi G. Takaoka1-2/+4
Bug: 5446409 Change-Id: I448b39fda42d51139f53c9a48b1d743c5495fb51
2011-10-13Fix the safety netsatok4-11/+37
Bug: 5453150 Change-Id: I5990feb2622738988bf29843c6bcdb9cbf8bbf33
2011-10-13Update virtual LED on shift keysTadashi G. Takaoka24-0/+0
Bug: 5142447 Change-Id: I69ca713071bca5a9ff3a0b710e1821264a15ea18
2011-10-12Suppress flickers of the auto correction indicatorsatok1-8/+71
Bug: 5440788 Change-Id: I7832b449ee777dbd87388a02cebdfee0ce350fbd
2011-10-12Take invisible extractArea height into accountTadashi G. Takaoka1-3/+10
Bug: 5410786 Change-Id: I97ce2d72f86ce62b37d408103863af66f91e7107
2011-10-12Fix code for initial form of HehTadashi G. Takaoka1-2/+2
Bug: 5446566 Change-Id: I9ea4ce288d0678083c6b94867b999f7ec4192097
2011-10-12Get rid of daggers from Arabic/Hebrew keyboardTadashi G. Takaoka6-6/+32
Bug: 5445200 Change-Id: I5e4e19a17b0edcd0c0de8fa8fe4289b0ca7d66b1
2011-10-11Add a settings to change the sound effect volumesatok6-34/+190
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