Commit 8ffe8b3
committed
Accessibility focus search and setting it from hover are performed by the client.
1. Currently we are providing accessibility focus search algorithm in the
framework and we are also setting accessibility focus from hover. It
appears that implementing a focus search strategy that works for all
accessibility services is non trivial task if feasible. Based on
feedback from the developers of two such services at Google - TalkBack
and BarilleBack - the built in focus search does not quite match what
they need and they would like to implement a custom strategy.
Hence, having APIs for accessibility focus search in the framework does
not make. Therefore, we are hiding this APIs and later will take out the focus
search logic and allow the accessibility service to implement search.
Also putting accessibility focus from hover is tightly integrated with
the focus search since the set of views that get accessibility focus
from hover should be the same as the set of views returned by the
focus search routine. Therefore, we are letting the accessibility service
decide where to put accessibility focus when it gets an accessibility
hover event.
bug:6675330
Change-Id: Ie152230990a6602f3fd1d82de2177d0b1444d6541 parent 68a808b commit 8ffe8b3
File tree
5 files changed
+44
-26
lines changed- api
- core/java/android/view
- accessibility
5 files changed
+44
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24358 | 24358 | | |
24359 | 24359 | | |
24360 | 24360 | | |
24361 | | - | |
24362 | | - | |
24363 | | - | |
24364 | | - | |
24365 | | - | |
24366 | | - | |
24367 | 24361 | | |
24368 | 24362 | | |
24369 | 24363 | | |
| |||
24385 | 24379 | | |
24386 | 24380 | | |
24387 | 24381 | | |
24388 | | - | |
24389 | 24382 | | |
24390 | 24383 | | |
24391 | 24384 | | |
| |||
25332 | 25325 | | |
25333 | 25326 | | |
25334 | 25327 | | |
25335 | | - | |
25336 | 25328 | | |
25337 | 25329 | | |
25338 | 25330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24369 | 24369 | | |
24370 | 24370 | | |
24371 | 24371 | | |
24372 | | - | |
24373 | | - | |
24374 | | - | |
24375 | | - | |
24376 | | - | |
24377 | | - | |
24378 | 24372 | | |
24379 | 24373 | | |
24380 | 24374 | | |
| |||
24396 | 24390 | | |
24397 | 24391 | | |
24398 | 24392 | | |
24399 | | - | |
24400 | 24393 | | |
24401 | 24394 | | |
24402 | 24395 | | |
| |||
25343 | 25336 | | |
25344 | 25337 | | |
25345 | 25338 | | |
25346 | | - | |
25347 | 25339 | | |
25348 | 25340 | | |
25349 | 25341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
1050 | 1052 | | |
1051 | 1053 | | |
1052 | 1054 | | |
1053 | 1055 | | |
1054 | 1056 | | |
| 1057 | + | |
| 1058 | + | |
1055 | 1059 | | |
1056 | 1060 | | |
1057 | 1061 | | |
1058 | 1062 | | |
1059 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
1060 | 1066 | | |
1061 | 1067 | | |
1062 | 1068 | | |
1063 | 1069 | | |
1064 | 1070 | | |
| 1071 | + | |
| 1072 | + | |
1065 | 1073 | | |
1066 | 1074 | | |
1067 | 1075 | | |
1068 | 1076 | | |
1069 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
1070 | 1080 | | |
1071 | 1081 | | |
1072 | 1082 | | |
1073 | 1083 | | |
1074 | 1084 | | |
| 1085 | + | |
| 1086 | + | |
1075 | 1087 | | |
1076 | 1088 | | |
1077 | 1089 | | |
1078 | 1090 | | |
1079 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
1080 | 1094 | | |
1081 | 1095 | | |
1082 | 1096 | | |
| |||
6333 | 6347 | | |
6334 | 6348 | | |
6335 | 6349 | | |
| 6350 | + | |
| 6351 | + | |
| 6352 | + | |
| 6353 | + | |
| 6354 | + | |
| 6355 | + | |
| 6356 | + | |
| 6357 | + | |
| 6358 | + | |
| 6359 | + | |
| 6360 | + | |
| 6361 | + | |
| 6362 | + | |
| 6363 | + | |
| 6364 | + | |
| 6365 | + | |
| 6366 | + | |
| 6367 | + | |
| 6368 | + | |
| 6369 | + | |
| 6370 | + | |
| 6371 | + | |
| 6372 | + | |
| 6373 | + | |
| 6374 | + | |
6336 | 6375 | | |
6337 | 6376 | | |
6338 | 6377 | | |
| |||
7902 | 7941 | | |
7903 | 7942 | | |
7904 | 7943 | | |
7905 | | - | |
| 7944 | + | |
7906 | 7945 | | |
7907 | | - | |
7908 | 7946 | | |
7909 | 7947 | | |
7910 | 7948 | | |
7911 | 7949 | | |
7912 | 7950 | | |
7913 | 7951 | | |
7914 | | - | |
| 7952 | + | |
7915 | 7953 | | |
7916 | 7954 | | |
7917 | 7955 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
| 472 | + | |
479 | 473 | | |
480 | 474 | | |
481 | 475 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
0 commit comments