Searched refs:rootIdx (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/ |
H A D | TransitionUtil.java | 162 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in setupLeash() local 163 t.reparent(leash, info.getRoot(rootIdx).getLeash()); in setupLeash() 166 t.setPosition(leash, absBounds.left - info.getRoot(rootIdx).getOffset().x, in setupLeash() 167 absBounds.top - info.getRoot(rootIdx).getOffset().y); in setupLeash() 221 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in createLeash() local 227 .setParent(info.getRoot(rootIdx).getLeash()) in createLeash() 348 int rootIdx = info.findRootIndex(change.getEndDisplayId()); in rootIndexFor() local 349 if (rootIdx >= 0) return rootIdx; in rootIndexFor() 350 rootIdx = info.findRootIndex(change.getStartDisplayId()); in rootIndexFor() 351 if (rootIdx >= 0) return rootIdx; in rootIndexFor()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | DefaultTransitionHandler.java | 395 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in startAnimation() local 397 change.getEndAbsBounds().left - info.getRoot(rootIdx).getOffset().x, in startAnimation() 398 change.getEndAbsBounds().top - info.getRoot(rootIdx).getOffset().y); in startAnimation() 621 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in startRotationAnimation() local 623 mTransactionPool, startTransaction, change, info.getRoot(rootIdx).getLeash(), in startRotationAnimation()
|
H A D | Transitions.java | 554 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in setupAnimHierarchy() local 556 t.reparent(leash, info.getRoot(rootIdx).getLeash()); in setupAnimHierarchy() 558 change.getStartAbsBounds().left - info.getRoot(rootIdx).getOffset().x, in setupAnimHierarchy() 559 change.getStartAbsBounds().top - info.getRoot(rootIdx).getOffset().y); in setupAnimHierarchy()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | SplitScreenTransitions.java | 137 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in playInternalAnimation() local 146 t.reparent(parentChange.getLeash(), info.getRoot(rootIdx).getLeash()); in playInternalAnimation() 203 t.reparent(change.getSnapshot(), info.getRoot(rootIdx).getLeash()); in playInternalAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
H A D | RecentsTransitionHandler.java | 737 final int rootIdx = TransitionUtil.rootIndexFor(change, mInfo); in merge() local 739 t.reparent(target.leash, mInfo.getRoot(rootIdx).getLeash()); in merge()
|