aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/SentenceLevelAdapter.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-1/+1
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-10/+13
* Preserve spans when splitting sentences•••This CL fixes a bug that span information was unintentionally removed when given sentences are split into words. Nothing is changed in KitKat and prior because TextInfo never returns spanned text until L. Note that the spell checker service still doesn't rely on span information even with this CL. BUG: 16419551 Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba Yohei Yukawa2014-10-021-3/+2
* Fix a verifier error on ICS.•••Bug: 16530557 Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72 Jean Chalard2014-07-281-2/+9
* Use CharSequence for spell checker to keep spans preserved•••This is a ground work to take per word locale information into consideration in the spell checker. This CL is supposed to change no user visible behavior. With this CL, the spell checker session is able to read span information if necessary. BUG: 16029304 Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210 Yohei Yukawa2014-07-201-3/+6
* Split the sentences into words ourselves•••The framework's default split is not suitable for all languages. Also it does not perform very well when space is mistyped as period. Bug: 9063355 Bug: 10780091 Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a Jean Chalard2014-06-091-0/+185