aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix indent.Yohei Yukawa2014-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up for the previous commit to fix indent. BUG: 12964092 Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1
* | | | Merge "Backward compatibility hack : send delete when empty."Jean Chalard2014-02-131-1/+7
|\ \ \ \
| * | | | 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
* | | | | Remove RTL aware !code and add corresponding !textTadashi G. Takaoka2014-02-137-434/+401
| | | | | | | | | | | | | | | | | | | | Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
* | | | | Fix Armenian switch to alphabet key textTadashi G. Takaoka2014-02-131-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7963631 Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4
* | | | | Merge "Optimize KeyboardTextsTable"Tadashi G. Takaoka2014-02-131-1911/+1968
|\ \ \ \ \
| * | | | | Optimize KeyboardTextsTableTadashi G. Takaoka2014-02-131-1911/+1968
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change counts all occurrences of each string resource and sort those in descending order of the occurrence. Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
* | | | | | Merge "Fix UserHistoryDictionaryTests"Tadashi G. Takaoka2014-02-132-25/+23
|\ \ \ \ \ \
| * | | | | | Fix UserHistoryDictionaryTestsTadashi G. Takaoka2014-02-132-25/+23
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
* | | | | | Merge "Fix showing all suggestions when the top suggestion is long"Tadashi G. Takaoka2014-02-132-37/+51
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix showing all suggestions when the top suggestion is longTadashi G. Takaoka2014-02-132-37/+51
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also fixes Bug#12982404; displays the suggestion word using entire suggestions strip if there is only one suggestion. Bug: 12564279 Bug: 12982404 Change-Id: I51806b90c3ee34a2072880245d4e33f7be273c8f
* | | | | 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
|\ \ \ \ | | |_|/ | |/| |