aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where no URL means refresh never endsJean Chalard2013-07-013-10/+29
| | | | | | | | | | | This patch does two things: - If there is no URL to download new data from, then the Refresh button is not shown. - Even if for some reason refresh starts for a client for which there is no URL, loading correctly finishes. Bug: 9388602 Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
* Merge "Record number of words entered"Kurt Partridge2013-06-281-16/+10
|\
| * Record number of words enteredKurt Partridge2013-06-271-16/+10
| | | | | | | | | | | | | | | | This change records the number of words entered in every LogUnit. This metric is helpful for determining how much multi-word gestures and spaceless tapping is used. Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
* | Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"Jean Chalard2013-06-282-8/+2
|\ \
| * | Fix a bug where AOSP Latin IME would not fill dictionariesJean Chalard2013-06-282-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason not to contact the dictionary provider when we don't have internet permission or when the URL is empty. It knows how to handle both these cases. Bug: 9388602 Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
* | | Fix some warningsJean Chalard2013-06-277-15/+1
|/ / | | | | | | | | | | Mostly remove unused imports Change-Id: If8ceffdfad79b78194094527759f5c334746973e
* | Improve the language list in the personal dictionarySatoshi Kataoka2013-06-271-7/+2
| | | | | | | | | | Bug: 9117704 Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
* | Merge "Open an API in ExternalDictionaryGetterForDebug"Satoshi Kataoka2013-06-271-4/+24
|\ \
| * | Open an API in ExternalDictionaryGetterForDebugSatoshi Kataoka2013-06-271-4/+24
| | | | | | | | | | | | | | | | | | and extend it Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
* | | Use internal personal dictionary settings on JBMR2 or beforeSatoshi Kataoka2013-06-272-11/+44
|/ / | | | | | | | | Bug: 9117704 Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
* | Merge "Ignore spans that are not the right size."Jean Chalard2013-06-272-16/+72
|\ \
| * | Ignore spans that are not the right size.Jean Chalard2013-06-262-16/+72
| |/ | | | | | | | | | | Bug: 8839763 Bug: 8862327 Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
* | Merge "Resume suggestion at start input"Jean Chalard2013-06-261-0/+1
|\ \ | |/ |/|
| * Resume suggestion at start inputJean Chalard2013-06-251-0/+1
| | | | | | | | | | Bug: 9568410 Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
* | Merge "Readability improvement"Jean Chalard2013-06-261-2/+6
|\ \
| * | Readability improvementJean Chalard2013-06-261-2/+6
| | | | | | | | | | | | Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
* | | Merge "Fixing follow-up to I548d899b"Jean Chalard2013-06-262-9/+7
|\| |
| * | Fixing follow-up to I548d899bJean Chalard2013-06-262-9/+7
| |/ | | | | | | | | | | | | | | | | | | I548d899b introduced a new method to fix a sync miss between the cursor position and the cached cursor position, but did not take into account that it should also update the cached text before and after the cursor in this case and that there was already a method for doing this. Change-Id: I31bd741893207c822827304e77791b1159774e1a
* / Add jni methods for dynamically handling a dictionary.Keisuke Kuroynagi2013-06-261-1/+5
|/ | | | | Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
* Merge "Make UserLogRingCharBuffer an external class"Ken Wakasa2013-06-254-125/+140
|\
| * Make UserLogRingCharBuffer an external classKen Wakasa2013-06-254-125/+140
| | | | | | | | Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
* | Merge "Fix the one-suggestion case."Jean Chalard2013-06-251-22/+36
|\ \
| * | Fix the one-suggestion case.Jean Chalard2013-06-251-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there is only one suggestion, this code does not work. The reason for that is, it's not homogeneous at all and takes indices of one thing into another. Not completely related to b/8839763, but realized working on this and needed to have it addressed. Bug: 8839763 Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
* | | Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."Keisuke Kuroynagi2013-06-253-8/+12
|\ \ \ | |_|/ |/| |
| * | Add a parameter isUpdatable to the constructor of BinaryDictionary.Keisuke Kuroynagi2013-06-253-8/+12
| |/ | | | | | | | | Bug: 6669677 Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
* | Merge "Cleanup under the utils package"Ken Wakasa2013-06-258-78/+64
|\ \ | |/ |/|
| * Cleanup under the utils packageKen Wakasa2013-06-258-78/+64
| | | | | | | | Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
* | Merge "Allow mmapping dictionary file in writable mode in openNative."Keisuke Kuroynagi2013-06-251-2/+3
|\ \ | |/ |/|
| * Allow mmapping dictionary file in writable mode in openNative.Keisuke Kuroynagi2013-06-251-2/+3
| | | | | | | | | | Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
* | Merge "Fix a bug in the cached cursor pos, and simplify selection handling"Jean Chalard2013-06-252-10/+14
|\ \ | |/ |/|
| * Fix a bug in the cached cursor pos, and simplify selection handlingJean Chalard2013-06-212-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation for setComposingRegion states explicitly that it does not move the cursor. This is just a bug. This does not have any ill effects right now, but it will have in later changes if not fixed. As for the selection handling, the specific test that this code removes used to serve a purpose, but it does not any more because the code using the value has been much sanitized. Now the variable can just take the obvious value, and become so self-explanatory that the comments are unnecessary. Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
* | Merge "Move splash screen to separate file"Kurt Partridge2013-06-242-64/+127
|\ \
| * | Move splash screen to separate fileKurt Partridge2013-06-222-64/+127
| | | | | | | | | | | | Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
* | | Merge "Fix a small bug"Jean Chalard2013-06-241-4/+4
|\ \ \
| * | | Fix a small bugJean Chalard2013-06-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SpannableStrings are not the only type of Spanned, they are only the mutable kind. SpannedString is the immutable one. Spanned is the correct class to use there. Bug: 8839763 Bug: 8862327 Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
* | | | Load the native lib eagerlyKen Wakasa2013-06-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the hope of avoiding UnsatisfiedLinkError. This is definitely not a confident fix as we still don't know the root cause of the issue. bug: 9325110 Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
* | | | Merge "Move util classes to the latin/utils directory"Ken Wakasa2013-06-24111-217/+316
|\ \ \ \
| * | | | Move util classes to the latin/utils directoryKen Wakasa2013-06-24111-217/+316
| | | | | | | | | | | | | | | | | | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* | | | | Merge "Fix possible divided by zeror error"Tadashi G. Takaoka2013-06-241-13/+7
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Fix possible divided by zeror errorTadashi G. Takaoka2013-06-241-13/+7
| |/ / / | | | | | | | | | | | | | | | | Bug: 9534022 Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
* / / / Refactor text range to be able to get spans larger than the wordJean Chalard2013-06-242-26/+34
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This changes how the Range class stores its data, but not its functionality. It also improves encapsulation a bit. Bug: 8839763 Bug: 8862327 Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
* | | Merge "Defer disk-intensive tasks until after the keyboard is shown"Jean Chalard2013-06-211-9/+33
|\ \ \
| * | | Defer disk-intensive tasks until after the keyboard is shownJean Chalard2013-06-211-9/+33
| | |/ | |/| | | | | | | | | | Bug: 8689779 Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
* / | Fix punctuations stripTadashi G. Takaoka2013-06-212-5/+14
|/ / | | | | | | | | Bug: 9508186 Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
* | Merge "Add tests to dicttool test."Jean Chalard2013-06-203-59/+82
|\ \ | |/ |/|
| * Add tests to dicttool test.Jean Chalard2013-06-203-59/+82
| | | | | | | | | | Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
* | Use system default key press volumeTadashi G. Takaoka2013-06-181-0/+3
| | | | | | | | | | Bug: 9475973 Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
* | Use system default vibration patternTadashi G. Takaoka2013-06-181-0/+3
| | | | | | | | | | Bug: 9468462 Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
* | Merge "Optimize ProximityInfo#computeNearestNeighbors()"Jean Chalard2013-06-181-17/+110
|\ \
| * | Optimize ProximityInfo#computeNearestNeighbors()Jean Chalard2013-06-181-17/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cuts the time spent in computeNearestNeigbors by a factor of 6 to 20, with an average at about 8. This method representing about 25% of the total time spent when switching keyboards, this change is a 20% improvement in layout switching time. Bug: 8689779 Change-Id: Icb465f6010b317c7156057891c3341e51a198688