summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-12-04 16:22:01 +0800
committerCharles Chen <charlesccchen@google.com>2021-02-04 23:27:03 +0800
commit9854a1e315b53157daf12badbad2890048e26d2d (patch)
tree1c19e34be70af56baf61863f9e745d7d12ce90b2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc43b7aacb0870c0d955a55ea5a926a4b81c55aab (diff)
Migrate WindowContext to WindowContextListener mechanism
1. Use registerWindowContextListener instead of addWindowTokenWithOptions 2. Clean up the logic of sending the config to the client in WindowToken 3. Add a mechanism in WMS#addWindow, when a WindowContext adds a view, the server side will switch to register the WindowToken for the WindowContext. In this way, we won't add a WindowToken until adding the fist view. Also, we could apply an existing window token by overriding WindowManager.LayoutParams.token. Bug: 159767464 Bug: 153369119 Test: atest WindowContextTests WindowContextPolicyTests Test: atest WindowContextTest Test: atest WindowContextListenerControllerTests Change-Id: I2396187c445306d18101706c4521edd9cf92facf
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions