diff options
author | Abodunrinwa Toki <toki@google.com> | 2015-05-05 20:04:34 +0100 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2015-05-19 14:25:39 +0100 |
commit | fd3a3a1163c5096821cef351309fcdd9a4f48002 (patch) | |
tree | be24f5de135c81f8bb71280a1997fd5aa2ae602c /rs/java/android/renderscript/RenderScript.java | |
parent | 59c15e30afbce7efbf410e5e57b1fe1be5770e3b (diff) |
Hide floating toolbar when user interacts with screen.
- Adds an ActionMode.snooze(int) API.
- Clients call this to hide the floating toolbar on DOWN touch event.
- This is called repeatedly as a snooze timeout will re-show the
toolbar.
- ActionMode.snooze(0) will "wake" the toolbar, reshowing it.
- Clients call this to re-show the toolbar on UP touch event.
- This CL also adds code to hide the toolbar when the "content rect"
is changing.
Bug: 20148125
Change-Id: If5a9a15f72c73cad8ca01a4328a58570b3e29f66
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions