aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make Latin IME aware of its surrounding text.Jean Chalard2012-09-121-8/+25
| | | | | | | | | This is a preparatory change for Bug: 4967874 Bug: 6617760 Bug: 6950087 Change-Id: I3abf8e45c0d02c42491421f108370220134b9602
* Display punctuation suggestions on cursor moveJean Chalard2012-09-041-1/+5
| | | | | | | | | ...if punctuation suggestions are requested. Fixes the symptom, but not the root cause of Bug: 6981089 Change-Id: I683a7451c99457829cb4e5a762f43548ff89a535
* ResearchLogger no longer offers option to disable loggingKurt Partridge2012-08-301-1/+1
| | | | | Bug: 6188932 Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
* Allow Latin IME to cancel smiley-auto-correct consistenlyJean Chalard2012-08-291-29/+31
| | | | | | | | | | | | | This change makes Latin IME behave consistently with regards to other auto-correction cancellations in cases of auto-correction cancellation after smiley-triggered auto-correction. That is, pressing the smiley key when the keyboard signals it's about to auto-correct will get the auto-correction there plus a smiley, and pressing backspace will cancel the auto-correction, and pressing backspace again will delete the smiley. Bug: 7067593 Change-Id: Ia7eef70a5d06b8b9afa1f1fbb0ed1dbc21a3059f
* Auto-correct after smileys and gestures.Jean Chalard2012-08-271-2/+4
| | | | | | Bug: 6936790 Bug: 6965241 Change-Id: I1f61327eb5591960c280e425df9cd86b9c52f5d6
* Merge "ResearchLogging capture full n-gram data" into jb-mr1-devKurt Partridge2012-08-221-5/+3
|\
| * ResearchLogging capture full n-gram dataKurt Partridge2012-08-211-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Captures complete motion data for all words in an n-gram. - Also filters n-grams properly; if any word in the n-gram is not in the dictionary, it is not included. - Simplify ResearchLog to not require explicit state - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions about privacy. - Moved LogUnit out from ResearchLogger multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2 Bug: 6188932 Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
* | Fix SubtypeSwitcher initialization pathTadashi G. Takaoka2012-08-221-8/+23
| | | | | | | | | | | | | | | | This change also removes the reference of LatinIME from SubtypeSwitcher. Bug: 7026856 Change-Id: I78a266f3682b11f09b49bbcdcdb6aee713e6af37
* | Remove GCUtils utility classTadashi G. Takaoka2012-08-221-12/+1
|/ | | | Change-Id: Ia666aeb10c155d69763faf7f01ceca113b9b4653
* Remove KeyboardSwitcher reference from ResearchLoggerTadashi G. Takaoka2012-08-221-1/+1
| | | | Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-211-60/+16
| | | | | | | | | | | | | | Move many ResearchLogger data collection points to RichInputConnection. By collecting data here, developers do not have to remember to keep the ResearchLog consistent with calls to the RichInputConnection. In addition, some unnecessary log points were removed, and the ResearchLogger is now independent of LatinImeLogger. multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2 Bug: 6188932 Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
* Merge "Tell the shift mode to the word composer." into jb-mr1-devJean Chalard2012-08-211-5/+15
|\
| * Tell the shift mode to the word composer.Jean Chalard2012-08-211-5/+15
| | | | | | | | | | Bug: 6950087 Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb
* | Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-10/+9
| | | | | | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* | Remove touch coordinate from pickSuggestionManuallyTadashi G. Takaoka2012-08-211-6/+5
|/ | | | Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
* Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-devKurt Partridge2012-08-201-16/+60
|\
| * Revert "ResearchLogger log RichInputConnection"Kurt Partridge2012-08-201-16/+60
| | | | | | | | | | | | This reverts commit 1964ffb3f43f0ada429d13b41bd22b90a97fa9fc Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
* | Merge "Revert "ResearchLogging capture full n-gram data"" into jb-mr1-devKurt Partridge2012-08-201-3/+5
|\ \
| * | Revert "ResearchLogging capture full n-gram data"Kurt Partridge2012-08-201-3/+5
| | | | | | | | | | | | | | | | | | This reverts commit 221e756fd7d585f0eb75377b851f23cad24ccd7f Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
* | | Merge changes I568c90d4,I4667f8f6 into jb-mr1-devKurt Partridge2012-08-201-5/+3
|\| | | | | | | | | | | | | | | | | * changes: ResearchLogging capture full n-gram data ResearchLogger to track simple statistics
| * | ResearchLogging capture full n-gram dataKurt Partridge2012-08-171-5/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DO NOT MERGE - Captures complete motion data for all words in an n-gram. - Also filters n-grams properly; if any word in the n-gram is not in the dictionary, it is not included. - Simplify ResearchLog to not require explicit state - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions about privacy. - Moved LogUnit out from ResearchLogger multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65 Bug: 6188932 Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
* | Merge "ResearchLogger log RichInputConnection" into jb-mr1-devKurt Partridge2012-08-201-60/+16
|\|
| * ResearchLogger log RichInputConnectionKurt Partridge2012-08-171-60/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move many ResearchLogger data collection points to RichInputConnection. By collecting data here, developers do not have to remember to keep the ResearchLog consistent with calls to the RichInputConnection. In addition, some unnecessary log points were removed, and the ResearchLogger is now independent of LatinImeLogger. multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b DO NOT MERGE Bug: 6188932 Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
* | Fix capitalization, part 1Jean Chalard2012-08-201-0/+1
|/ | | | | | | The case this fixes is typing "Ah.\n" in gmail for example Bug: 6950087 Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3
* Fix NPE in LatinIME.addToUserHistoryDictionary()Ken Wakasa2012-08-181-0/+1
| | | | | bug: 7007063 Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
* Refresh editor info when the text field attributes changes.Jean Chalard2012-08-151-5/+7
| | | | | | | | | | For some reason we get a "restarting" flag from the browser some times when the input field is different. The attributes however are not the same, so we can detect that and reload appropriately. Bug: 6946793 Change-Id: I6762dae6f41db690497b026a707d9cc89c840b34
* Fix the build.alanv2012-08-141-1/+1
| | | | Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
* Merge "Change accessibility event type for app-driven speech." into jb-mr1-devCharles Chen2012-08-141-1/+1
|\
| * Change accessibility event type for app-driven speech.alanv2012-08-101-1/+1
| | | | | | | | | | Bug: 6614400 Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
* | Update dictionary availability at onStartInputViewTadashi G. Takaoka2012-08-091-0/+1
| | | | | | | | | | | | This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
* | 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
* | Add SuggestInitializationListener to BinaryDictionary.resetMainDict()Tadashi G. Takaoka2012-08-081-1/+1
|/ | | | Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
* Lingering gesture floating preview text a bitTadashi G. Takaoka2012-08-071-37/+51
| | | | | Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
* 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
* 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
* 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-301-1/+3
| | | | | Bug: 6883053 Change-Id: I601718afb37289108b45ef68626c7c315edca35d
* 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
* | 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-251-2/+10
| | | | | 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
|\ \ | |/ |/|