aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-117-1776/+0
* Initial successful standalone buildAmin Bandali2025-01-111-1/+1
* Implement text entry key API for accessibility services in AOSP Keyboard•••From Android Q, Talkback supports lift-to-type feature if the node claims it is a text entry key via setTextEntryKey(). We implement this API to show how this API is applied. This CL uses AccessibilityNodeInfoCompat instead of AccessibilityNodeInfo so that the same functionality can be used even on pre-Q devices when the AccessibilityService supports it. With that, this CL removes the legacy code of lift-to-type feature, which was implemented in the AOSP Keyboard side. Bug: 131644969 Test: manual - enable Talkback suporting lift-to-type,check Talback perform click action when finger is lifted. Change-Id: I1ec2928f5a9ba0bde999b09d4c0b9c922f179a2a ryanlwlin2019-09-173-16/+4
* Migrated various apps under packages/inputmethods/LatinIME/ to androidx•••Bug: 76692459 Test: mmma packages/inputmethods/LatinIME/ Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692 vineel sadineni2018-05-153-9/+9
* Calling getClass on a class will return Class.class.•••Bug introduced in 5ac4638f999db4fea8a9e24171dbceb640a10858. Bug found by error prone: Bug: 27723540 Change-Id: I4325f3bc1f1186bd24d4b0074f0c573cc5cb4e31 Ian Rogers2016-05-091-2/+2
* Suppress redundant TYPE_WINDOWS_STATE_CHANGED.•••Bug: 23975618 Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e Yohei Yukawa2016-02-021-1/+3
* Fix master build.•••For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8 Dan Zivkovic2015-02-111-2/+1
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-111-1/+2
* Refactor PointerTracker and MainKeyboardView•••This CL reorganize the key press/release state visual drawing code. Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82 Tadashi G. Takaoka2014-11-211-6/+2
* Fix an NPE.•••Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71 Jean Chalard2014-11-201-3/+7
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-1/+1
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-212-3/+3
* Fix verbalizing missing emoticons•••Bug: 15585153 Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9 Tadashi G. Takaoka2014-09-291-1/+22
* Revert "Revert "[ML1] Introduce RichInputMethodSubtype""•••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 Jean Chalard2014-08-251-1/+1
* Revert "[ML1] Introduce RichInputMethodSubtype"•••This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f Jean Chalard2014-08-221-1/+1
* [ML1] Introduce RichInputMethodSubtype•••Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9 Jean Chalard2014-08-221-1/+1
* Support performAccessibilityAction for CLICK and LONG_CLICK•••Bug: 15727335 Change-Id: I83274c1a9d3cf2e8237d1674fe915b7b2d222a53 Tadashi G. Takaoka2014-06-274-27/+47
* Remove redundant override methods and extended classes•••Bug: 15727335 Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a Tadashi G. Takaoka2014-06-242-40/+1
* Refactor keyboard accessibility delegate classes•••Bug: 15727335 Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24 Tadashi G. Takaoka2014-06-243-24/+7
* Add 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. Takaoka2014-06-202-3/+41
* Populate 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. Takaoka2014-06-201-4/+16
* Stop 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. Takaoka2014-06-141-1/+4
* 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 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. Takaoka2014-06-131-14/+4
* | Clear 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. Takaoka2014-06-131-2/+7
|/
* Use 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. Takaoka2014-06-131-3/+1
* Fix TalkBack descriptions of keyboard shift mode transition•••Bug: 14846348 Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae Tadashi G. Takaoka2014-06-091-0/+14
* Use rectangle region to ignore hover events after long press•••Bug: 15500282 Bug: 15501718 Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83 Tadashi G. Takaoka2014-06-091-9/+47
* Refactor KeyCodeDescriptionMapper class a bit•••This CL adds getDescriptionForCode() method. Bug: 15500282 Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98 Tadashi G. Takaoka2014-06-091-42/+26
* Support more suggestions accessibility mode•••Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308 Tadashi G. Takaoka2014-06-041-0/+37
* Support more keys accessibility mode•••Bug: 12491371 Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2 Tadashi G. Takaoka2014-06-044-10/+297
* Add onRegisterHoverKey to accessibility delegate•••Bug: 12491371 Change-Id: I8c5b1e91f41146a023edcc405e6120c0bf33f49b Tadashi G. Takaoka2014-06-041-2/+12
* Revert "Pass hover event to accessibility key handling methods"•••It turns out passing hover event to accessibility key handling methods isn't necessary. This parically reverts I1f7feef707. Bug: 12491371 Change-Id: I9d71cd29723344433427795e44cb22ac41faace6 Tadashi G. Takaoka2014-06-041-12/+9
* Load KeyCodeDescriptionMapper class lazily•••Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe Tadashi G. Takaoka2014-06-033-15/+6
* Fix synthesizing MotionEvent•••KeyboardAccessibilityDelegate.synthesizeTouchEvent() wrongly passed pointer's id as a 6th argument of MotionEvent.obtain method that should be metaState. Change-Id: I822f9647a1ba27ee8cee39f373f6a1c003ebf665 Tadashi G. Takaoka2014-06-031-9/+5
* Pass hover event to accessibility key handling methods•••Bug: 12491371 Change-Id: I1f7feef707b95e8862db71cbc4f6f5585a2441dd Tadashi G. Takaoka2014-06-021-12/+15
* Add verbalization of symbols that are unsupported by TTS/TalkBack•••Bug: 13336905 Change-Id: Iefd117fa7b30b8ba240590b13b03d7044fd37ede Tadashi G. Takaoka2014-06-021-2/+26
* Fix to clear on hover visual cue•••Bug: 12491371 Change-Id: Ib7ca91ae73aa40e45ea5f6d4e53348a261a4b823 Tadashi G. Takaoka2014-06-021-13/+17
* Support fine grained hover event handling•••This CL also adds visual feedback of hovering key in accessibility mode. Bug: 12491371 Change-Id: I7b1f28a2e421ca60b2738ed94e7bdb406f75039b Tadashi G. Takaoka2014-05-281-56/+112
* Merge "Refactor KeyboardAccessibilityDelegate class a bit"Tadashi G. Takaoka2014-05-272-6/+16
|\
| * Refactor KeyboardAccessibilityDelegate class a bit•••Bug: 12491371 Change-Id: I2c2c6f3a6d0d7e7efbe0253127f5b9117cbc512d Tadashi G. Takaoka2014-05-272-6/+16
* | Remove compiler warning from accessibility package•••Change-Id: Idae3e89f0398ab2cd56985adfac18959aa1852e7 Tadashi G. Takaoka2014-05-272-2/+2
|/
* Use onHoverEvent instead of dispatchHoverEvent•••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 Tadashi G. Takaoka2014-05-271-50/+41
* Merge "Announce the same key again"Tadashi G. Takaoka2014-05-272-13/+4
|\
| * Announce the same key again•••Bug: 15237246 Change-Id: Ie7023b727cb3eca9d0727a511b3d64a32a02cd3d Tadashi G. Takaoka2014-05-272-13/+4
* | Use "unknown emoji" or emoji that has an empty translation•••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 Tadashi G. Takaoka2014-05-271-8/+17
|/
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-5/+0
* Add spoken description of accented letters•••Bug: 15149856 Change-Id: I72f209fc3fdf619b3929325e2a810aa3c0bd1caa Tadashi G. Takaoka2014-05-221-8/+41