aboutsummaryrefslogtreecommitdiffstats
path: root/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogleBaligh Uddin2014-02-2157-114/+57
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-02-2157-114/+57
| | | | | | | | | | Change-Id: I4462c7843b545f0fe89048795a82b523431b4498 Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogleBaligh Uddin2014-02-212-16/+17
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2014-02-212-16/+17
| |/ | | | | | | | | Change-Id: I94281a7f09ed6b718915c942d20936967b805f53 Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogleBaligh Uddin2014-02-211-4/+4
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2014-02-211-4/+4
| |/ | | | | | | | | Change-Id: I3f7e04ccd7954e9842f8dc7ff34acd591dd3dbbd Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogleBaligh Uddin2014-02-2157-141/+84
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2014-02-2157-141/+84
| |/ | | | | | | | | Change-Id: I6a4d31a53e63b85598e77d662fccbea9cbab877e Auto-generated-cl: translation import
* | am 296adf57: Merge "Change a heuristic and add a log."Jean Chalard2014-02-212-3/+5
|\ \ | | | | | | | | | | | | * commit '296adf5710fed09eb0b5e038ef2ce6f55914c8f6': Change a heuristic and add a log.
| * \ Merge "Change a heuristic and add a log."Jean Chalard2014-02-212-3/+5
| |\ \
| | * | Change a heuristic and add a log.Jean Chalard2014-02-202-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The heuristic in RichInputConnection makes little sense when textLength > mExpectedSelStart but we have more than 1024 characters of text. If there are that many, it's about 100% sure that 1024 is not the correct cursor position. With no good guess, we'll just continue trusting the app, even though we know it's lying : at least it will make the problem visible to the app author. Also, there have been a lot of confusion about initialSelStart and initialSelEnd. The keyboard should log them so that it helps us and editor authors debug more easily these common problems. Issue #65170 in AOSP and Bug: 12772035 Change-Id: I6665a16c9f2832d33ee323f033bb38bcc092a3b4
* | | | am 1269ae31: Merge "Change make-keyboard-text -java option to point ↵Tadashi G. Takaoka2014-02-211-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | LatinIME/java directory" * commit '1269ae31445ce46986638af8e5bb8ecab3db0915': Change make-keyboard-text -java option to point LatinIME/java directory
| * | | Merge "Change make-keyboard-text -java option to point LatinIME/java directory"Tadashi G. Takaoka2014-02-211-2/+3
| |\ \ \
| | * | | Change make-keyboard-text -java option to point LatinIME/java directoryTadashi G. Takaoka2014-02-211-2/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I812713da5918049c0e504e48bd0693df2f7bf46d
* | | | | am bb6b978a: Merge "Fix: file descriptor leaking."Keisuke Kuroyanagi2014-02-212-22/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'bb6b978a190e552eefa31426595db93705d50c1f': Fix: file descriptor leaking.
| * | | | Merge "Fix: file descriptor leaking."Keisuke Kuroyanagi2014-02-212-22/+32
| |\ \ \ \
| | * | | | Fix: file descriptor leaking.Keisuke Kuroyanagi2014-02-212-22/+32
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File descriptors will be closed in BinaryDictionary.finalize(); but, this leads to unit test fails. Bug: 13066902 Change-Id: I2b0d3e54ee91fa844530df54596f86bbbbac81a5
* | | | | am bf075b21: Merge "Don\'t trim newer inputpointers with old data"Jean Chalard2014-02-211-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'bf075b21a1b85c9aa382276e95d3986d3d6d5b1d': Don't trim newer inputpointers with old data
| * | | | Merge "Don't trim newer inputpointers with old data"Jean Chalard2014-02-211-0/+2
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Don't trim newer inputpointers with old dataJean Chalard2014-02-211-0/+2
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a mechanism to avoid this crash, but it wasn't used every time it needed to. It's possible that ending a batch input and starting a batch input happen while suggestions are being pulled out, which would result in pointers that have been reset being passed for trimming. Just increasing the sequence number should get rid of the problem. Bug: 12178124 Change-Id: I36ef3bc8a78679bc09daa39e665f5ce1bab50c2a
* | | | am ad508d02: Merge "Remove corrupted ver4 dictionaries."Keisuke Kuroyanagi2014-02-212-10/+38
|\| | | | | | | | | | | | | | | | | | | * commit 'ad508d029f7fbd225f41f3b2a0b7134bd90c37ba': Remove corrupted ver4 dictionaries.
| * | | Merge "Remove corrupted ver4 dictionaries."Keisuke Kuroyanagi2014-02-212-10/+38
| |\ \ \
| | * | | Remove corrupted ver4 dictionaries.Keisuke Kuroyanagi2014-02-212-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 12916055 Change-Id: I2c390ab1dc483915691b47a605772cbc2dfeaf09
* | | | | am d73044a2: Add ImportantNoticeDialogTadashi G. Takaoka2014-02-202-45/+93
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'd73044a2494873a4abe0d4da208533164314d2f0': Add ImportantNoticeDialog
| * | | | Add ImportantNoticeDialogTadashi G. Takaoka2014-02-212-45/+93
| | | | | | | | | | | | | | | | | | | | Change-Id: Icaeb7dddd16362cd4a6384d295f89c7fbabc8b35
* | | | | am fe39d576: Support versioned important noticeTadashi G. Takaoka2014-02-203-22/+38
|\| | | | | |_|_|/ |/| | | | | | | | | | | * commit 'fe39d576dcd515d7fcd678a2ed6a621185cc69e3': Support versioned important notice
| * | | Support versioned important noticeTadashi G. Takaoka2014-02-213-22/+38
| | |/ | |/| | | | | | | | | | | | | | | | This change must be checked in together with If38a754d00. Bug: 10587358 Change-Id: I91580f9468bc5ee7ed1694d7852a60dc6793dac0
* | | am 1b3a142c: Merge "Fix a bug where suggestions would not be updated."Jean Chalard2014-02-201-14/+33
|\| | | | | | | | | | | | | | * commit '1b3a142cace93ab22064ae5cf5f2d2ff7635ae9e': Fix a bug where suggestions would not be updated.
| * | Merge "Fix a bug where suggestions would not be updated."Jean Chalard2014-02-201-14/+33
| |\ \
| | * | Fix a bug where suggestions would not be updated.Jean Chalard2014-02-201-14/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix a small cosmetic bug where the suggestion strip would flash. Bug: 12951777 Change-Id: I68b7bb9175571de9c718f737eebd9f67ea04a931
* | | | am a118d19f: Merge "Don\'t distrust the cursor pos so much as to bug on IPC ↵Jean Chalard2014-02-202-17/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | delay" * commit 'a118d19f6c2ad1e6f6bfe34b0ce022e961da4f02': Don't distrust the cursor pos so much as to bug on IPC delay
| * | | Merge "Don't distrust the cursor pos so much as to bug on IPC delay"Jean Chalard2014-02-202-17/+6
| |\ \ \ | | |_|/ | |/| |
| | * | Don't distrust the cursor pos so much as to bug on IPC delayJean Chalard2014-02-202-17/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the cursor is moved by the user, the RichInputConnection is told about it. However, to work around a framework bug, it also looks at how many characters are in the buffer before the cursor, and if that's more than the value it's been passed, it deduces that's a framework bug and there are at least as many characters as seen before the cursor, so it puts the expected cursor position there. When you move the cursor, TextView calls onUpdateSelection, and when you move it fast, you'll get rapid-fire calls to onUpdateSelection. This is fine, the RIC is equipped to deal with that. However, these calls take some time to make it to the IME. In this instance, when the first call gets through and the IME calls TextView (synchronously) for text before the cursor, the cursor has already moved in the app, and TextView returns more characters than the cursor position was declared to be in this instance, so the RIC sets that as the expected cursor position. Sure enough, a split second later, the second call to onUpdateSelection arrives, with the new cursor position set where the RIC had found it too early. The RIC takes that as an "expected" cursor move, and the input does not get reset. Luckily, we have a way out. As far as we know, the framework bug only manifests itself upon rotation, which means we should only have to adjust for it in onStartInputView. Doing it in onUpdateSelection is too zealous (and probably too distrustful of the app to send the correct cursor positions). So we should just take care of the rotation case (by calling tryFixLyingCursorPosition in onStartInputView) and remove the compensating code in resetCachesUponCursorMoves. Bug: 12982502 Change-Id: Ic3c1408a1ec45deaea63b01d98376a79ae567d77
* | | am e03e4257: Merge "Add test only methods to test personalized dicts."Keisuke Kuroyanagi2014-02-202-2/+28
|\| | | | | | | | | | | | | | * commit 'e03e4257f1dc727db383bd56097eb60eeae7ceb8': Add test only methods to test personalized dicts.
| * | Add test only methods to test personalized dicts.Keisuke Kuroyanagi2014-02-202-2/+28
| | | | | | | | | | | | | | | Bug: 11122480 Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c
* | | am 485c1ec6: Merge "Add final and volatile for members of InputLogic."Keisuke Kuroyanagi2014-02-201-2/+3
|\| | | | | | | | | | | | | | * commit '485c1ec685e6822bf244ef68ba80c1cbda895dc4': Add final and volatile for members of InputLogic.
| * | Merge "Add final and volatile for members of InputLogic."Keisuke Kuroyanagi2014-02-201-2/+3
| |\ \
| | * | Add final and volatile for members of InputLogic.Keisuke Kuroyanagi2014-02-201-2/+3
| | | | | | | | | | | | | | | | | | | | Bug: 13107471 Change-Id: I47df79bc6f015c212d1b6d2f63b2efc5da24294e
* | | | am afdb6f01: Merge "Add user history dictionary decaying test."Keisuke Kuroyanagi2014-02-201-2/+2
|\| | | | | | | | | | | | | | | | | | | * commit 'afdb6f011ba89cb967fbf3b9e4f4d0411b648361': Add user history dictionary decaying test.
| * | | Merge "Add user history dictionary decaying test."Keisuke Kuroyanagi2014-02-201-2/+2
| |\ \ \
| | * | | Add user history dictionary decaying test.Keisuke Kuroyanagi2014-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10667710 Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247
* | | | | am a514ea7e: Merge "Check all enabled IME\'s subtypes to enable ↵Keisuke Kuroyanagi2014-02-202-6/+22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | personalization." * commit 'a514ea7e1b39defc0a28b1acca00a2886478b0ed': Check all enabled IME's subtypes to enable personalization.
| * | | | Merge "Check all enabled IME's subtypes to enable personalization."Keisuke Kuroyanagi2014-02-202-6/+22
| |\ \ \ \
| | * | | | Check all enabled IME's subtypes to enable personalization.Keisuke Kuroyanagi2014-02-202-6/+22
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13067743 Change-Id: I6fc68b5151430a5ab51777f4c381e20f5a657924
* | | | | am d10e2d85: Merge "Throw IOException when dict header cannot be read."Keisuke Kuroyanagi2014-02-201-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'd10e2d85afefb420ff88528cdb3f3b2fe676c857': Throw IOException when dict header cannot be read.
| * | | | Merge "Throw IOException when dict header cannot be read."Keisuke Kuroyanagi2014-02-201-0/+4
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Throw IOException when dict header cannot be read.Keisuke Kuroyanagi2014-02-201-0/+4
| | |/ / | | | | | | | | | | | | | | | | Bug: 13106638 Change-Id: Ib48ef0a191a436552c49b6e817dfa13fe1567ae8
* | | | am 475f9f35: Merge "Comments improvements"Jean Chalard2014-02-201-2/+2
|\| | | | | | | | | | | | | | | | | | | * commit '475f9f35b61f9dfe8a15cf274a60e8fd073d9df9': Comments improvements
| * | | Merge "Comments improvements"Jean Chalard2014-02-201-2/+2
| |\ \ \
| | * | | Comments improvementsJean Chalard2014-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typo fixes and clarifications Change-Id: I0f7e0b6e665232bb995172fff10521c7f17599eb