aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up constructorsKen Wakasa2012-08-132-33/+1
| | | | | | | | | | | And, use C++ style casts and use float math functions rather than double ones to save memory space. Also, stop using FloatMath and NativeUtils as standard Math methods are faster now. See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700 multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
* Fix JNIsatok2012-08-112-4/+5
| | | | Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
* Use JNI Region calls also in getSuggestions()Ken Wakasa2012-08-101-10/+8
| | | | Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
* Workaround to stop init dict traverse sessionSatoshi Kataoka2012-08-101-4/+4
| | | | Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
* Accept whitelisted entries from any source.Jean Chalard2012-08-101-3/+12
| | | | | | | ...not only the WhitelistDictionary. Bug: 6906525 Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
* Optimization & SimplificationJean Chalard2012-08-102-17/+12
| | | | | | | | | It's useless to do the whitelist lookup twice. Also, putting this test out of this method will allow whitelist entries to come from other sources. Bug: 6906525 Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
* Merge "Pass the type from native code all the way to Java." into jb-mr1-devJean Chalard2012-08-101-2/+3
|\
| * Pass the type from native code all the way to Java.Jean Chalard2012-08-101-2/+3
| | | | | | | | | | Bug: 6906525 Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
* | Add arguments for dic traverse sessionSatoshi Kataoka2012-08-102-7/+8
|/ | | | Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
* Use more JNI Region callsKen Wakasa2012-08-101-11/+7
| | | | Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
* Add reset method for dic travserse sessionSatoshi Kataoka2012-08-091-2/+12
| | | | Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
* Update dictionary availability at onStartInputViewTadashi G. Takaoka2012-08-091-0/+1
| | | | | | This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
* Merge "Fix NPE and don't call UI API from non-UI thread" into jb-mr1-devTadashi G. Takaoka2012-08-081-14/+8
|\
| * Fix NPE and don't call UI API from non-UI threadTadashi G. Takaoka2012-08-091-14/+8
| | | | | | | | | | | | | | | | | | This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259 Bug: 6956969 Bug: 6891020 Bug: 6947253 Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
* | Merge "Pass traverse session" into jb-mr1-devSatoshi Kataoka2012-08-082-4/+9
|\ \
| * | Pass traverse sessionSatoshi Kataoka2012-08-082-4/+9
| | | | | | | | | | | | Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
* | | Merge "Add traverse session" into jb-mr1-devSatoshi Kataoka2012-08-082-0/+62
|\| | | |/ |/|
| * Add traverse sessionSatoshi Kataoka2012-08-082-0/+62
| | | | | | | | | | | | Bug: 6942265 Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
* | Add SuggestInitializationListener to BinaryDictionary.resetMainDict()Tadashi G. Takaoka2012-08-082-12/+11
|/ | | | Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
* Lingering gesture floating preview text a bitTadashi G. Takaoka2012-08-071-37/+51
| | | | | Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
* Cleanup unused import and dead codeTadashi G. Takaoka2012-08-062-3/+0
| | | | Change-Id: Ife877620561d29a8f25602916420741186104617
* Fix duplicate getSuggestions() call for main dictionaryTadashi G. Takaoka2012-08-061-1/+1
| | | | Change-Id: I092480063452505cdf03dbd83b9c64e535822931
* Fix Utils.getStackTrace()Tadashi G. Takaoka2012-08-061-1/+1
| | | | Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
* Separate updateSuggestionStrip from commitTypedTadashi G. Takaoka2012-08-061-5/+7
| | | | | | | | | The commitTyped() called updateSuggestionStrip(), and that led to call Suggest.getSuggestedWordsForTypingInput() even after a batch input was started because WordComposer.commitWord() reset the batch input state. Bug: 6932442 Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
* Merge "Cleanup unused code" into jb-mr1-devJean Chalard2012-08-031-5/+1
|\
| * Cleanup unused codeJean Chalard2012-08-041-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | The Italian dictionary has been amended to contain words that include apostrophes, and accordingly the apostrophe is now excluded from word separators in Italian. This code was only used for Italian, and in the general case it does the wrong thing; it was only needed by limitations of the old dictionary. Bug: 6929108 Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
* | Make a makedict command for dicttool (A3)Jean Chalard2012-08-042-6/+6
|/ | | | | | | | | | | This behaves exactly as the old makedict command. Further changes will redirect the calls to makedict to this, so as to consolidate similar code. Groundwork for Bug: 6429606 Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
* Merge "Fix an OOB exception" into jb-mr1-devJean Chalard2012-08-031-2/+5
|\
| * Fix an OOB exceptionJean Chalard2012-08-031-2/+5
| | | | | | | | | | | | | | | | Not sure exactly how this can happen, but at least this should prevent us from crashing. Bug: 6920884 Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
* | Using hardware accelerated drawingTadashi G. Takaoka2012-08-031-1/+1
|/ | | | | | | When Canvas has been hardware accelerated, don't use offscreen bitmap. Bug: 6872994 Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
* Enable hardware accelerated drawing for SoftInputWindow of LatinIMEKen Wakasa2012-08-021-0/+6
| | | | | | | Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e bug: 6872994 Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
* Don't forward phantom space state on stripper inputJean Chalard2012-07-311-1/+6
| | | | | Bug: 6890540 Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
* Move gesture preview parameters to KeyboardView attributesTadashi G. Takaoka2012-07-301-3/+4
| | | | Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
* Add advanced options to turn on/off the gesture trail and text previewTadashi G. Takaoka2012-07-303-24/+52
| | | | | Bug: 6883053 Change-Id: I601718afb37289108b45ef68626c7c315edca35d
* Merge "Don't auto-correct when there are digits." into jb-mr1-devJean Chalard2012-07-272-1/+14
|\
| * Don't auto-correct when there are digits.Jean Chalard2012-07-282-1/+14
| | | | | | | | | | Bug: 6667462 Change-Id: I796655f57c71c9f50ae6e38dd08b71df3998dbcf
* | Fix a bug with autocapsJean Chalard2012-07-271-0/+7
|/ | | | | | | Port of Iece016f4 Bug: 6886405 Change-Id: I148c296d8a3841c40b6748e73ed2b0fff473b627
* Handle correctly the restarting argumentJean Chalard2012-07-261-16/+30
| | | | | Bug: 6851364 Change-Id: Ie939a43b8527a76aec213b702d3d850717f22a81
* Merge "Remove unused setProximityCorrectionEnabled() methods"Tadashi G. Takaoka2012-07-251-1/+0
|\
| * Remove unused setProximityCorrectionEnabled() methodsTadashi G. Takaoka2012-07-251-1/+0
| | | | | | | | Change-Id: I03aa6608ee435b36377de41684162b303740f571
* | Stop swallowing an UnsatisfiedLinkErrorKen Wakasa2012-07-261-5/+1
| | | | | | | | Change-Id: I37d61274e1527229befabae2c392fd78e279b807
* | Add dynamic floating preview for incremental gesture recognition.Tom Ouyang2012-07-251-0/+4
|/ | | | Change-Id: I7ba7ac24aa96a0ff19267997c5b58853079bc6dc
* Update gesture mode state when dictionary gets availableTadashi G. Takaoka2012-07-251-3/+14
| | | | | Bug: 6860204 Change-Id: I840b7bf1983ab92fa4e0b180129176539e96409f
* Add Suggest initialization finish listenerTadashi G. Takaoka2012-07-252-4/+26
| | | | | Bug: 6860204 Change-Id: I1e4c03c99415cd9bdea5a8556ff4093c33f0f508
* Merge "Update gesture suggestions even when suggestions strip is off"Tadashi G. Takaoka2012-07-231-12/+16
|\
| * Update gesture suggestions even when suggestions strip is offTadashi G. Takaoka2012-07-231-12/+16
| | | | | | | | | | Bug: 6852483 Change-Id: I873ae0f2e3bc863e989629f8bc0cc90ee33a4920
* | Merge "Fix a bug with the 'add to dict' hint popping up too much"Jean Chalard2012-07-231-9/+3
|\ \ | |/ |/|
| * Fix a bug with the 'add to dict' hint popping up too muchJean Chalard2012-07-231-9/+3
| | | | | | | | | | | | | | | | | | | | Not having a main dictionary is not sufficient reason to display the hint. If the user already added the word to the dictionary then we shouldn't be displaying it again, even if we don't have a main dictionary for the current language. Bug: 6829798 Change-Id: I6b081f51c82ef395fe2e394fd3167363e743ea6f
* | Rename suggestion strip related methodsTadashi G. Takaoka2012-07-231-18/+18
|/ | | | Change-Id: I942692bbc2e577482f353d875405c4658a1102fc
* Rename SuggestionsView to SuggestionStripViewTadashi G. Takaoka2012-07-236-74/+80
|