aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Backward compatibility hack : send delete when empty.Jean Chalard2014-02-131-1/+7
| | | | | | | | | | | | | | | | | | | | Some apps depend on the keyboard sending something to them when the text is empty. This is BROKEN. Your app must not lie to the keyboard about what is before the cursor. If there is something to delete, you must not pretend there is not and try to catch some delete event. This will result in a bad user experience. This will not work with all IMEs. If your app needs this broken behavior, you're doing it wrong. Seriously guys, we're not in the era of typewriters any more, there are touch screens, there are gestures, there is accessibility, there are many innovative IMEs that don't have keys. Do *NOT* rely on key events. This change implements an ugly hack so that these broken apps may continue half-working with LatinIME. We are very unhappy about this. Bug: 12998568 Change-Id: Ia62ae2fbee4fee65b463acf3a79aafcfd0defa1d
* Merge "Fix a test."Jean Chalard2014-02-131-17/+29
|\
| * Fix a test.Jean Chalard2014-02-131-17/+29
| | | | | | | | | | | | | | | | | | | | This fixes two separate problems: - The word finds itself with two separate suggestion spans. This is fine for LatinIME, but it's hard to predict whether it's fine for other interested parties (other keyboards). - The test for the blue underline was incorrect. Change-Id: I3ecc849676851bf25a25238d694adaa956521a26
* | Merge "Refactor dictionary constructor"Tadashi G. Takaoka2014-02-137-59/+34
|\ \
| * | Refactor dictionary constructorTadashi G. Takaoka2014-02-137-59/+34
| | | | | | | | | | | | | | | | | | | | | This change must be checked in together with I3923d5af2a. Bug: 12994268 Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
* | | Merge "Dump settings."Jean Chalard2014-02-133-7/+108
|\ \ \ | |/ / |/| |
| * | Dump settings.Jean Chalard2014-02-123-7/+108
| |/ | | | | | | | | Bug: 10315296 Change-Id: Ieb020a23886514b3ba97611d8a6001f32b322f63
* | Merge "Cancel keydown events immediately once the view starts scrolling"Yohei Yukawa2014-02-121-0/+9
|\ \ | |/ |/|
| * Cancel keydown events immediately once the view starts scrollingYohei Yukawa2014-02-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation of this patch is to make sure a user never feel haptic feedback when scrolling the Emoji palette. In order to achieve it, EmojiPageKeyboardView#releaseCurrentKey() should be called whenever (delayed) keydown events should be canceled. This patch wires up ViewPager.OnPageChangeListener#onPageScrolled with EmojiPageKeyboardView#releaseCurrentKey() so that delayed keydown events will be canceled immediately once the ViewParger starts scrolling. BUG: 12964092 Change-Id: Iea8c3e090bb16a8622e6b4a850af2bf963aa77d0
* | Merge "Keep showing key preview even when keyboard has been changed"Tadashi G. Takaoka2014-02-121-7/+3
|\ \
| * | Keep showing key preview even when keyboard has been changedTadashi G. Takaoka2014-02-121-7/+3
| | | | | | | | | | | | | | | Bug: 12979147 Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43
* | | Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"Tadashi G. Takaoka2014-02-121-1/+2
|\| | | |/ |/|
| * Fix bug in KeyPreviewChoreographer.dismissKeyPreviewTadashi G. Takaoka2014-02-121-1/+2
| | | | | | | | | | Bug: 12979147 Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
* | Make importance notice dialog cancel ableTadashi G. Takaoka2014-02-121-1/+1
|/ | | | | Bug: 10587358 Change-Id: I7415a6f33e6b5542718164fea1555095d23233e5
* Merge "Optimize text resources' ordering a bit"Tadashi G. Takaoka2014-02-111-314/+312
|\
| * Optimize text resources' ordering a bitTadashi G. Takaoka2014-02-111-314/+312
| | | | | | | | Change-Id: I19382f1d9a4b6be173d1e9f62edd727ea987fa20
* | Merge "Get nicer output of make-keyboard-text"Tadashi G. Takaoka2014-02-111-54/+55
|\|
| * Get nicer output of make-keyboard-textTadashi G. Takaoka2014-02-111-54/+55
| | | | | | | | Change-Id: I6d30127aac2198d55b1335002f7a66b4aaebf82d
* | Revert "Display predictions when the cursor is moved after a word."Jean Chalard2014-02-101-8/+1
| | | | | | | | | | | | | | | | This change is lacking some comments and break some unit tests. It needs more work. This reverts commit 38d31a5e79c64e706e1698d2d24adb51c4ac53aa. Change-Id: I675854fd0729f2d01b7751e35c6d0117f4f88993
* | Display predictions when the cursor is moved after a word.Jean Chalard2014-02-101-1/+8
| | | | | | | | | | Bug: 12951777 Change-Id: I744b98df6679edd34ca3c1392e38597325935932
* | Merge "Show important notice strip"Jean Chalard2014-02-103-15/+35
|\ \
| * | Show important notice stripTadashi G. Takaoka2014-02-103-15/+35
| | | | | | | | | | | | | | | Bug: 10587358 Change-Id: I1af3faa59afb2fc4cb90176acff1c2b0b1ba369c
* | | Merge "Remove unused code."Keisuke Kuroyanagi2014-02-105-235/+76
|\ \ \
| * | | Remove unused code.Keisuke Kuroyanagi2014-02-105-235/+76
| | | | | | | | | | | | | | | | | | | | Bug: 12810574 Change-Id: If0ef02a984469a3b6e0c00b1c3c8d98d0d2b5466
* | | | Merge "Make PtNode have ProbabilityInfo instead of raw value."Keisuke Kuroyanagi2014-02-1011-104/+140
|\| | | | |_|/ |/| |
| * | Make PtNode have ProbabilityInfo instead of raw value.Keisuke Kuroyanagi2014-02-1011-104/+140
| | | | | | | | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
* | | Merge "Fix possible NPE while finding device override value from resource"Tadashi G. Takaoka2014-02-103-47/+21
|\ \ \
| * | | Fix possible NPE while finding device override value from resourceTadashi G. Takaoka2014-02-103-47/+21
| | | | | | | | | | | | | | | | | | | | Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
* | | | Refactor Key constructorsTadashi G. Takaoka2014-02-105-57/+60
|/ / / | | | | | | | | | | | | | | | This is a followup of I76432556ca. Change-Id: Ie2c8f7c23352a33db28e89ee8e6ebaba9eb760a3
* | | Remove unused importTadashi G. Takaoka2014-02-102-2/+0
| | | | | | | | | | | | Change-Id: I3f934de281eefb387026585e678d783a95729720
* | | Allow an empty keySpec for SpacerTadashi G. Takaoka2014-02-091-2/+4
| | | | | | | | | | | | | | | Bug: 12933248 Change-Id: I76432556caf319ce23c1fb7fa3d6b94118e64cf8
* | | Generate KeyboardTextsTable.java instead of KeyboardTextsSet.javaTadashi G. Takaoka2014-02-072-3521/+3550
| | | | | | | | | | | | Change-Id: Ic48b093dc64b514822cc9daa1ac3d79deb7af089
* | | Merge "Rename Key.keyLabel attribute to KeySpec"Tadashi G. Takaoka2014-02-075-4/+6
|\ \ \
| * | | Rename Key.keyLabel attribute to KeySpecTadashi G. Takaoka2014-02-075-4/+6
| | | | | | | | | | | | | | | | Change-Id: Ida48cd9bdbc01fefad651a005084262c0f46c41c
* | | | Merge "Consolidate keyIcon and code with keyLabel attribute"Tadashi G. Takaoka2014-02-072-13/+8
|\| | |
| * | | Consolidate keyIcon and code with keyLabel attributeTadashi G. Takaoka2014-02-072-13/+8
| | | | | | | | | | | | | | | | Change-Id: I75fbd348fab5022606ca14552eb03b15af6684c8
* | | | Merge "Decimal number is treated as outputText"Tadashi G. Takaoka2014-02-071-6/+14
|\ \ \ \
| * | | | Decimal number is treated as outputTextTadashi G. Takaoka2014-02-061-6/+14
| | | | | | | | | | | | | | | | | | | | Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
* | | | | Add debug settings for keypress popup animationsTadashi G. Takaoka2014-02-078-59/+247
| |_|_|/ |/| | | | | | | | | | | | | | | Bug: 12928125 Change-Id: I49faab754c7d1dcf4a791dfc535d3a78b62ce67a
* | | | Merge "Use native logic to read Ver4 dict."Keisuke Kuroyanagi2014-02-066-853/+105
|\ \ \ \ | | |_|/ | |/| |
| * | | Use native logic to read Ver4 dict.Keisuke Kuroyanagi2014-02-066-853/+105
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379
* | | | Merge "Implement getHeaderInfoNative."Keisuke Kuroyanagi2014-02-063-7/+15
|\| | |
| * | | Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-063-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* | | | Use SubtypeLocaleUtils.isRtlLanguageTadashi G. Takaoka2014-02-063-32/+16
|/ / / | | | | | | | | | Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
* | | Merge "Consolidate keyOutputText with keyLabel attribute"Tadashi G. Takaoka2014-02-062-6/+1
|\ \ \ | | |/ | |/|
| * | Consolidate keyOutputText with keyLabel attributeTadashi G. Takaoka2014-02-062-6/+1
| | | | | | | | | | | | Change-Id: I90ea2c9d5ce42fabc79599995a2fae1f5f652a6b
* | | Merge "Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlag"Tadashi G. Takaoka2014-02-062-4/+6
|\ \ \
| * | | Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlagTadashi G. Takaoka2014-02-062-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change must be checked in together with Iac93eb79fc. Bug: 12913520 Bug: 12179576 Change-Id: Ic9a40fb0529202893be8ccb6f5abfbbe6d78508c
* | | | Merge "Parse keyLabel for icon, code, and outputText as well"Tadashi G. Takaoka2014-02-061-11/+22
|\ \ \ \ | | |/ / | |/| |
| * | | Parse keyLabel for icon, code, and outputText as wellTadashi G. Takaoka2014-02-061-11/+22
| |/ / | | | | | | | | | Change-Id: I023915b68b4aabd056c2c1eb745876471556e15e