aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodManagerCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-02-18Update important notice version even when user select Settings•••Bug: 13060852 Change-Id: I463fdf3d51cacf99693fcde2998ea751046d1cc5 Tadashi G. Takaoka1-1/+1
2014-02-17Don't resume suggestion on links.•••Bug: 11447084 Change-Id: I5bd558b9dd85d1505aa918f44e8ac3e52ec42d97 Jean Chalard4-3/+26
2014-02-17Stop overriding InputView.dispatchTouchEvent•••Bug: 11721001 Bug: 11976254 Change-Id: I950f13ec4084da7fd9c1c25fd7abed1e5d31ed4c Tadashi G. Takaoka1-56/+63
2014-02-17Catch exceptions we can't do anything about.•••This also abstracts away the "package deactivated" case for simpler and safer code. Bug: 11072561 Change-Id: Idaaf2ae8d8d5b2c4a15de641bbf2f8c5c7cc9410 Jean Chalard4-44/+118
2014-02-17Make dotted i the base character of dotless i.•••This is already the case for the capital version, and natives Turkish speakers seem to think it should be the case. An important reason to make it so is that the Turkish keyboard has only the dotless i as a "more keys" key, so it's really hard to type words with a dotless i without this, especially those with several of them. Bug: 11519119 Change-Id: I4df2a289783e4eb3c1291b8ad0a2ba5947bf7671 Jean Chalard1-1/+2
2014-02-17Consider non-breaking spaces separators.•••Bug: 13056209 Change-Id: I6100b3ee21cf143140398757d9f7e7445067877a Jean Chalard4-4/+4
2014-02-17Stop overriding SuggestionStripView.dispatchTouchEvent•••Bug: 11721001 Bug: 11976254 Change-Id: Idfdeafe45abb16ca54be529b4f4b2c38c22a7fac Tadashi G. Takaoka1-24/+23
2014-02-17Remove unnecessary override of MainKeyboardView.dispatchTouchEvent•••Bug: 11721001 Bug: 11976254 Change-Id: I762bd9e76ea31d67b3e31c3a0a19ee9f040015b8 Tadashi G. Takaoka2-21/+0
2014-02-17Add InputMethodSubtypeCompatUtils.isAsciiCapable()•••Change-Id: I8145f090486f6fe30ef1e992db374cfba0c31012 Tadashi G. Takaoka3-6/+20
2014-02-17Don't show important notice on password field•••Bug: 10587358 Change-Id: Ieff7960e5e2b8609fddeb173af578a5d9b2c4d98 Tadashi G. Takaoka4-12/+27
2014-02-17Stop using deprecated InputMethodSubtype constructor•••The constructors of InputMethodSubtype were deprecated in API level 19. However we cannot yet switch to a new InputMethodSubtypeBuilder style due to our minimum support API level. As an intermediate solution, this patch replaces the these API calls with InputMethodSubtypeCompatUtils.newInputMethodSubtype so that these legacy API call can be consolidated at the same place. BUG: 13030512 Change-Id: I561a585f5dbea56c337680b645be5ef07015a0b1 Yohei Yukawa1-11/+20
2014-02-17Add go to "Settings" button to important notice dialog•••This CL also - removes icons on important notice title. - changes the "Personalized suggestions" summary text. This change must be checked in together with Id115d89ba9. Bug: 10587358 Change-Id: I52ff26fa8ae12445e9014ba08253f69e1be609f4 Tadashi G. Takaoka127-76/+74
2014-02-17Use the same label of switch-to-alphabet key on Emoji palette•••Bug: 12115967 Change-Id: I61cf80db933aa2ab220ddcaa88a4c9af7beeb35c Tadashi G. Takaoka4-26/+50
2014-02-17Remove key show up and dismiss animation•••Bug: 11518021 Change-Id: I4a5eb0732f399612141f7c22d83e2210da612d7e Tadashi G. Takaoka6-4/+10
2014-02-17Fix PC/QWERTY phone layout•••Bug: 13025426 Change-Id: I980832ccab7fb7700ca8b01d4f05e920b3f45582 Tadashi G. Takaoka1-0/+1
2014-02-15Remove unused code.•••Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7 Keisuke Kuroyanagi12-593/+99
2014-02-15Implement PatriciaTriePolicy::getNextWordAndNextToken().•••Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c Keisuke Kuroyanagi7-39/+212
2014-02-14Use 16sp text to show important notice title•••Bug: 10587358 Change-Id: Ib840cb71d9e87282ea0d13839dbf2a2da2081d5f Tadashi G. Takaoka1-1/+1
2014-02-14Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi9-50/+20
2014-02-14Add sanity check to KeybaordTextsTable for debugging•••Bug: 13007104 Change-Id: Id12f75da7a1c6a2a078d41721ee4016794e9dd2a Tadashi G. Takaoka3-16/+46
2014-02-14Fix a view-related crash•••Bug: 12788164 Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e Jean Chalard2-5/+14
2014-02-14Fix SpacingAndPunctuationsTests due to I2219224840•••Bug: 12640318 Change-Id: If0b0696b937c580d69cb909ddaf414d01ea2c01b Tadashi G. Takaoka1-12/+28
2014-02-14Implement PatriciaTriePolicy::getWordProperty().•••Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb Keisuke Kuroyanagi3-4/+97
2014-02-14Remove unused label_tab_key•••Change-Id: Ic10b9678c9b0ebab977589aa0093740b9c9f2d90 Tadashi G. Takaoka2-30/+25
2014-02-14Fix test resource declarations and parsing a bit•••Change-Id: I882a41b2934c48f4405f1ea5bf4d6ad41e87322c Tadashi G. Takaoka10-35/+20
2014-02-14Special punctuations for Arabic and Persian•••This change also removes duplications from tablet punctuation suggestions Bug: 12640318 Change-Id: I221922484027d6b91e2f23a6bf60a18766f3a13c Tadashi G. Takaoka6-10/+63
2014-02-14Add Kazakh (kk) subtype•••The Kazakh (kk) subtype has been temporarily disabled by Ic44ef378a9. Bug: 9698902 Change-Id: Ib2096cdf79fd45d36f5504be55f76416ba11445d Tadashi G. Takaoka1-3/+1
2014-02-14Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka16-87/+209
2014-02-14Fix reading uninitialized memory in BloomFilter.•••Bug: 12967899 Change-Id: I180b9d728c887c480b6d956bbc4599079c1c359f Keisuke Kuroyanagi1-0/+2
2014-02-14Fix null KeyDetector reference•••This change must be checked in together with I737c266c45. Bug: 13011041 Change-Id: Ia3d25be6de47fa16ab7156a25641e53a23948ff4 Tadashi G. Takaoka4-16/+9
2014-02-14Fix a null object reference crash on Emoji Palette•••Do nothing if the current EmojiPageKeyboardView is null. BUG: 13006906 Change-Id: I169b70122ec939075b5be033953b48762fd528fc Yohei Yukawa1-1/+3
2014-02-13Fix reading uninitialized memory.•••Bug: 12967899 Change-Id: Ia17e4ca9dd8c1e0b24b0fb7e73d07b97c5d81c0c Keisuke Kuroyanagi9-29/+29
2014-02-13Make InputLogicTest more robust•••Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6 Tadashi G. Takaoka5-28/+14
2014-02-13Clean-up follow-up to I3ecc8496•••Change-Id: I8db952a4152dab027e4f34bc5270bfca508d154d Jean Chalard1-5/+5
2014-02-13Backward compatibility hack : send delete when empty.•••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 Jean Chalard1-1/+7
2014-02-13Remove RTL aware !code and add corresponding !text•••Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b Tadashi G. Takaoka19-516/+507
2014-02-13Fix Armenian switch to alphabet key text•••Bug: 7963631 Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4 Tadashi G. Takaoka2-3/+15
2014-02-13Optimize KeyboardTextsTable•••This change counts all occurrences of each string resource and sort those in descending order of the occurrence. Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9 Tadashi G. Takaoka4-1967/+2072
2014-02-13Fix UserHistoryDictionaryTests•••Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837 Tadashi G. Takaoka3-79/+70
2014-02-13Fix showing all suggestions when the top suggestion is long•••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 Tadashi G. Takaoka2-37/+51
2014-02-13Fix a test.•••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 Jean Chalard2-19/+31
2014-02-13Refactor dictionary constructor•••This change must be checked in together with I3923d5af2a. Bug: 12994268 Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de Tadashi G. Takaoka7-59/+34
2014-02-12Import translations. DO NOT MERGE•••Change-Id: Ibf72865a393c8e5e41ef6420e7131bbcddfb18e5 Auto-generated-cl: translation import Baligh Uddin34-743/+383
2014-02-12Import translations. DO NOT MERGE•••Change-Id: I54170dbd991b10f1a037318adcc766ead114ea27 Auto-generated-cl: translation import Baligh Uddin34-743/+383
2014-02-13Fix indent.•••This is a follow up for the previous commit to fix indent. BUG: 12964092 Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1 Yohei Yukawa1-1/+1
2014-02-12Fix a failing test.•••A replay of that old, horribly hard-to-find bug: we post a resume message during onStartInputView, so we need to process it before we start the test. But now the message is posted with a delay, so we need to wait for the delay... Change-Id: I843d70e636fa51a68aadbdbbaa73b1711ad7bddd Jean Chalard1-1/+3
2014-02-12Dump settings.•••Bug: 10315296 Change-Id: Ieb020a23886514b3ba97611d8a6001f32b322f63 Jean Chalard3-7/+108
2014-02-12Cancel keydown events immediately once the view starts scrolling•••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 Yohei Yukawa1-0/+9
2014-02-12Show the suggestion strip for the important notice•••Bug: 10587358 Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4 Jean Chalard3-6/+9
2014-02-12Keep showing key preview even when keyboard has been changed•••Bug: 12979147 Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43 Tadashi G. Takaoka1-7/+3