aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Auto correct on gesture when typed word is 1 char longJean Chalard2012-09-201-1/+12
| | | | | Bug: 7178462 Change-Id: I779d8ee4a957a9d1fdcc80d33257a98965dec7b8
* Log for geometric inputSatoshi Kataoka2012-09-191-10/+34
| | | | Change-Id: Ia0f0e38086b0be70cf2d04fc6fae48358f16e74f
* Mark 2 resolved TODOS as such (A14)Jean Chalard2012-09-181-2/+2
| | | | Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da
* Remove useless code (A12)Jean Chalard2012-09-181-13/+0
| | | | | | | | All this code is done inside the StringUtils or RichInputConnection classes, where it's more logical. Since the IPC call is entirely gone now, it's no use having these guards inside Latin IME. Change-Id: Id324567e7458aed12b6f21d7114be3bd39725f15
* Take space state into account for caps (A11)Jean Chalard2012-09-181-8/+10
| | | | | Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
* Take locale into account for caps (A10)Jean Chalard2012-09-141-1/+1
| | | | | Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
* Merge "Do not auto-correct upon starting a gesture." into jb-mr1-devJean Chalard2012-09-141-1/+1
|\
| * Do not auto-correct upon starting a gesture.Jean Chalard2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | We decided to revert this UI decision after negative feedback. Indeed, if you use to gesture but tap just one word, chances are it's because you know you do NOT want a dictionary word. Bug: 6965241 Change-Id: I85fdfab3c1cf1d3c0fd3e95908e01bdf56bccbba
* | Merge "Fix a bug with open parens and some other chars" into jb-mr1-devJean Chalard2012-09-141-1/+2
|\ \
| * | Fix a bug with open parens and some other charsJean Chalard2012-09-141-1/+2
| |/ | | | | | | | | | | | | | | A space would be inserted after an open parenthesis if it's typed after a manual pick. Bug: 7167687 Change-Id: Ic49d09c34747117ccfbdbb8c66f634d88d4a45b0
* / Asynchronously look up dictionary for gesture inputTadashi G. Takaoka2012-09-141-72/+153
|/ | | | | Bug: 7149248 Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280
* Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-devJean Chalard2012-09-131-2/+2
|\
| * Import TextUtils.getCapsMode to fix it internally (A1)Jean Chalard2012-09-131-2/+2
| | | | | | | | | | | | | | | | | | This should have on effect at all on behavior, except an increase in performance. Bug: 4967874 Bug: 6950087 Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d
* | Make onUpdateSelection much more resilient to race conditions.Jean Chalard2012-09-131-1/+2
|/ | | | | | | | | This is pretty much as strong as it gets. It should be impossible to get false positives and nearly impossible to get true negatives with this new code. Bug: 6981089 Change-Id: Ia32ab62f89c5943f0be169b979abab652e67bf5b
* 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