Slight polish for split screen gesture animation
* Divider bar dimensions manually calculated since the leash that is provided has bounds larger than the space that is visually shown between the two split apps Bug: 181704764 Test: Swipe up on large and normal screen, w/ and w/o home rotation enabled Change-Id: I1fde053151d47c6ce3e11f16f8ae4a153d273871
This commit is contained in:
@@ -107,11 +107,9 @@ public class RemoteTargetGluer {
|
||||
primaryTaskTarget = targets.findTask(splitIds[0]);
|
||||
secondaryTaskTarget = targets.findTask(splitIds[1]);
|
||||
|
||||
RemoteAnimationTargetCompat dividerTarget = targets.getNonAppTargetOfType(
|
||||
TYPE_DOCK_DIVIDER);
|
||||
mStagedSplitBounds = new SplitConfigurationOptions.StagedSplitBounds(
|
||||
primaryTaskTarget.screenSpaceBounds,
|
||||
secondaryTaskTarget.screenSpaceBounds, dividerTarget.screenSpaceBounds);
|
||||
secondaryTaskTarget.screenSpaceBounds);
|
||||
mRemoteTargetHandles[0].mTransformParams.setTargetSet(
|
||||
createRemoteAnimationTargetsForTarget(primaryTaskTarget, targets));
|
||||
mRemoteTargetHandles[0].mTaskViewSimulator.setPreview(primaryTaskTarget,
|
||||
|
||||
Reference in New Issue
Block a user