diff options
author | Qasid Ahmad Sadiq <qasid@google.com> | 2019-12-03 15:54:56 -0800 |
---|---|---|
committer | Qasid Sadiq <qasid@google.com> | 2020-01-17 22:53:48 +0000 |
commit | 35b6f544632ccb39b96a105c2470213237da64b4 (patch) | |
tree | 20cac5621d017e35990c475d93b0819316f8c42e /rs/java/android/renderscript/ProgramStore.java | |
parent | 4f51b4a75a975d3be00d29447beb8f407136cf54 (diff) |
Throttle stateDescription changed events
Similar to scrolling, state description changes can happen very
frequently, so let's not overwhelm the service when the user is focused
on something like a slider of progress bar.
Isolating and reusing scroll event throttling code to do this.
Test: Added CTS tests in other CL, tried scroll viewws around the
system, and progress bar and slider in talkback test app (which have
already adopted state API).
Fix: 145626718
Change-Id: I4f7d2e526d7d453485615c089b04a8a698828279
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions