aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputConnection.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make Latin IME aware of its surrounding text.Jean Chalard2012-09-121-1/+178
| | | | | | | | | This is a preparatory change for Bug: 4967874 Bug: 6617760 Bug: 6950087 Change-Id: I3abf8e45c0d02c42491421f108370220134b9602
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-211-26/+60
| | | | | | | | | | | | | | 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
* Revert "ResearchLogger log RichInputConnection"Kurt Partridge2012-08-201-60/+26
| | | | | | This reverts commit 1964ffb3f43f0ada429d13b41bd22b90a97fa9fc Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-171-26/+60
| | | | | | | | | | | | | | | | 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
* ResearchLog refactorKurt Partridge2012-07-201-0/+1
| | | | | | | | | | - new package: com.android.inputmethod.research multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc Bug: 6188932 Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
* Consolidate methods that do the same thing (A74)Jean Chalard2012-07-091-46/+24
| | | | Change-Id: I6e7c3aba2b40ecefa483c9680978bc806368e96e
* Fix a bug where the caps mode would not be changedJean Chalard2012-07-061-3/+14
| | | | | Bug: 6766059 Change-Id: I378f9d35c4904c4f373260bda5863235d833eb31
* Refactoring and groundwork to fix a bug with older appsJean Chalard2012-06-251-7/+9
| | | | | | | | | | | | | | | | | | | This has a good, although small, impact on performance : it removes a two-way IPC call in a most frequent case, while possibly adding one in a rather unfrequent and less critical case. Also, this fixes a bug with surrogate pairs. This specific branch of code now correctly handles surrogate pairs. Aside from this, it should have no impact on behavior. However, since it does delay access to the previous character in the text view by a two-way IPC call, it actually goes a long way toward fixing bug#6668226. It is not really a fix and the race condition still exists, but this change makes it much, much harder to hit. Bug: 6668226 Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
* Fix an occurrence of nested batch edits.Jean Chalard2012-06-131-12/+19
| | | | | | | | | | This is harmless, but against policy. Also, rework the checking code to be more readable, give more information, and be called for all relevant methods - and not for informative methods, which are not required to be in a batch edit. Change-Id: I03fa8b2e7d68a6a133f86be8a214671750c29256
* Move two methods in a more appropriate placeJean Chalard2012-06-121-0/+26
| | | | Change-Id: I512b04e23490413a44b1ca0517102fe2d9138df3
* Move an editing method to the RichInputConnectionJean Chalard2012-06-121-0/+23
| | | | Change-Id: Ie143ad008ca8deb1c5034cb80ec1cb28a6b0682d
* Move two editing utility methods to RichInputConnectionJean Chalard2012-06-121-0/+44
| | | | Change-Id: If8d03bea1b6369cb3043da6321048d052995d664
* Move some editing methods to RichInputConnection.Jean Chalard2012-06-081-0/+29
| | | | Change-Id: I8527776a4bd8236a85bb77f9791f9b76977ad181
* Merge RichInputConnection with EditingUtilsJean Chalard2012-06-081-5/+183
| | | | Change-Id: I9982ff325bef56694402caef28a77683c52ccd71
* Make a wrapper for the input connection.Jean Chalard2012-06-081-0/+122
The goal is to simplify the code in LatinIME.java as well as having a handy place to put debug calls to see interaction with TextView. Change-Id: I255227e7e7343e0c2f3dcd1f185e5020d6186732