Loading core/java/android/window/TransitionInfo.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -542,9 +542,6 @@ public final class TransitionInfo implements Parcelable { // independent either. // independent either. if (change.getMode() == TRANSIT_CHANGE) return false; if (change.getMode() == TRANSIT_CHANGE) return false; // Always fold the activity embedding change into the parent change. if (change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) return false; TransitionInfo.Change parentChg = info.getChange(change.getParent()); TransitionInfo.Change parentChg = info.getChange(change.getParent()); while (parentChg != null) { while (parentChg != null) { // If the parent is a visibility change, it will include the results of all child // If the parent is a visibility change, it will include the results of all child Loading libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -496,7 +496,6 @@ public class Transitions implements RemoteCallable<Transitions>, if (mode == TRANSIT_TO_FRONT) { if (mode == TRANSIT_TO_FRONT) { // When the window is moved to front, make sure the crop is updated to prevent it // When the window is moved to front, make sure the crop is updated to prevent it // from using the old crop. // from using the old crop. t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setWindowCrop(leash, change.getEndAbsBounds().width(), t.setWindowCrop(leash, change.getEndAbsBounds().width(), change.getEndAbsBounds().height()); change.getEndAbsBounds().height()); } } Loading @@ -508,10 +507,6 @@ public class Transitions implements RemoteCallable<Transitions>, t.setMatrix(leash, 1, 0, 0, 1); t.setMatrix(leash, 1, 0, 0, 1); t.setAlpha(leash, 1.f); t.setAlpha(leash, 1.f); t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setWindowCrop(leash, change.getEndAbsBounds().width(), change.getEndAbsBounds().height()); } else { t.hide(leash); } } continue; continue; } } Loading services/core/java/com/android/server/wm/Transition.java +1 −9 Original line number Original line Diff line number Diff line Loading @@ -2468,15 +2468,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { for (WindowContainer<?> p = getAnimatableParent(wc); p != null; for (WindowContainer<?> p = getAnimatableParent(wc); p != null; p = getAnimatableParent(p)) { p = getAnimatableParent(p)) { final ChangeInfo parentChange = changes.get(p); final ChangeInfo parentChange = changes.get(p); if (parentChange == null) { if (parentChange == null || !parentChange.hasChanged()) break; break; } if (!parentChange.hasChanged()) { // In case the target is collected after the parent has been changed, it could // be too late to snapshot the parent change. Skip to see if there is any // parent window further up to be considered as change parent. continue; } if (p.mRemoteToken == null) { if (p.mRemoteToken == null) { // Intermediate parents must be those that has window to be managed by Shell. // Intermediate parents must be those that has window to be managed by Shell. continue; continue; Loading Loading
core/java/android/window/TransitionInfo.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -542,9 +542,6 @@ public final class TransitionInfo implements Parcelable { // independent either. // independent either. if (change.getMode() == TRANSIT_CHANGE) return false; if (change.getMode() == TRANSIT_CHANGE) return false; // Always fold the activity embedding change into the parent change. if (change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) return false; TransitionInfo.Change parentChg = info.getChange(change.getParent()); TransitionInfo.Change parentChg = info.getChange(change.getParent()); while (parentChg != null) { while (parentChg != null) { // If the parent is a visibility change, it will include the results of all child // If the parent is a visibility change, it will include the results of all child Loading
libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -496,7 +496,6 @@ public class Transitions implements RemoteCallable<Transitions>, if (mode == TRANSIT_TO_FRONT) { if (mode == TRANSIT_TO_FRONT) { // When the window is moved to front, make sure the crop is updated to prevent it // When the window is moved to front, make sure the crop is updated to prevent it // from using the old crop. // from using the old crop. t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setWindowCrop(leash, change.getEndAbsBounds().width(), t.setWindowCrop(leash, change.getEndAbsBounds().width(), change.getEndAbsBounds().height()); change.getEndAbsBounds().height()); } } Loading @@ -508,10 +507,6 @@ public class Transitions implements RemoteCallable<Transitions>, t.setMatrix(leash, 1, 0, 0, 1); t.setMatrix(leash, 1, 0, 0, 1); t.setAlpha(leash, 1.f); t.setAlpha(leash, 1.f); t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setPosition(leash, change.getEndRelOffset().x, change.getEndRelOffset().y); t.setWindowCrop(leash, change.getEndAbsBounds().width(), change.getEndAbsBounds().height()); } else { t.hide(leash); } } continue; continue; } } Loading
services/core/java/com/android/server/wm/Transition.java +1 −9 Original line number Original line Diff line number Diff line Loading @@ -2468,15 +2468,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { for (WindowContainer<?> p = getAnimatableParent(wc); p != null; for (WindowContainer<?> p = getAnimatableParent(wc); p != null; p = getAnimatableParent(p)) { p = getAnimatableParent(p)) { final ChangeInfo parentChange = changes.get(p); final ChangeInfo parentChange = changes.get(p); if (parentChange == null) { if (parentChange == null || !parentChange.hasChanged()) break; break; } if (!parentChange.hasChanged()) { // In case the target is collected after the parent has been changed, it could // be too late to snapshot the parent change. Skip to see if there is any // parent window further up to be considered as change parent. continue; } if (p.mRemoteToken == null) { if (p.mRemoteToken == null) { // Intermediate parents must be those that has window to be managed by Shell. // Intermediate parents must be those that has window to be managed by Shell. continue; continue; Loading