diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-08-13 00:33:06 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-08-27 15:31:30 +0800 |
commit | ccf09404e12d2c75cfe571070423c6415345280c (patch) | |
tree | 0f2a91997d860c8880ba6088c24e816b8866f382 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6f9af935036e2aa9df869360387aa6fb71cd3b8b (diff) |
Centralize rotation control to DisplayRotation
- Move seamless rotation logic. The scattered conditions
(mayRotateSeamlessly) are also combined into shouldRotateSeamlessly.
- Move DisplayContent#updateRotationUnchecked and the related fields.
- Consolidate DisplayContent#updateOrientationFromAppTokens and
DisplayRotation#setCurrentOrientation to DR#updateOrientation.
Bug: 117593656
Test: go/wm-smoke
Test: atest DisplayContentTests DisplayPolicyTests DisplayRotationTests
Change-Id: Ifd978a20a2773a39000a90edf683e6459adf0d2d
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions