fbbde85b045dde25450ce5cef075934102e28339
At a high level I had two sorts of goals: 1. To remove the weird pinned logic in setSurfaceBoundariesLocked 2. To seperate base crop calculation, and animation exceptions, between window state and window state animator. Itemized changes are as follows: 1. Rename updateSurfaceWindowCrop and calculateSurfaceWindowCrop to applyCrop/calculateCrop. It doesn't feel that "SurfaceWindow" was adding much. 2. Split screen space and window space (final v non) clip rect computation, to make clarity about when each one should be used. 3. Eliminate weird case for pinned stack in setSurfaceBoundaries by building it in to calculateFinalClipRect. 4. Extract calculateSystemDecorRect to WindowState as it mostly accesses window members. 5. Extract part of calculateCrop to WindowState as "calculatePolicyCrop". This was the part that fills mSystemDecorRect. 6. Extract wallpaper animation logic outside of calculatePolicyCrop Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests Change-Id: I8ff1dc6ec1206a34994f50ba44d765ab619efbff
…
Merge "[AWARE] Move manager tests from service to manager directory" am:
018f6ec16f am: f74733a367 am: cd4be8b7e0
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%