aboutsummaryrefslogtreecommitdiffstats
path: root/java (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-17Consider non-breaking spaces separators.Jean Chalard4-4/+4
Bug: 13056209 Change-Id: I6100b3ee21cf143140398757d9f7e7445067877a
2014-02-17Stop overriding SuggestionStripView.dispatchTouchEventTadashi G. Takaoka1-24/+23
Bug: 11721001 Bug: 11976254 Change-Id: Idfdeafe45abb16ca54be529b4f4b2c38c22a7fac
2014-02-17Remove unnecessary override of MainKeyboardView.dispatchTouchEventTadashi G. Takaoka2-21/+0
Bug: 11721001 Bug: 11976254 Change-Id: I762bd9e76ea31d67b3e31c3a0a19ee9f040015b8
2014-02-17Add InputMethodSubtypeCompatUtils.isAsciiCapable()Tadashi G. Takaoka3-6/+20
Change-Id: I8145f090486f6fe30ef1e992db374cfba0c31012
2014-02-17Don't show important notice on password fieldTadashi G. Takaoka4-12/+27
Bug: 10587358 Change-Id: Ieff7960e5e2b8609fddeb173af578a5d9b2c4d98
2014-02-17Stop using deprecated InputMethodSubtype constructorYohei Yukawa1-11/+20
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
2014-02-17Add go to "Settings" button to important notice dialogTadashi G. Takaoka127-76/+74
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
2014-02-17Use the same label of switch-to-alphabet key on Emoji paletteTadashi G. Takaoka4-26/+50
Bug: 12115967 Change-Id: I61cf80db933aa2ab220ddcaa88a4c9af7beeb35c
2014-02-17Remove key show up and dismiss animationTadashi G. Takaoka6-4/+10
Bug: 11518021 Change-Id: I4a5eb0732f399612141f7c22d83e2210da612d7e
2014-02-17Fix PC/QWERTY phone layoutTadashi G. Takaoka1-0/+1
Bug: 13025426 Change-Id: I980832ccab7fb7700ca8b01d4f05e920b3f45582
2014-02-15Remove unused code.Keisuke Kuroyanagi12-593/+99
Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
2014-02-15Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi7-39/+212
Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
2014-02-14Use 16sp text to show important notice titleTadashi G. Takaoka1-1/+1
Bug: 10587358 Change-Id: Ib840cb71d9e87282ea0d13839dbf2a2da2081d5f
2014-02-14Remove unused argument from readDictionaryBinary.Keisuke Kuroyanagi9-50/+20
Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
2014-02-14Add sanity check to KeybaordTextsTable for debuggingTadashi G. Takaoka3-16/+46
Bug: 13007104 Change-Id: Id12f75da7a1c6a2a078d41721ee4016794e9dd2a
2014-02-14Fix a view-related crashJean Chalard2-5/+14
Bug: 12788164 Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e
2014-02-14Fix SpacingAndPunctuationsTests due to I2219224840Tadashi G. Takaoka1-12/+28
Bug: 12640318 Change-Id: If0b0696b937c580d69cb909ddaf414d01ea2c01b
2014-02-14Implement PatriciaTriePolicy::getWordProperty().Keisuke Kuroyanagi3-4/+97
Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb
2014-02-14Remove unused label_tab_keyTadashi G. Takaoka2-30/+25
Change-Id: Ic10b9678c9b0ebab977589aa0093740b9c9f2d90
2014-02-14Fix test resource declarations and parsing a bitTadashi G. Takaoka10-35/+20
Change-Id: I882a41b2934c48f4405f1ea5bf4d6ad41e87322c
2014-02-14Special punctuations for Arabic and PersianTadashi G. Takaoka6-10/+63
This change also removes duplications from tablet punctuation suggestions Bug: 12640318 Change-Id: I221922484027d6b91e2f23a6bf60a18766f3a13c
2014-02-14Add Kazakh (kk) subtypeTadashi G. Takaoka1-3/+1
The Kazakh (kk) subtype has been temporarily disabled by Ic44ef378a9. Bug: 9698902 Change-Id: Ib2096cdf79fd45d36f5504be55f76416ba11445d
2014-02-14Add PunctuationSuggestions classTadashi G. Takaoka16-87/+209
This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
2014-02-14Fix reading uninitialized memory in BloomFilter.Keisuke Kuroyanagi1-0/+2
Bug: 12967899 Change-Id: I180b9d728c887c480b6d956bbc4599079c1c359f
2014-02-14Fix null KeyDetector referenceTadashi G. Takaoka4-16/+9
This change must be checked in together with I737c266c45. Bug: 13011041 Change-Id: Ia3d25be6de47fa16ab7156a25641e53a23948ff4
2014-02-14Fix a null object reference crash on Emoji PaletteYohei Yukawa1-1/+3
Do nothing if the current EmojiPageKeyboardView is null. BUG: 13006906 Change-Id: I169b70122ec939075b5be033953b48762fd528fc
2014-02-13Fix reading uninitialized memory.Keisuke Kuroyanagi9-29/+29
Bug: 12967899 Change-Id: Ia17e4ca9dd8c1e0b24b0fb7e73d07b97c5d81c0c
2014-02-13Make InputLogicTest more robustTadashi G. Takaoka5-28/+14
Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
2014-02-13Clean-up follow-up to I3ecc8496Jean Chalard1-5/+5
Change-Id: I8db952a4152dab027e4f34bc5270bfca508d154d
2014-02-13Backward compatibility hack : send delete when empty.Jean Chalard1-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
2014-02-13Remove RTL aware !code and add corresponding !textTadashi G. Takaoka19-516/+507
Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
2014-02-13Fix Armenian switch to alphabet key textTadashi G. Takaoka2-3/+15
Bug: 7963631 Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4
2014-02-13Optimize KeyboardTextsTableTadashi G. Takaoka4-1967/+2072
This change counts all occurrences of each string resource and sort those in descending order of the occurrence. Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
2014-02-13Fix UserHistoryDictionaryTestsTadashi G. Takaoka3-79/+70
Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
2014-02-13Fix showing all suggestions when the top suggestion is longTadashi G. Takaoka2-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
2014-02-13Fix a test.Jean Chalard2-19/+31
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
2014-02-13Refactor dictionary constructorTadashi G. Takaoka7-59/+34
This change must be checked in together with I3923d5af2a. Bug: 12994268 Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
2014-02-12Import translations. DO NOT MERGEBaligh Uddin34-743/+383
Change-Id: Ibf72865a393c8e5e41ef6420e7131bbcddfb18e5 Auto-generated-cl: translation import
2014-02-12Import translations. DO NOT MERGEBaligh Uddin34-743/+383
Change-Id: I54170dbd991b10f1a037318adcc766ead114ea27 Auto-generated-cl: translation import
2014-02-13Fix indent.Yohei Yukawa1-1/+1
This is a follow up for the previous commit to fix indent. BUG: 12964092 Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1
2014-02-12Fix a failing test.Jean Chalard1-1/+3
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
2014-02-12Dump settings.Jean Chalard3-7/+108
Bug: 10315296 Change-Id: Ieb020a23886514b3ba97611d8a6001f32b322f63
2014-02-12Cancel keydown events immediately once the view starts scrollingYohei Yukawa1-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
2014-02-12Show the suggestion strip for the important noticeJean Chalard3-6/+9
Bug: 10587358 Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4
2014-02-12Keep showing key preview even when keyboard has been changedTadashi G. Takaoka1-7/+3
Bug: 12979147 Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43
2014-02-12Fix bug in KeyPreviewChoreographer.dismissKeyPreviewTadashi G. Takaoka1-1/+2
Bug: 12979147 Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
2014-02-12Increase CHAR LIMIT for personalized setting.Keisuke Kuroyanagi1-1/+1
Bug: 12189366 Change-Id: I19764b3aaf97319ac841460ac2a6ab1571d3ea2b
2014-02-12Make importance notice dialog cancel ableTadashi G. Takaoka1-1/+1
Bug: 10587358 Change-Id: I7415a6f33e6b5542718164fea1555095d23233e5
2014-02-11Optimize text resources' ordering a bitTadashi G. Takaoka2-316/+314
Change-Id: I19382f1d9a4b6be173d1e9f62edd727ea987fa20
2014-02-11Get nicer output of make-keyboard-textTadashi G. Takaoka5-67/+97
Change-Id: I6d30127aac2198d55b1335002f7a66b4aaebf82d