summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-06-05 17:25:59 -0700
committerBryce Lee <brycelee@google.com>2017-06-06 07:53:31 -0700
commit8f85358fe4bab8ac3ca0b77905d51725a531a436 (patch)
tree241de003d007bd87beadb9b9cda391cee1af6800 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent749cbb1911b32a7f06efe5b33e9b1a3423d39c38 (diff)
Associate freezing display with a target display id.
Currently, start/stop freezing is always associated with the default display. As a result, any animations that result from freezing will occur on the default display. One situation this happens is during a configuration change, where a screen rotation can be triggered. In the case of adding a secondary display, a configuration change is always triggered to apply the override configuration at the display level. As a result, the default display exhibits a rotation animation upon unfreezing during surface placement. This changelist passes down the display id associated with the action so that the animations may be applied to the right display. In the scenario described perviously, the secondary display id is passed down and therefore is the target of the rotation animation during unfreezing. Fixes: 35486733 Test: go/wm-smoke Test: cts-tradefed run singleCommand cts-dev --module CtsViewTestCases --test android.view.cts.SurfaceViewSyncTest#testSmallRect Change-Id: I87e56f5901934327fc50b3c7e543b5e36b8ff34f
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions