aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyboardAccessibilityNodeProvider.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-06-23Make getNextWordAndNextToken output code point count.•••Bug: 14425059 Change-Id: Id1c2927c8a1be0b1680206d444dbdf0c9453dceb Keisuke Kuroyanagi10-47/+45
2014-06-22Reorganize Keyboard settings screen•••This CL must be checked in together with I6ebfbeb4e8. Bug: 11866784 Bug: 15781377 Bug: 13888366 Change-Id: I57d47ab174d03121a604fd0dbf553795de0ab9b8 Tadashi G. Takaoka11-225/+281
2014-06-22Fix dismissing more keys panel when hiding keyboard•••This issue was introduced by Id7002ecb7f. Bug: 15809493 Change-Id: Iaa51b7f40a54ccbafb45c6444d8bbd21c671f7af Tadashi G. Takaoka1-5/+1
2014-06-20Populate accessibility root node info of keyboard•••Partially reverting Ie033d21ef8 to populate root node info. This CL also fixes the bounds in screen of virtual node info. Bug: 15746768 Bug: 15582251 Change-Id: I3a82f904270adf138036ef462fd70b349a3cd33e Tadashi G. Takaoka2-4/+23
2014-06-23Custom view for key preview popup•••Bug: 15143928 Change-Id: I12411b9b5b9611ec089e4967def9b5c19a2367c7 Tadashi G. Takaoka9-161/+153
2014-06-22Refactor dicttool with try-with-resource•••This CL must be checked in together with Idd7c744d0f. Change-Id: Ia0ff09a054c1852b39cdce22a4377108afb254e2 Tadashi G. Takaoka8-182/+196
2014-06-20Add click and long click actions to key node info•••This CL adds ACTION_CLICK or ACTION_LONG_CLICK actions to a key node info. But report a node info without these actions for the same key while hovering to avoid announcement "double tap to select and double tap and hold to long press". Bug: 15727335 Change-Id: I1e9333c94c819d049bda81ad410299f5a509d29c Tadashi G. Takaoka2-3/+41
2014-06-20Fix unit tests by adding @UsedForTesting.•••Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6 Keisuke Kuroyanagi1-0/+1
2014-06-19Disable empty suggestion word on the suggestions strip•••It should be disabled when it is empty. But should be enabled even when it is empty with accessibility exploration on to avoid announcing "disabled". Note that this CL may not be able to handle "suspending talk back" state correctly. It should be handled by registering TouchExplorationStateChangeListener that is available from API 19. Bug: 15738513 Bug: 14849593 Change-Id: Id9ad89f770840f74a106f53833060407b20c1e24 Tadashi G. Takaoka1-0/+7
2014-06-23Remove hasBigrams/hasShortcut flags from ver4 PtNode.•••Always check bigram/shortcut content instead of having flags in each PtNode. Bug: 14425059 Change-Id: I9eb816681bf22fc12e3ab3c92a178a7990b90e93 Keisuke Kuroyanagi5-39/+9
2014-06-19Do not generate ids in the android package•••A new AAPT change will have AAPT fail when an app tries to add resources to an external package such as android. Change-Id: I02e31481b5ea2d13a27b5b06fc4d0f8777551572 Adam Lesinski1-6/+6
2014-06-23[CS1] Some initial clean up•••Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630 Jean Chalard4-37/+31
2014-06-23Revert "Reorganize Keyboard settings screen"•••This reverts commit 339929ba16e4f68fb216ebe49dd3575e563ee8ab. Bug: 11866784 Bug: 13888366 Bug: 15781377 This doesn't build with LOCAL_SDK_VERSION := 19 for UnbundledLatinImeGoogle. Change-Id: Idf8bd335b076152265f245f578dadf651e291878 Ken Wakasa11-281/+225
2014-06-23Update dictionaries•••>>> dictionaries/es_wordlist.combined.gz Header : date : 1401802362 <=> 1403153360 version : 45 <=> 47 Body : Added: grandísimo 30 >>> java/res/raw/main_es.dict Header : date : 1401802362 <=> 1403153360 version : 45 <=> 47 Body : Added: grandísimo 30 Bug: 15719556 Change-Id: Ifaa97d40d52a278e41f4dd1292781494d4eb939b Jean Chalard2-0/+0
2014-06-23Add native unittest support on target devices for LatinIME•••This CL adds native unittest support on target devices for LatinIME. Note that you need to specify --target option to run-tests.sh to run native unittest on the target device. BUG: 13754552 Change-Id: I1dfb78ae1461163db8d47c3ba9141d4812070fd0 Yohei Yukawa3-7/+104
2014-06-20Remove word from personalized dicts when it's canceled.•••Bug: 15555552 Bug: 15552347 Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39 Keisuke Kuroyanagi15-38/+84
2014-06-19Dismiss more keys panel when hiding window•••Bug: 15727301 Change-Id: Id7002ecb7f4eea7be3505f6f0235074264418221 Tadashi G. Takaoka1-0/+5
2014-06-18Import translations. DO NOT MERGE•••Change-Id: I841ec06f6139c801c485f6266cf33bc134989c8c Auto-generated-cl: translation import Baligh Uddin1-9/+9
2014-06-18Import translations. DO NOT MERGE•••Change-Id: I612a854e3c012766362d8e54502865b864f806d4 Auto-generated-cl: translation import Baligh Uddin1-9/+9
2014-06-18Clear suggestions strip if a suggestion engine isn't attached•••Bug: 15709298 Change-Id: I1b3fff3152960d85060149727d7a3422fea8a0bd Tadashi G. Takaoka1-0/+2
2014-06-18Import translations. DO NOT MERGE•••Change-Id: I3392a199c01f0a50f05437ee50e463a6df6f00bb Auto-generated-cl: translation import Baligh Uddin2-38/+38
2014-06-18Refactor drawing preview classes•••Change-Id: I0779caa720e3013f055ab48900bed223747b3952 Tadashi G. Takaoka6-70/+44
2014-06-18Refactor MoreKeysKeyboard.Builder a bit•••Change-Id: I12139a925d59bb467df629cebc61423d61db1d2d Tadashi G. Takaoka2-46/+42
2014-06-18Hide voice input key from URI, Email, Number, and Phone layout•••Bug: 15709298 Change-Id: I05d9433d4e1c2cc475a2136cc97bc32bde6fc745 Tadashi G. Takaoka2-3/+10
2014-06-18Consolidate 3 public methods of key preview into one•••Change-Id: I0ac92c56bdb636998f7f5e20fba6830b4ac435fa Tadashi G. Takaoka2-9/+14
2014-06-18Add a test for Armenian periods.•••Bug: 11463389 Change-Id: Ic1a612bd6b2693369a1688e6a2273cff26fbe6d1 Jean Chalard2-19/+26
2014-06-18Import translations. DO NOT MERGE•••Change-Id: I9b6feb04d2c2b974fd96a45e74016f892401e099 Auto-generated-cl: translation import Baligh Uddin2-38/+38
2014-06-17Move variables for I/O of a jni method to traverse session.•••Bug: 15008504 Change-Id: I3e59bc856c1df0e1afe3b42d024620ca1745837b Keisuke Kuroyanagi2-44/+45
2014-06-17Fix: NPE when initializing AOSP keyboard.•••Bug: 15677822 Change-Id: Ibebb215a08795482c0f1eef965db06af57558906 Keisuke Kuroyanagi1-3/+12
2014-06-16Update suggestion strip when the contextual dict is updated.•••Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7 Keisuke Kuroyanagi2-2/+9
2014-06-16Fix: Probability used for one word contextual phrase.•••Bug: 14161647 Change-Id: Ia5f985ea467145fb381e3ad2c1f67f3b013f19e8 Keisuke Kuroyanagi1-15/+14
2014-06-16Dicttool's shared lib is now built for 64bit•••Change-Id: I3a21384e8ee6b419088f8140ff56a4ee89c3b052 Ken Wakasa1-16/+2
2014-06-13Import translations. DO NOT MERGE•••Change-Id: I9886d0363d7eec305e07be56205196307d4b4731 Auto-generated-cl: translation import Baligh Uddin57-228/+0
2014-06-14Stop announcing suggestions strip content while more keys keyboard is showing•••This CL also supports announcing dismissing of a more keys keyboard. Bug: 15582905 Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184 Tadashi G. Takaoka3-1/+15
2014-06-13Update SDK version check due to I4716e71d72•••Bug: 15603590 Change-Id: Ia2ac28a2dbf3e07678661d59e0aa6b4e6a536a02 Tadashi G. Takaoka1-1/+1
2014-06-13Clear PointerTracker state when more keys keyboard is dismissed•••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 Tadashi G. Takaoka1-2/+7
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-13Import translations. DO NOT MERGE•••Change-Id: Ic5e3ad6078f654fcde156216016a87e5226dabca Auto-generated-cl: translation import Baligh Uddin57-228/+0
2014-06-11Fix logic to show suggestions•••Bug: 15531465 Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2 Tadashi G. Takaoka2-6/+13
2014-06-13Fix forwarding event only when sending view is visible•••Bug: 15579941 Change-Id: I25c19068ae4ad26b1ff64ffccf36ef8dd58ed295 Tadashi G. Takaoka1-1/+6
2014-06-13Add EmojiPageKeyboardAccessibilityDelegate•••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 Tadashi G. Takaoka2-5/+21
2014-06-12Block offensive words in native code.•••Bug: 15300452 Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf Keisuke Kuroyanagi4-16/+26
2014-06-16[CM2] Update beginning-of-sentence suggestions•••We need to update them after separator-space, and also when the user presses shift and they are displayed. Bug: 15554503 Change-Id: I5596163d5cd94d3cc5f6af10a1ab2cc74b6d4279 Jean Chalard1-1/+4
2014-06-16[CM1] Let predictions be aware of capitalize mode.•••Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180 Jean Chalard4-17/+47
2014-06-16Add a method to update contextual dictionary.•••Bug: 14161647 Change-Id: I2111f841c94e31d62b670da4236fc738df03a708 Keisuke Kuroyanagi2-0/+115
2014-06-13Contextual dictionary updater.•••Bug: 14161647 Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18 Keisuke Kuroyanagi2-1/+44
2014-06-13Personalization dictionary updater.•••Bug: 14161647 Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95 Keisuke Kuroyanagi2-32/+28
2014-06-13Return an empty accessibility node info for a keyboard•••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 Tadashi G. Takaoka1-14/+4
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