diff options
author | yingleiw <yingleiw@google.com> | 2019-10-30 12:14:30 -0700 |
---|---|---|
committer | yingleiw <yingleiw@google.com> | 2019-11-14 11:54:23 -0800 |
commit | 6ab02c1fa4b38564717d2251d18c6af622de5dc3 (patch) | |
tree | 26ac5ffe1633c8112edb13ef3854f92332e849df /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 34c56f7942d6c8fabce0822ae282f42c612c904a (diff) |
Adopt the accessibility state api in progress bar
When the progress changes, instead of sending TYPE_VIEW_SELECTED event,
CONTENT_CHANGE_TYPE_STATE_DESCRIPTION event sent. Developers can
override onInitializeAccessibilityNodeInfo() and call
info.setStateDescription() to provide customized state description.
Bug: 123346875
Test: The default implementation of StateDescriptionFormatter maintains
the current format talkback uses. Also tested on talkback_test to set
customized state description based on progress.
Note: this change should not be merged until CL/275509401 (google3) is merged.
Change-Id: I8f1a0c91c55a498593c360483827ed050656d943
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions