aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-17Fix: NPE when initializing AOSP keyboard.Keisuke Kuroyanagi1-3/+12
Bug: 15677822 Change-Id: Ibebb215a08795482c0f1eef965db06af57558906
2014-06-16Update suggestion strip when the contextual dict is updated.Keisuke Kuroyanagi2-2/+9
Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7
2014-06-16Fix: Probability used for one word contextual phrase.Keisuke Kuroyanagi1-15/+14
Bug: 14161647 Change-Id: Ia5f985ea467145fb381e3ad2c1f67f3b013f19e8
2014-06-16[CM2] Update beginning-of-sentence suggestionsJean Chalard1-1/+4
We need to update them after separator-space, and also when the user presses shift and they are displayed. Bug: 15554503 Change-Id: I5596163d5cd94d3cc5f6af10a1ab2cc74b6d4279
2014-06-16[CM1] Let predictions be aware of capitalize mode.Jean Chalard4-17/+47
Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
2014-06-13Import translations. DO NOT MERGEBaligh Uddin57-228/+0
Change-Id: Ic5e3ad6078f654fcde156216016a87e5226dabca Auto-generated-cl: translation import
2014-06-14Stop announcing suggestions strip content while more keys keyboard is showingTadashi G. Takaoka3-1/+15
This CL also supports announcing dismissing of a more keys keyboard. Bug: 15582905 Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184
2014-06-13Update SDK version check due to I4716e71d72Tadashi G. Takaoka1-1/+1
Bug: 15603590 Change-Id: Ia2ac28a2dbf3e07678661d59e0aa6b4e6a536a02
2014-06-13Fix forwarding event only when sending view is visibleTadashi G. Takaoka1-1/+6
Bug: 15579941 Change-Id: I25c19068ae4ad26b1ff64ffccf36ef8dd58ed295
2014-06-13Add EmojiPageKeyboardAccessibilityDelegateTadashi G. Takaoka2-5/+21
Because EmojiPageKeyboardView doesn't use PointerTracker to handle MotionEvent, a dedicated accessibility delegate is needed. Then the recent tab can be updated even with accessibility mode on. Bug: 15582599 Change-Id: I63d75b9aca21ec44f1f77d2eaaf2ba7813992183
2014-06-13Return an empty accessibility node info for a keyboardTadashi G. Takaoka1-14/+4
Because a keyboard handling hover events and determining a virtual node by itself, there is no need to supply whole virtual nodes info for the keyboard. Just returning an empty accessibility node info supresses annoucements of all keys. This CL also fixes the undefined virtual id value. Bug: 15582251 Change-Id: Ie033d21ef878d272417cf2b20f8eec1e516587f6
2014-06-13Make accessibility long press timeout longerTadashi G. Takaoka1-1/+1
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
2014-06-13Use MoreKeysDetector for accessibilityTadashi G. Takaoka2-13/+4
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
2014-06-16Add clearContextualDictionary().Keisuke Kuroyanagi1-12/+13
Change-Id: Ia2f8d5640cde816cca23b26ee261acf44f3cdcdc
2014-06-16Add a method to update contextual dictionary.Keisuke Kuroyanagi2-0/+115
Bug: 14161647 Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
2014-06-13Contextual dictionary updater.Keisuke Kuroyanagi2-1/+44
Bug: 14161647 Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18
2014-06-13Personalization dictionary updater.Keisuke Kuroyanagi2-32/+28
Bug: 14161647 Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95
2014-06-12Block offensive words in native code.Keisuke Kuroyanagi4-16/+26
Bug: 15300452 Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
2014-06-16Dicttool's shared lib is now built for 64bitKen Wakasa1-16/+2
Change-Id: I3a21384e8ee6b419088f8140ff56a4ee89c3b052
2014-06-13Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"Yohei Yukawa1-13/+4
This reverts commit 1690992d1b5e37f21edb3040d5b939bd0f713efc. Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b. We no longer need this workaround. Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056
2014-06-13Fix NPE by disabling key preview popup of Emoji paletteTadashi G. Takaoka4-7/+10
Bug: 15579928 Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a
2014-06-12Update unit test for beginning-of-sentence.Keisuke Kuroyanagi2-12/+25
Bug: 14119293 Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb
2014-06-12Enable Beginning-of-Sentence prediction for contextual dict.Keisuke Kuroyanagi5-2/+43
Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
2014-06-12Add jni method for removeUnigramEntry().Keisuke Kuroyanagi2-0/+31
Bug: 15552347 Change-Id: Iadcdc73d3335d561a27b9314d3fcdab0b0c96e49
2014-06-12Add removeUnigramEntry() to native dictionary policy.Keisuke Kuroyanagi7-0/+28
Bug: 15552347 Change-Id: Ic713f79ef26b5963060304df9c0a3a402c3cc6d4
2014-06-13Clear PointerTracker state when more keys keyboard is dismissedTadashi G. Takaoka1-2/+7
With accessibility mode on, hover events for a more keys keyboard are handled among MoreKeysKeyboardAccessibilityDelegate and MoreKeysKeyboardView. But the more keys keyboard is shown by MainKeyboardAccessibilityDelegate that uses PointerTracker to handle hover events. Thus we need to clear PointerTracker state when the more keys keyboard is dismissed. This is a workaround to resolve the issue. We should reconsider the structure of those views and accessibility delegates in the future. Bug: 15583751 Change-Id: Ida8c3e55194c59bdaa5bc4ff06068e699b888ced
2014-06-11Fix: Wrong name for ContextualDictionary.Keisuke Kuroyanagi1-1/+1
Bug: 15557070 Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0
2014-06-11Fix logic to show suggestionsTadashi G. Takaoka2-6/+13
Bug: 15531465 Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2
2014-06-10Make dump dictionary settings easily extensible.Keisuke Kuroyanagi4-45/+23
This adds "Dump contextual dictionary". Bug: 14161647 Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346
2014-06-10Special case periods in the spell checkerJean Chalard3-1/+37
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
2014-06-10Purge dict reading code for 401 and create for 402.Keisuke Kuroyanagi42-319/+331
Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
2014-06-10Add prefix to the arguments of getDictionary().Keisuke Kuroyanagi6-21/+24
Bug: 13630847 Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
2014-06-10Update dictionariesJean Chalard4-0/+0
>>> 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
2014-06-10Debug log when failed to add/remove n-gram entry.Keisuke Kuroyanagi1-5/+12
Change-Id: Ibf0a4e01e1abc81b09aec104ba39d2ec18f4db8b
2014-06-10Remove a useless methodJean Chalard2-32/+0
Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
2014-06-10Remove mPrevWordsInfoJean Chalard5-133/+57
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
2014-06-09Import translations. DO NOT MERGEBaligh Uddin1-9/+9
Change-Id: I12199bc91f977541d1ca0293bf02ab4f7716041b Auto-generated-cl: translation import
2014-06-09Import translations. DO NOT MERGEBaligh Uddin2-38/+38
Change-Id: I619995358078fd20eb65070a85c78d483521760b Auto-generated-cl: translation import
2014-06-10Add audio and haptic feedback for Emoji and SuggestionsTadashi G. Takaoka8-37/+79
Bug: 15378862 Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128
2014-06-09Use LOCAL_MULTILIB to build host lib as 64-bitYing Wang2-3/+2
Also we should use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 13751317 Change-Id: I742ff14b3de168e14e646749cf4f6bc9c9e7bc62
2014-06-09Set content descrition of words in suggestions stripTadashi G. Takaoka3-8/+9
Bug: 14849593 Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc
2014-06-09Use RichInputConnection to get the previous word.Jean Chalard1-25/+6
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
2014-06-09Split the sentences into words ourselvesJean Chalard2-2/+243
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
2014-06-09Fix TalkBack descriptions of keyboard shift mode transitionTadashi G. Takaoka1-0/+14
Bug: 14846348 Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae
2014-06-09Use rectangle region to ignore hover events after long pressTadashi G. Takaoka1-9/+47
Bug: 15500282 Bug: 15501718 Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83
2014-06-09Refactor KeyCodeDescriptionMapper class a bitTadashi G. Takaoka2-43/+28
This CL adds getDescriptionForCode() method. Bug: 15500282 Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98
2014-06-09Add distracter cache to optimize the distracter test.Keisuke Kuroyanagi1-0/+18
Bug: 13142176 Bug: 15428247 Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8
2014-06-09Fix: NPE after turning on personalized suggestion.Keisuke Kuroyanagi1-2/+7
Bug: 13142176 Bug: 15428247 Change-Id: I236202e3c1b70a11d512c946798035087945c0ac
2014-06-09Check isInDictionary() before the distracter test.Keisuke Kuroyanagi5-12/+72
Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
2014-06-09Rename keyboard theme Quantum to MaterialTadashi G. Takaoka1-3/+3
Bug: 15467097 Change-Id: Id909723cd979ccd24740b034720591c9b1bcc2b1