aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix an NPE.Jean Chalard2014-11-201-3/+7
| | | | Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
* Move util classes under commonJean Chalard2014-11-071-1/+1
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix some compiler warningsTadashi G. Takaoka2014-10-212-3/+3
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Fix verbalizing missing emoticonsTadashi G. Takaoka2014-09-291-1/+22
| | | | | Bug: 15585153 Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9
* Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-1/+1
| | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-1/+1
| | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-1/+1
| | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* 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
|\