aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-06-13Make accessibility long press timeout longer•••The previous time out was 1500 milliseconds that wasn't enough for announcing some accented letters, for example "Ü". This CL makes the time out to 3000 milliseconds. BUG: 15582951 Change-Id: I9bf864389c359e3b9abfe5000b897cf742a8dbe7 Tadashi G. Takaoka1-1/+1
2014-06-13Fix NPE by disabling key preview popup of Emoji palette•••Bug: 15579928 Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a Tadashi G. Takaoka4-7/+10
2014-06-11Fix logic to show suggestions•••Bug: 15531465 Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2 Tadashi G. Takaoka2-6/+13
2014-06-12Block offensive words in native code.•••Bug: 15300452 Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf Keisuke Kuroyanagi4-16/+26
2014-06-13Use MoreKeysDetector for accessibility•••A more keys keyboard may have a divider on it. The MoreKeysDetector should be used even with accessibility mode on to be able to handle a divider. Bug: 15583354 Change-Id: Ife2cf8304496c4c330127fde8ca1f34c2f0838e2 Tadashi G. Takaoka2-13/+4
2014-06-12Update unit test for beginning-of-sentence.•••Bug: 14119293 Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb Keisuke Kuroyanagi2-12/+25
2014-06-12Enable Beginning-of-Sentence prediction for contextual dict.•••Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2 Keisuke Kuroyanagi5-2/+43
2014-06-12Add jni method for removeUnigramEntry().•••Bug: 15552347 Change-Id: Iadcdc73d3335d561a27b9314d3fcdab0b0c96e49 Keisuke Kuroyanagi2-0/+31
2014-06-12Add removeUnigramEntry() to native dictionary policy.•••Bug: 15552347 Change-Id: Ic713f79ef26b5963060304df9c0a3a402c3cc6d4 Keisuke Kuroyanagi7-0/+28
2014-06-13Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"•••This reverts commit 1690992d1b5e37f21edb3040d5b939bd0f713efc. Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b. We no longer need this workaround. Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056 Yohei Yukawa1-13/+4
2014-06-11Fix: Wrong name for ContextualDictionary.•••Bug: 15557070 Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0 Keisuke Kuroyanagi1-1/+1
2014-06-10Make dump dictionary settings easily extensible.•••This adds "Dump contextual dictionary". Bug: 14161647 Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346 Keisuke Kuroyanagi4-45/+23
2014-06-10Special case periods in the spell checker•••Special case <valid word>.<valid word> to send as a suggestion the same string where the periods is replaced by a space. Bug: 10780091 Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974 Jean Chalard3-1/+37
2014-06-10Purge dict reading code for 401 and create for 402.•••Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb Keisuke Kuroyanagi42-319/+331
2014-06-10Add prefix to the arguments of getDictionary().•••Bug: 13630847 Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc Keisuke Kuroyanagi6-21/+24
2014-06-10Update dictionaries•••>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1400639634 <=> 1402373154 version : 45 <=> 47 Body : Shortcut added: lust list 15 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1400750526 <=> 1402373154 version : 45 <=> 47 Body : Shortcut added: lust list 15 >>> dictionaries/en_wordlist.combined.gz Header : date : 1400639659 <=> 1402373178 version : 45 <=> 47 Body : Shortcut added: lust list 15 >>> java/res/raw/main_en.dict Header : date : 1400639659 <=> 1402373178 version : 45 <=> 47 Body : Shortcut added: lust list 15 Bug: 15347469 Change-Id: I35cb410bdb7b641f2f0d4d9bb19a17e3f4eb9c0b Jean Chalard4-0/+0
2014-06-10Debug log when failed to add/remove n-gram entry.•••Change-Id: Ibf0a4e01e1abc81b09aec104ba39d2ec18f4db8b Keisuke Kuroyanagi1-5/+12
2014-06-10Remove a useless method•••Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1 Jean Chalard2-32/+0
2014-06-10Remove mPrevWordsInfo•••This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721 Jean Chalard5-133/+57
2014-06-09Import translations. DO NOT MERGE•••Change-Id: I12199bc91f977541d1ca0293bf02ab4f7716041b Auto-generated-cl: translation import Baligh Uddin1-9/+9
2014-06-09Import translations. DO NOT MERGE•••Change-Id: I5e5094703d39f8cd24ea51a00007a7ffb5671ac2 Auto-generated-cl: translation import Baligh Uddin1-9/+9
2014-06-09Import translations. DO NOT MERGE•••Change-Id: I619995358078fd20eb65070a85c78d483521760b Auto-generated-cl: translation import Baligh Uddin2-38/+38
2014-06-09Import translations. DO NOT MERGE•••Change-Id: I657fd88fd14ba67f2e6ad0db2d515118ff7abb35 Auto-generated-cl: translation import Baligh Uddin2-38/+38
2014-06-10Revert "Fix build due to auto merged I1b6ed80d85"•••This reverts commit bc4fe8d836554335e6669f4cc039cf5f3304f78a. Bug: 15472289 Change-Id: I106300b39fd5999b77410890da835efb8ce19c7cTadashi G. Takaoka1-3/+0
2014-06-10Add audio and haptic feedback for Emoji and Suggestions•••Bug: 15378862 Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128 Tadashi G. Takaoka8-37/+79
2014-06-09Use LOCAL_MULTILIB to build host lib as 64-bit•••Also we should use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 13751317 Change-Id: I742ff14b3de168e14e646749cf4f6bc9c9e7bc62 Ying Wang2-3/+2
2014-06-09Set content descrition of words in suggestions strip•••Bug: 14849593 Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc Tadashi G. Takaoka3-8/+9
2014-06-09Use RichInputConnection to get the previous word.•••We don't need the optimization of storing the old words now that the RichInputConnection can supply it without IPC. Bug: 13703802 Change-Id: I37ccb8d5fba879fb04b4f23d33571849736d897c Jean Chalard1-25/+6
2014-06-09Split the sentences into words ourselves•••The framework's default split is not suitable for all languages. Also it does not perform very well when space is mistyped as period. Bug: 9063355 Bug: 10780091 Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a Jean Chalard2-2/+243
2014-06-09Fix TalkBack descriptions of keyboard shift mode transition•••Bug: 14846348 Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae Tadashi G. Takaoka1-0/+14
2014-06-09Use rectangle region to ignore hover events after long press•••Bug: 15500282 Bug: 15501718 Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83 Tadashi G. Takaoka1-9/+47
2014-06-09Refactor KeyCodeDescriptionMapper class a bit•••This CL adds getDescriptionForCode() method. Bug: 15500282 Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98 Tadashi G. Takaoka2-43/+28
2014-06-09Add distracter cache to optimize the distracter test.•••Bug: 13142176 Bug: 15428247 Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8 Keisuke Kuroyanagi1-0/+18
2014-06-09Fix: NPE after turning on personalized suggestion.•••Bug: 13142176 Bug: 15428247 Change-Id: I236202e3c1b70a11d512c946798035087945c0ac Keisuke Kuroyanagi1-2/+7
2014-06-09Check isInDictionary() before the distracter test.•••Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e Keisuke Kuroyanagi5-12/+72
2014-06-09Rename keyboard theme Quantum to Material•••Bug: 15467097 Change-Id: Id909723cd979ccd24740b034720591c9b1bcc2b1 Tadashi G. Takaoka1-3/+3
2014-06-09Make keyboard theme test robust•••Change-Id: I2547c8af6fa73e646f697cb4450140859d87625e Tadashi G. Takaoka1-11/+15
2014-06-09Add Dictionary.isInDictionary().•••Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e Keisuke Kuroyanagi12-49/+38
2014-06-08Fix overwriting accessibility delegate in setKeyboard•••A keyboard accessibility delegate object should be a singleton for each keyboard view. Bug: 15437933 Bug: 15419386 Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5 Tadashi G. Takaoka4-12/+34
2014-06-07Fix build due to auto merged I1b6ed80d85•••This CL must be reverted once prebuilts/sdk of jb-ub-latinimegoogle has Theme.Material. Bug: 15472289 Change-Id: Ibf85899bad83d03dc5cab6bbd1defa92f536088f Tadashi G. Takaoka1-0/+3
2014-06-06Material theme•••BUG: 15467097 Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0 Alan Viverette1-2/+2
2014-06-06DO NOT MERGE Material theme•••BUG: 15467097 Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0 Alan Viverette1-2/+2
2014-06-06Refactor logic to determine showing suggestions strip or not•••The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750 Tadashi G. Takaoka3-61/+34
2014-06-06Make Distracter filter use getMaxFrequencyOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b Keisuke Kuroyanagi3-157/+77
2014-06-06Implement getMaxProbabilityOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54 Keisuke Kuroyanagi12-6/+185
2014-06-06Update shift key backgrounds for LXX_Dark•••Bug: 15310025 Change-Id: I2fa267e5c448e28435f4737666a03b40f1f4a4d5 (cherry picked from commit 0621dd1d3c09b63e5cc47dd98718bd13566ba971) Tadashi G. Takaoka16-0/+0
2014-06-06When starting input, include the literal word in suggestions•••This change also includes a fix that has suggestions re-computed when the typed word is included but no prior suggestions were found in spans. Bug: 2349475 Change-Id: Ic06e6ac492507126ffc1e96a5f396c971b567272 Jean Chalard2-14/+22
2014-06-06Fix a small bug with rotation.•••Bug: 2349475 Change-Id: Id4aa5ce56b1a545e4cb88ca1b01cf24642deade2 Jean Chalard1-1/+10
2014-06-06Always update voice key visibility•••Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727 Tadashi G. Takaoka4-29/+26
2014-06-06Remove unused supportsSwitchingToShortcutIme attribute•••Change-Id: I51c5247ac925a158facb79057f704b763b903552 Tadashi G. Takaoka11-51/+49