Merge "Use screenSpaceBounds to position the target window for recents mw animation." into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
42dd4f4afd
+2
-1
@@ -141,7 +141,8 @@ public class TaskViewSimulator implements TransformParams.BuilderProxy {
|
||||
*/
|
||||
public void setPreview(RemoteAnimationTargetCompat runningTarget) {
|
||||
setPreviewBounds(runningTarget.screenSpaceBounds, runningTarget.contentInsets);
|
||||
mRunningTargetWindowPosition.set(runningTarget.position.x, runningTarget.position.y);
|
||||
mRunningTargetWindowPosition.set(runningTarget.screenSpaceBounds.left,
|
||||
runningTarget.screenSpaceBounds.top);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user