summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2016-05-16 22:06:46 +0900
committerJaewan Kim <jaewan@google.com>2016-05-27 08:41:48 +0000
commita9e0621f33233c43f29e876b6c1055cf1dc855fc (patch)
treeba9930ce28581ff3eeae4923f4256172b7c714d3 /rs/java/android/renderscript/Script.java
parent0d35765ca343ae7b04df7a93c233e5b6860eec22 (diff)
PIP: Improve PIP control row's focus change animation in Recents
This includes following changes for performance 1. Passes the key events directly between the windows instead of using dummy Views and OnFocusChangeListener to prevent main thread from handling unnecessary focus changes. 2. Limits the window size for PIP controls to reduce unnecessary draw. Here's the test result. Test is performed with paused PIP video 1. 5 visible recents task Focus down: 48.14 fps -> 85.396 fps (+77.39%) Focus up: 24.67 fps -> 45.33 fps (+83.77%) 2. 3 visible recents task Focus down: 51.98 fps -> 132.72 fps (+155.34%) Focus up: 30.91 fps -> 53.38 fps (+72.69%) Bug: 28042495 Change-Id: I363232176975b160e122748c9997ef4b46b73a28
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions