Home
last modified time | relevance | path

Searched refs:reparent (Results 1 – 25 of 45) 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.java967 stack.reparent(activityDisplay, onTop, false /* displayRemoved */); in moveStackToDisplay()
1028 task.reparent(stack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, DEFER_RESUME, in moveActivityToPinnedStack()
1042 r.reparent(newTask, MAX_VALUE, "moveActivityToStack"); in moveActivityToPinnedStack()
1045 newTask.reparent(stack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, in moveActivityToPinnedStack()
2200 task.reparent(launchStack, onTop, reparentMode, ANIMATE, DEFER_RESUME, in anyTaskForId()
DActivityStarter.java2150 intentTask.reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2168 intentActivity.getTaskRecord().reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2178 intentActivity.getTaskRecord().reparent(launchStack, ON_TOP, in setTargetStackAndMoveToFrontIfNeeded()
2395 sourceTask.reparent(mTargetStack, ON_TOP, REPARENT_MOVE_STACK_TO_FRONT, !ANIMATE, in setTaskFromSourceRecord()
2494 mInTask.reparent(stack, ON_TOP, REPARENT_KEEP_STACK_AT_FRONT, !ANIMATE, in setTaskFromInTask()
2558 mStartActivity.reparent(parent, parent.mActivities.size() /* top */, reason); in addOrReparentStartingActivity()
DAppWindowToken.java1290 void reparent(Task task, int position) { in reparent() method in AppWindowToken
1750 t.reparent(getSurfaceControl(), mTransitChangeLeash); in initializeChangeTransition()
2728 t.reparent(mSurfaceControl, newParent); in reparentSurfaceControl()
2791 t.reparent(leash, mAnimationBoundsLayer); in onAnimationLeashCreated()
2881 t.reparent(sc, getParentSurfaceControl()); in clearChangeLeash()
DTask.java214 void reparent(TaskStack stack, int position, boolean moveParents) { in reparent() method in Task
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java70 ChangeBounds reparent = new ChangeBounds();
71 reparent.setReparent(true);
72 TransitionManager.go(newScene, reparent);
/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.java166 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.java124 mActivity.reparent(newTask, 0, null /*reason*/); in testNoCleanupMovingActivityInSameStack()
502 mStack.reparent(newDisplay, true /* onTop */, false /* displayRemoved */); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
DSurfaceAnimatorTest.java94 verify(mTransaction).reparent(eq(mAnimatable.mSurface), eq(mAnimatable.mLeash)); in testRunAnimation()
/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.cpp975 .reparent(layerR, parent->getHandle()) in TEST_P()
976 .reparent(layerG, parent->getHandle()) in TEST_P()
1058 .reparent(layerB, parent->getHandle()) in TEST_P()
1623 .reparent(child, parent->getHandle()) in TEST_P()
1911 .reparent(colorLayer, parentLayer->getHandle()) in TEST_P()
2435 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2452 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2482 Transaction().reparent(child, parent->getHandle()).apply(); in TEST_P()
2923 Transaction().reparent(layer, layer->getHandle()).apply(); in TEST_F()
4654 t.reparent(mGrandChild, mFGSurfaceControl->getHandle()); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControl.java1051 public void reparent(SurfaceControl newParent) { in reparent() method in SurfaceControl
1053 sGlobalTransaction.reparent(this, newParent); in reparent()
2457 public Transaction reparent(@NonNull SurfaceControl sc, in reparent() method in SurfaceControl.Transaction
2685 reparent(sc, null); in remove()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp384 t.reparent(sc, parentSurface->mSurfaceControl->getHandle()); in TEST_F()
/frameworks/base/core/java/android/app/
DActivityView.java417 mTmpTransaction.reparent(mRootSurfaceControl, in surfaceCreated()
/frameworks/base/native/android/
Dsurface_control.cpp319 transaction->reparent(surfaceControl, newParentHandle); in ASurfaceTransaction_reparent()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h386 Transaction& reparent(const sp<SurfaceControl>& sc,

12