diff options
author | Craig Mautner <cmautner@google.com> | 2012-04-05 11:49:05 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-04-06 14:03:25 -0700 |
commit | bec53f7066852c1c5877c51fcd8c55840891d866 (patch) | |
tree | 057c3df0c28572f1b03b9d5caa7f3a85c1223589 /services/java/com/android/server/wm/AppWindowToken.java | |
parent | 90d82ea0085b30894c5297df5faee0b4b655a94e (diff) | |
download | frameworks_base-bec53f7066852c1c5877c51fcd8c55840891d866.zip frameworks_base-bec53f7066852c1c5877c51fcd8c55840891d866.tar.gz frameworks_base-bec53f7066852c1c5877c51fcd8c55840891d866.tar.bz2 |
Animate from local list of WindowStateAnimators.
Stop animate() from using the mWindows maintained by
WindowManagerService. Animating WindowStateAnimators are now drawn from
a HashSet maintained by WindowAnimator and containing just those
WindowStateAnimators that have Surfaces.
When starting a move animation do not place parameters directly into
the WindowStateAnimator, instead pass them through the Handler.
Also removed synchronization points from mWindows/mAppTokens
add/remove.
Diffstat (limited to 'services/java/com/android/server/wm/AppWindowToken.java')
-rw-r--r-- | services/java/com/android/server/wm/AppWindowToken.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/services/java/com/android/server/wm/AppWindowToken.java b/services/java/com/android/server/wm/AppWindowToken.java index 1f8348d..bf35154 100644 --- a/services/java/com/android/server/wm/AppWindowToken.java +++ b/services/java/com/android/server/wm/AppWindowToken.java @@ -124,19 +124,6 @@ class AppWindowToken extends WindowToken { } } - boolean showAllWindowsLocked() { - boolean isAnimating = false; - final int NW = allAppWindows.size(); - for (int i=0; i<NW; i++) { - WindowStateAnimator winAnimator = allAppWindows.get(i).mWinAnimator; - if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(WindowManagerService.TAG, - "performing show on: " + winAnimator); - winAnimator.performShowLocked(); - isAnimating |= winAnimator.isAnimating(); - } - return isAnimating; - } - void updateReportedVisibilityLocked() { if (appToken == null) { return; |