Home
last modified time | relevance | path

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

12345

/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp85 Transaction{}.reparent(childLayer, nullptr).apply(); in TEST_F()
90 Transaction{}.reparent(childLayer, mBackgroundLayer).apply(); in TEST_F()
134 Transaction{}.reparent(childLevel1, nullptr).apply(); in TEST_F()
142 Transaction{}.reparent(childLevel1, mForegroundLayer).apply(); in TEST_F()
179 Transaction{}.reparent(relativeToLayer, nullptr).apply(); in TEST_F()
190 Transaction{}.reparent(childLayer, nullptr).apply(); in TEST_F()
201 Transaction{}.reparent(childLayer, mForegroundLayer).apply(); in TEST_F()
248 Transaction{}.reparent(childLevel1b, nullptr).apply(); in TEST_F()
252 Transaction{}.reparent(childLevel1a, childLevel2a).apply(); in TEST_F()
266 Transaction{}.reparent(childLevel1b, mForegroundLayer).apply(); in TEST_F()
DMirrorLayer_test.cpp77 .reparent(mirrorLayer, mParentLayer) in TEST_F()
118 Transaction().reparent(grandchild, nullptr).apply(); in TEST_F()
134 Transaction().reparent(mChildLayer, nullptr).apply(); in TEST_F()
145 Transaction().reparent(grandchild, mChildLayer).apply(); in TEST_F()
156 Transaction().reparent(mChildLayer, mParentLayer).apply(); in TEST_F()
175 .reparent(mirrorLayer, mParentLayer) in TEST_F()
202 Transaction().reparent(bufferQueueLayer, nullptr).apply(); in TEST_F()
237 Transaction().reparent(layer, nullptr).apply(); in TEST_F()
288 Transaction().reparent(mirrorLayer, mParentLayer).apply(); in TEST_F()
331 Transaction().reparent(mirrorLayer, mirrorParent).show(mirrorLayer).apply(); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp89 Transaction().reparent(layerG, nullptr).apply(); in TEST_P()
151 Transaction().reparent(layerR, parent).reparent(layerG, parent).apply(); in TEST_P()
224 Transaction().setCornerRadius(child, cornerRadius).reparent(child, parent).show(child).apply(); in TEST_P()
255 .reparent(child, parent) in TEST_P()
290 .reparent(child, parent) in TEST_P()
326 .reparent(layer, parent) in TEST_P()
386 .reparent(layer, parent) in TEST_P()
457 .reparent(layer, parent) in TEST_P()
458 .reparent(child, layer) in TEST_P()
514 .reparent(child, parent) in TEST_P()
[all …]
DEffectLayer_test.cpp131 t.reparent(leftLayer, mParentLayer); in TEST_F()
134 t.reparent(rightLayer, mParentLayer); in TEST_F()
151 t.reparent(blurLayer, mParentLayer); in TEST_F()
DLayerUpdate_test.cpp415 Transaction().reparent(mChild, nullptr).apply(); in TEST_F()
424 asTransaction([&](Transaction& t) { t.reparent(mGrandChild, mFGSurfaceControl); }); in TEST_F()
448 t.reparent(mChild, nullptr); in TEST_F()
449 t.reparent(mGrandChild, mFGSurfaceControl); in TEST_F()
476 asTransaction([&](Transaction& t) { t.reparent(mChild, mBGSurfaceControl); }); in TEST_F()
506 asTransaction([&](Transaction& t) { t.reparent(mChild, nullptr); }); in TEST_F()
538 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl); }); in TEST_F()
DWindowInfosListener_test.cpp72 Transaction().reparent(surfaceControl, nullptr).apply(); in TEST_F()
/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/core/java/com/android/server/wm/
DSurfaceAnimator.java297 void reparent(Transaction t, SurfaceControl newParent) {
298 t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent);
333 t.reparent(surface, mLeash);
334 t.reparent(mLeash, parent);
430 final boolean reparent = surface != null && (curAnimationLeash == null
432 if (reparent) {
438 t.reparent(surface, parent);
447 if (reparent) {
478 t.reparent(surface, leash);
DTrustedOverlayHost.java70 t.reparent(mSurfaceControl, newParent); in setParent()
105 t.reparent(p.getSurfaceControl(), mSurfaceControl) in addOverlay()
118 t.reparent(l.getSurfaceControl(), null); in removeOverlay()
DContentRecorder.java264 .reparent(mDisplayContent.getWindowingLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
265 .reparent(mDisplayContent.getOverlayLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
388 .reparent(mRecordedSurface, mDisplayContent.getSurfaceControl()) in startRecordingIfNeeded()
393 .reparent(mDisplayContent.getWindowingLayer(), null) in startRecordingIfNeeded()
394 .reparent(mDisplayContent.getOverlayLayer(), null); in startRecordingIfNeeded()
DInputConsumerImpl.java144 void reparent(SurfaceControl.Transaction t, WindowContainer wc) { in reparent() method in InputConsumerImpl
145 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
DResetTargetTaskHelper.java219 p.reparent(targetTask, position, "resetTargetTaskIfNeeded"); in processResultActivities()
258 r.reparent(targetTask, 0 /* position */, "resetTargetTaskIfNeeded"); in processPendingReparentActivities()
DNavBarFadeAnimationController.java135 t.reparent(animationLeash, mParent); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTaskController.java362 mTransaction.reparent(mTaskLeash, mSurfaceControl) in onTaskAppeared()
393 mTransaction.reparent(taskLeash, null).apply(); in onTaskVanished()
421 t.reparent(sc, findTaskSurface(taskId)); in reparentChildSurfaceToTask()
471 mTransaction.reparent(mTaskLeash, mSurfaceControl) in surfaceCreated()
562 mTransaction.reparent(mTaskLeash, null).apply(); in surfaceDestroyed()
633 finishTransaction.reparent(mTaskLeash, null); in prepareHideAnimation()
670 startTransaction.reparent(mTaskLeash, mSurfaceControl) in prepareOpenAnimationInternal()
676 finishTransaction.reparent(mTaskLeash, mSurfaceControl) in prepareOpenAnimationInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppWindowTokenAnimationTests.java70 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipAfterAnim_boundsLayerIsCreated()
72 verify(mTransaction).reparent(eq(mActivity.mSurfaceAnimator.mLeash), in clipAfterAnim_boundsLayerIsCreated()
138 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipNoneAnim_boundsLayerIsNotCreated()
DWindowOrganizerTests.java864 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), info1.token, true /* onTop */); in testTileAddRemoveChild()
884 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), null, true /* onTop */); in testTileAddRemoveChild()
993 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), info1.token, true /* onTop */); in testTaskInfoCallback()
1002 wct.reparent(rootTask2.mRemoteToken.toWindowContainerToken(), in testTaskInfoCallback()
1018 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), in testTaskInfoCallback()
1020 wct.reparent(rootTask2.mRemoteToken.toWindowContainerToken(), in testTaskInfoCallback()
1060 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), in testHierarchyTransaction()
1063 wct.reparent(rootTask2.mRemoteToken.toWindowContainerToken(), in testHierarchyTransaction()
1074 wct.reparent(rootTask2.mRemoteToken.toWindowContainerToken(), in testHierarchyTransaction()
1110 wct.reparent(rootTask2.mRemoteToken.toWindowContainerToken(), null, true /* onTop */); in testHierarchyTransaction()
[all …]
DRecentsAnimationControllerTest.java588 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
613 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
624 verify(transaction).reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
641 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testAddTaskToTargets_expectAnimation()
687 verify(transaction).reparent(navToken.getSurfaceControl(), secondary.getSurfaceControl()); in testAttachNavBarInSplitScreenMode()
696 verify(transaction).reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in testAttachNavBarInSplitScreenMode()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageTaskListener.java299 t.reparent(sc, findTaskSurface(taskId)); in reparentChildSurfaceToTask()
355 wct.reparent(task.token, mRootTaskInfo.token, true /* onTop*/); in addTask()
378 wct.reparent(taskInfo.token, null /* parent */, false /* onTop */); in evictAllChildren()
387 wct.reparent(taskInfo.token, null /* parent */, false /* onTop */); in evictOtherChildren()
402 wct.reparent(taskInfo.token, null /* parent */, false /* onTop */); in evictNonOpeningChildren()
412 wct.reparent(taskInfo.token, null /* parent */, false /* onTop */); in evictInvisibleChildren()
421 wct.reparent(taskInfo.token, null /* parent */, false /* onTop */); in evictChildren()
DSideStage.java70 wct.reparent(task.token, newParent, false /* onTop */); in removeTask()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSideStageTests.java81 verify(mWct).reparent(eq(task.token), eq(mRootTask.token), eq(true)); in testAddTask()
91 verify(mWct).reparent(eq(task.token), isNull(), eq(false)); in testRemoveTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipContentOverlay.java91 tx.reparent(mLeash, parentLeash); in attach()
144 tx.reparent(mLeash, parentLeash); in attach()
213 tx.reparent(mLeash, parentLeash); in attach()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DCounterRotator.java72 t.reparent(child, mSurface); in addChild()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DScreenshotUtils.java79 mTransaction.reparent(mScreenshot, mParentSurfaceControl); in accept()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp561 t.reparent(sc, parentSurface->mSurfaceControl); in TEST_F()
873 t.reparent(sc, parentSurface->mSurfaceControl); in TEST_F()
897 t.reparent(sc, parentSurface->mSurfaceControl); in TEST_F()
1014 t.reparent(sc, parentSurface->mSurfaceControl); in TEST_F()
1035 t.reparent(sc, parentSurface->mSurfaceControl); in TEST_F()
1099 [&](auto& t, auto& sc) { t.reparent(sc, parentContainer->mSurfaceControl); }); in TEST_F()
1124 [&](auto& t, auto& sc) { t.reparent(sc, parentContainer->mSurfaceControl); }); in TEST_F()
1176 [&](auto& t, auto& sc) { t.reparent(sc, parent->mSurfaceControl); }); in TEST_F()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java119 t.reparent(mLeash, getSurfaceControl()) in reparentLeash()

12345