Home
last modified time | relevance | path

Searched refs:reparent (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java207 void reparent(Transaction t, SurfaceControl newParent) {
208 t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent);
237 t.reparent(surface, mLeash);
238 t.reparent(mLeash, parent);
289 final boolean reparent = mLeash != null && surface != null;
290 if (reparent) {
295 t.reparent(surface, parent);
307 if (reparent) {
330 t.reparent(surface, leash);
DAppWindowThumbnail.java118 t.reparent(mSurfaceControl, appToken.getSurfaceControl()); in AppWindowThumbnail()
193 t.reparent(leash, mAppToken.getSurfaceControl()); in onAnimationLeashCreated()
DTaskRecord.java638 boolean reparent(ActivityStack preferredStack, boolean toTop, in reparent() method in TaskRecord
641 return reparent(preferredStack, toTop ? MAX_VALUE : 0, moveStackMode, animate, deferResume, in reparent()
649 boolean reparent(ActivityStack preferredStack, boolean toTop, in reparent() method in TaskRecord
652 return reparent(preferredStack, toTop ? MAX_VALUE : 0, moveStackMode, animate, in reparent()
657 boolean reparent(ActivityStack preferredStack, int position, in reparent() method in TaskRecord
660 return reparent(preferredStack, position, moveStackMode, animate, deferResume, in reparent()
683 boolean reparent(ActivityStack preferredStack, int position, in reparent() method in TaskRecord
744 mTask.reparent(toStack.getTaskStack(), position, in reparent()
DRootActivityContainer.java968 stack.reparent(activityDisplay, onTop, false /* displayRemoved */); in moveStackToDisplay()
1029 task.reparent(stack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, DEFER_RESUME, in moveActivityToPinnedStack()
1043 r.reparent(newTask, MAX_VALUE, "moveActivityToStack"); in moveActivityToPinnedStack()
1046 newTask.reparent(stack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, in moveActivityToPinnedStack()
2221 task.reparent(launchStack, onTop, reparentMode, ANIMATE, DEFER_RESUME, in anyTaskForId()
DActivityStarter.java2169 intentTask.reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2187 intentActivity.getTaskRecord().reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2197 intentActivity.getTaskRecord().reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2414 sourceTask.reparent(mTargetStack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, in setTaskFromSourceRecord()
2513 mInTask.reparent(stack, ON_TOP, REPARENT_KEEP_STACK_AT_FRONT, !ANIMATE, in setTaskFromInTask()
2577 mStartActivity.reparent(parent, parent.mActivities.size() /* top */, reason); in addOrReparentStartingActivity()
DAppWindowToken.java1306 void reparent(Task task, int position) { in reparent() method in AppWindowToken
1766 t.reparent(getSurfaceControl(), mTransitChangeLeash); in initializeChangeTransition()
2744 t.reparent(mSurfaceControl, newParent); in reparentSurfaceControl()
2807 t.reparent(leash, mAnimationBoundsLayer); in onAnimationLeashCreated()
2897 t.reparent(sc, getParentSurfaceControl()); in clearChangeLeash()
DTask.java214 void reparent(TaskStack stack, int position, boolean moveParents) { in reparent() method in Task
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java88 task.reparent(stackController1, 0, false/* moveParents */); in testReparent()
96 task.reparent(null, 0, false/* moveParents */); in testReparent()
103 task.reparent(stackController2, 0, false/* moveParents */); in testReparent()
122 task.reparent(stack2, 0, false /* moveParents */); in testReparent_BetweenDisplays()
DAppWindowTokenAnimationTests.java74 verify(mTransaction).reparent(eq(mToken.getSurfaceControl()), in clipAfterAnim_boundsLayerIsCreated()
76 verify(mTransaction).reparent(eq(mToken.mSurfaceAnimator.mLeash), in clipAfterAnim_boundsLayerIsCreated()
127 verify(mTransaction).reparent(eq(mToken.getSurfaceControl()), in clipNoneAnim_boundsLayerIsNotCreated()
DAppChangeTransitionTests.java150 mStack.reparent(mDisplayContent.getDisplayId(), new Rect(), true); in testNoChangeWhenMoveDisplay()
DStubTransaction.java161 public SurfaceControl.Transaction reparent(SurfaceControl sc, SurfaceControl newParent) { in reparent() method in StubTransaction
DTaskStackTests.java167 stack1.reparent(dc.getDisplayId(), new Rect(), true /* onTop */); in testReparent()
DAppTransitionTests.java180 stack1.reparent(dc2.getDisplayId(), new Rect(), true); in testCleanAppTransitionWhenTaskStackReparent()
DActivityRecordTests.java130 mActivity.reparent(newTask, 0, null /*reason*/); in testNoCleanupMovingActivityInSameStack()
508 mStack.reparent(newDisplay, true /* onTop */, false /* displayRemoved */); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
DSurfaceAnimatorTest.java94 verify(mTransaction).reparent(eq(mAnimatable.mSurface), eq(mAnimatable.mLeash)); in testRunAnimation()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java70 ChangeBounds reparent = new ChangeBounds();
71 reparent.setReparent(true);
72 TransitionManager.go(newScene, reparent);
/frameworks/native/libs/gui/
DSurfaceControl.cpp77 SurfaceComposerClient::Transaction().reparent(this, nullptr).apply(); in destroy()
/frameworks/base/core/java/android/transition/
DChangeTransform.java177 public void setReparent(boolean reparent) { in setReparent() argument
178 mReparent = reparent; in setReparent()
DChangeBounds.java232 public void setReparent(boolean reparent) { in setReparent() argument
233 mReparent = reparent; in setReparent()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp979 .reparent(layerR, parent->getHandle()) in TEST_P()
980 .reparent(layerG, parent->getHandle()) in TEST_P()
1062 .reparent(layerB, parent->getHandle()) in TEST_P()
1627 .reparent(child, parent->getHandle()) in TEST_P()
1915 .reparent(colorLayer, parentLayer->getHandle()) in TEST_P()
2498 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2515 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2545 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2986 Transaction().reparent(layer, layer->getHandle()).apply(); in TEST_F()
4717 t.reparent(mGrandChild, mFGSurfaceControl->getHandle()); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControl.java1036 public void reparent(SurfaceControl newParent) { in reparent() method in SurfaceControl
1038 sGlobalTransaction.reparent(this, newParent); in reparent()
2427 public Transaction reparent(@NonNull SurfaceControl sc, in reparent() method in SurfaceControl.Transaction
2655 reparent(sc, null); in remove()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp354 t.reparent(sc, parentSurface->mSurfaceControl->getHandle()); in TEST_F()
/frameworks/base/core/java/android/app/
DActivityView.java442 mTmpTransaction.reparent(mRootSurfaceControl, in surfaceCreated()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h385 Transaction& reparent(const sp<SurfaceControl>& sc,
/frameworks/base/native/android/
Dsurface_control.cpp319 transaction->reparent(surfaceControl, newParentHandle); in ASurfaceTransaction_reparent()

12