summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2020-07-23 12:15:42 -0700
committerRobert Carr <racarr@google.com>2020-09-28 12:15:29 -0700
commit0cf5818391155064e778f49d3784d06e11e8a63b (patch)
tree93efcd7f8273cccafb9a1572d835a5a2504e2eed /rs/java/android/renderscript/ProgramStore.java
parentf2a595df2fcf03381b78218ee528f91ec17e3dd8 (diff)
WindowStateAnimator: Remove mSurfaceResized
This is a part of moving Surface size control to the client. We currently see there are only two uses of mSurfaceResized: 1. In WindowState to emit MSG_RESIZED. However for many releases now we have only resized surfaces from within relayoutWindow, so the client will already receive the result here and there is no need to emit MSG_RESIZED. 2. In WindowStateAnimator to set REDO_WALLPAPER. The original meaning of this code is perhaps lost to archaeology. However I think the cases where resizing would be linked to wallpaper should be limited to rotation. This seems to match the idea that the historical meaning of "mSurfaceResized" was more or less "orientation changing" (back before multi-window). We also add this REDO_WALLPAPER flag from WindowManagerService#finishDrawingWindow, and so I think it should be added anyway in these sort of rotation cases (assuming it's still necessary) Bug: 161937501 Test: Existing tests pass Change-Id: I2f85b6a81d24eec5c4aaca205e92a5fe82aff41e
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions