aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support performAccessibilityAction for CLICK and LONG_CLICKTadashi G. Takaoka2014-06-274-27/+47
| | | | | Bug: 15727335 Change-Id: I83274c1a9d3cf2e8237d1674fe915b7b2d222a53
* Remove redundant override methods and extended classesTadashi G. Takaoka2014-06-242-40/+1
| | | | | Bug: 15727335 Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a
* Refactor keyboard accessibility delegate classesTadashi G. Takaoka2014-06-243-24/+7
| | | | | Bug: 15727335 Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24
* Add click and long click actions to key node infoTadashi G. Takaoka2014-06-202-3/+41
| | | | | | | | | | 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
* Populate accessibility root node info of keyboardTadashi G. Takaoka2014-06-201-4/+16
| | | | | | | | | | 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
* Stop announcing suggestions strip content while more keys keyboard is showingTadashi G. Takaoka2014-06-141-1/+4
| | | | | | | This CL also supports announcing dismissing of a more keys keyboard. Bug: 15582905 Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184
* Merge "Return an empty accessibility node info for a keyboard"Tadashi G. Takaoka2014-06-101-14/+4
|\
| * Return an empty accessibility node info for a keyboardTadashi G. Takaoka2014-06-131-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
* | Clear PointerTracker state when more keys keyboard is dismissedTadashi G. Takaoka2014-06-131-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
* Use MoreKeysDetector for accessibilityTadashi G. Takaoka2014-06-131-3/+1
| | | | | | | | | 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
* Fix TalkBack descriptions of keyboard shift mode transitionTadashi G. Takaoka2014-06-091-0/+14
| | | | | Bug: 14846348 Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae
* Use rectangle region to ignore hover events after long pressTadashi G. Takaoka2014-06-091-9/+47
| | | | | | Bug: 15500282 Bug: 15501718 Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83
* Refactor KeyCodeDescriptionMapper class a bitTadashi G. Takaoka2014-06-091-42/+26
| | | | | | | This CL adds getDescriptionForCode() method. Bug: 15500282 Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98
* Support more suggestions accessibility modeTadashi G. Takaoka2014-06-041-0/+37
| | | | | Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308
* Support more keys accessibility modeTadashi G. Takaoka2014-06-044-10/+297
| | | | | Bug: 12491371 Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2
* Add onRegisterHoverKey to accessibility delegateTadashi G. Takaoka2014-06-041-2/+12
| | | | | Bug: 12491371 Change-Id: I8c5b1e91f41146a023edcc405e6120c0bf33f49b
* Revert "Pass hover event to accessibility key handling methods"Tadashi G. Takaoka2014-06-041-12/+9
| | | | | | | | It turns out passing hover event to accessibility key handling methods isn't necessary. This parically reverts I1f7feef707. Bug: 12491371 Change-Id: I9d71cd29723344433427795e44cb22ac41faace6
* Load KeyCodeDescriptionMapper class lazilyTadashi G. Takaoka2014-06-033-15/+6
| | | | Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe
* Fix synthesizing MotionEventTadashi G. Takaoka2014-06-031-9/+5
| | | | | | | | KeyboardAccessibilityDelegate.synthesizeTouchEvent() wrongly passed pointer's id as a 6th argument of MotionEvent.obtain method that should be metaState. Change-Id: I822f9647a1ba27ee8cee39f373f6a1c003ebf665
* Pass hover event to accessibility key handling methodsTadashi G. Takaoka2014-06-021-12/+15
| | | | | Bug: 12491371 Change-Id: I1f7feef707b95e8862db71cbc4f6f5585a2441dd
* Add verbalization of symbols that are unsupported by TTS/TalkBackTadashi G. Takaoka2014-06-021-2/+26
| | | | | Bug: 13336905 Change-Id: Iefd117fa7b30b8ba240590b13b03d7044fd37ede
* Fix to clear on hover visual cueTadashi G. Takaoka2014-06-021-13/+17
| | | | | Bug: 12491371 Change-Id: Ib7ca91ae73aa40e45ea5f6d4e53348a261a4b823
* Support fine grained hover event handlingTadashi G. Takaoka2014-05-281-56/+112
| | | | | | | | This CL also adds visual feedback of hovering key in accessibility mode. Bug: 12491371 Change-Id: I7b1f28a2e421ca60b2738ed94e7bdb406f75039b
* Merge "Refactor KeyboardAccessibilityDelegate class a bit"Tadashi G. Takaoka2014-05-272-6/+16
|\
| * Refactor KeyboardAccessibilityDelegate class a bitTadashi G. Takaoka2014-05-272-6/+16
| | | | | | | | | | Bug: 12491371 Change-Id: I2c2c6f3a6d0d7e7efbe0253127f5b9117cbc512d
* | Remove compiler warning from accessibility packageTadashi G. Takaoka2014-05-272-2/+2
|/ | | | Change-Id: Idae3e89f0398ab2cd56985adfac18959aa1852e7
* Use onHoverEvent instead of dispatchHoverEventTadashi G. Takaoka2014-05-271-50/+41
| | | | | | | | | This CL also refactors KeyboardAccessibilityDelegate a bit to be able to override on hovering methods that handle enter, move, and exit on a key. Bug: 12491371 Change-Id: I3c7e81ccb8729ae6e466c654efde0c18ed734bdf
* Merge "Announce the same key again"Tadashi G. Takaoka2014-05-272-13/+4
|\
| * Announce the same key againTadashi G. Takaoka2014-05-272-13/+4
| | | | | | | | | | Bug: 15237246 Change-Id: Ie7023b727cb3eca9d0727a511b3d64a32a02cd3d
* | Use "unknown emoji" or emoji that has an empty translationTadashi G. Takaoka2014-05-271-8/+17
|/ | | | | | | | | | Because the number of emoji description spoken string resources is rather huge (~800), some locales may chose an empty description as a translation. If that is the case, we will announce "unknown emoji" as a fallback. Bug: 11452158 Change-Id: Ibb65e5bec93030c40bd33ac2be2115c3bbc8bd11
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-5/+0
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Add spoken description of accented lettersTadashi G. Takaoka2014-05-221-8/+41
| | | | | Bug: 15149856 Change-Id: I72f209fc3fdf619b3929325e2a810aa3c0bd1caa
* Support accessibility TalkBack in emoji paletteTadashi G. Takaoka2014-05-201-16/+26
| | | | | Bug: 11452158 Change-Id: I699e4e9f4baec4bb0fb9cd7875f675044f20465f
* Move generic hover event handling to KeyboardAccessibilityDelegateTadashi G. Takaoka2014-05-202-146/+116
| | | | | | This is a follow up of I0d73b4cf60. Change-Id: Iecfe124321682c8fc307ccf4c79e836390403d95
* Separate MainKeyboardView specific accessibility codeTadashi G. Takaoka2014-05-202-288/+340
| | | | Change-Id: I0d73b4cf60145b6e34bd89f72eb49de3c686f5e3
* Refactor accessibility classes to be more genericTadashi G. Takaoka2014-05-202-29/+32
| | | | Change-Id: Ifad1905f304bccdc39f0d5fbcab8a6353e0b4f76
* Fix inconsistent TalkBack descriptions of keyboard modesTadashi G. Takaoka2014-05-131-1/+6
| | | | | | | | | The previous "symbols shift mode" is renamed as "more symbols mode". This CL also simplifies the shift key on various keyboard modes. Bug: 14461550 Change-Id: I8ed48805eaf95892e0f12f5edcdf97937d5c2bd4
* Make AccessibleKeyboardViewProxy not singletonTadashi G. Takaoka2014-05-013-69/+15
| | | | | | | | This CL also renames AccessibleKeyboardViewProxy and AccessibilityEntityProvider to MainKeyboardAccessibilityDelegate and MainKeyboardAccessibilityNodeProvider. Change-Id: I2b0ec091a11aa8a495794d633efecb6d8b818f42
* TalkBack correct shift stateTadashi G. Takaoka2014-04-301-74/+56
| | | | Change-Id: I3097805c6c8b4a4ac19fbe062f763e2639eb5cbf
* Remove unnecessary reference to LatinIMETadashi G. Takaoka2014-04-253-18/+10
| | | | Change-Id: Idbb45c504499d39bbf272fae84ea71a83bf4dd69
* Merge "Announce keyboard language when TalkBack is on"Tadashi G. Takaoka2014-04-241-20/+40
|\
| * Announce keyboard language when TalkBack is onTadashi G. Takaoka2014-04-231-20/+40
| | | | | | | | | | Bug: 13013501 Change-Id: I0595abafbc177f776676cb3560f3990da9328db2
* | Move simulateKeyPress method to AccessibleKeyboardViewProxyTadashi G. Takaoka2014-04-232-24/+35
|/ | | | Change-Id: Ic14ff70c7c8475983cf02dc1ba4d5a5f7769aa16
* Use sorted keys index as virtual view idTadashi G. Takaoka2014-04-222-65/+72
| | | | Change-Id: Id3f81de1edaacc06362b65aa7b68e9317e6596bd
* Sort keys from top-left to bottom-right orderTadashi G. Takaoka2014-04-211-2/+2
| | | | Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
* Use unmodifiable list to return keys from KeyboardTadashi G. Takaoka2014-04-211-4/+2
| | | | Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
* Fix talk back of emoji keyTadashi G. Takaoka2014-03-251-3/+1
| | | | | Bug: 13629734 Change-Id: Ifff6f81c2ac99a32855cd333b3d9a01ad7155ffc
* Remove unnecessary override of MainKeyboardView.dispatchTouchEventTadashi G. Takaoka2014-02-171-13/+0
| | | | | | Bug: 11721001 Bug: 11976254 Change-Id: I762bd9e76ea31d67b3e31c3a0a19ee9f040015b8
* [IL88] Simple refactoringJean Chalard2014-01-271-1/+1
| | | | | | | With this, the value passed to suggestedWords is never null. Bug: 8636060 Change-Id: I433dd7e7290125e217e05cc20bee7a4b58fe083f
* Remove PointerTracker reference from accessibility packageTadashi G. Takaoka2013-12-201-3/+5
| | | | Change-Id: I1a88d9fc4db437070778ea1256aae17c32428729