OSDN Git Service

Multi-window optimizations #1
authorJorim Jaggi <jjaggi@google.com>
Fri, 5 Feb 2016 03:34:00 +0000 (19:34 -0800)
committerJorim Jaggi <jjaggi@google.com>
Mon, 8 Feb 2016 21:19:22 +0000 (21:19 +0000)
commit69abc194f32b5c955ac7beaf6db37269d596172d
treeeb68248bdef866f0d6fd5ff229e0de713d1368f5
parent0a13bfdefc8a74a147bdf64b44e9f50c097c1599
Multi-window optimizations #1

- When the window doesn't have a surface, do not add it to
mResizingWindows, so we don't report unnecessary resizes
- computeDragResizing => false when window is not visible, so we
never enter resizing mode even if the window decides to relayout
in the background

Change-Id: I8e6cdef86f1579d128973d4f2f12e87bf9b65524
services/core/java/com/android/server/wm/AppWindowToken.java
services/core/java/com/android/server/wm/Task.java
services/core/java/com/android/server/wm/WindowState.java