Loading services/core/java/com/android/server/wm/Task.java +11 −0 Original line number Diff line number Diff line Loading @@ -471,6 +471,17 @@ class Task extends WindowContainer<ActivityRecord> implements ConfigurationConta } } @Override void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, Rect outSurfaceInsets) { final WindowState windowState = getTopVisibleAppMainWindow(); if (windowState != null) { windowState.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } else { super.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } } /** * Calculate the maximum visible area of this task. If the task has only one app, * the result will be visible frame of that app. If the task has more than one apps, Loading services/core/java/com/android/server/wm/TaskStack.java +11 −0 Original line number Diff line number Diff line Loading @@ -1870,6 +1870,17 @@ public class TaskStack extends WindowContainer<Task> implements return mAnimatingActivityRegistry; } @Override void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, Rect outSurfaceInsets) { final Task task = getTopChild(); if (task != null) { task.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } else { super.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } } @Override RemoteAnimationTarget createRemoteAnimationTarget( RemoteAnimationController.RemoteAnimationRecord record) { Loading Loading
services/core/java/com/android/server/wm/Task.java +11 −0 Original line number Diff line number Diff line Loading @@ -471,6 +471,17 @@ class Task extends WindowContainer<ActivityRecord> implements ConfigurationConta } } @Override void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, Rect outSurfaceInsets) { final WindowState windowState = getTopVisibleAppMainWindow(); if (windowState != null) { windowState.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } else { super.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } } /** * Calculate the maximum visible area of this task. If the task has only one app, * the result will be visible frame of that app. If the task has more than one apps, Loading
services/core/java/com/android/server/wm/TaskStack.java +11 −0 Original line number Diff line number Diff line Loading @@ -1870,6 +1870,17 @@ public class TaskStack extends WindowContainer<Task> implements return mAnimatingActivityRegistry; } @Override void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, Rect outSurfaceInsets) { final Task task = getTopChild(); if (task != null) { task.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } else { super.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); } } @Override RemoteAnimationTarget createRemoteAnimationTarget( RemoteAnimationController.RemoteAnimationRecord record) { Loading