/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayImeController.java | 297 canAnimate = hasImeSourceControl && imeSourceControl.getLeash() != null; in insetsControlChanged() 354 SurfaceControl leash = imeSourceControl.getLeash(); in applyVisibilityToLeash() 455 if (mImeSourceControl == null || mImeSourceControl.getLeash() == null) { in startAnimation() 522 mImeSourceControl != null && mImeSourceControl.getLeash() != null)) { in startAnimation() 523 t.setPosition(mImeSourceControl.getLeash(), x, value); in startAnimation() 526 t.setAlpha(mImeSourceControl.getLeash(), alpha); in startAnimation() 544 t.setPosition(mImeSourceControl.getLeash(), x, value); in startAnimation() 556 t.setAlpha(mImeSourceControl.getLeash(), alpha); in startAnimation() 560 t.show(mImeSourceControl.getLeash()); in startAnimation() 566 Objects.toString(mImeSourceControl.getLeash()), in startAnimation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/ |
D | TransitionUtil.java | 173 t.reparent(leash, info.getRoot(rootIdx).getLeash()); in setupLeash() 229 return change.getLeash(); in createLeash() 233 .setName(change.getLeash().toString() + "_transition-leash") in createLeash() 237 .setParent(info.getRoot(rootIdx).getLeash()) in createLeash() 241 t.reparent(change.getLeash(), leashSurface); in createLeash() 242 t.setAlpha(change.getLeash(), 1.0f); in createLeash() 243 t.show(change.getLeash()); in createLeash() 247 t.setPosition(change.getLeash(), 0, 0); in createLeash() 249 t.setLayer(change.getLeash(), 0); in createLeash() 270 leashMap.put(change.getLeash(), leash); in newTarget()
|
/frameworks/base/core/java/android/view/ |
D | InsetsSourceConsumer.java | 165 final SurfaceControl oldLeash = lastControl != null ? lastControl.getLeash() : null; in setControl() 166 final SurfaceControl newLeash = control.getLeash(); in setControl() 318 && mSourceControl.getLeash() == null) { in applyLocalVisibilityOverride() 425 if (mSourceControl == null || mSourceControl.getLeash() == null) { in applyRequestedVisibilityToControl() 433 t.show(mSourceControl.getLeash()); in applyRequestedVisibilityToControl() 435 t.hide(mSourceControl.getLeash()); in applyRequestedVisibilityToControl() 438 t.setAlpha(mSourceControl.getLeash(), requestedVisible ? 1 : 0); in applyRequestedVisibilityToControl()
|
D | ImeInsetsSourceConsumer.java | 229 final boolean hasLeash = control != null && control.getLeash() != null; in setControl() 247 return control != null && control.getLeash() != null; in hasLeash()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteAnimationRunnerCompat.java | 102 if (!leashMap.containsKey(change.getLeash())) continue; in wrap() 126 counterLauncher.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap() 144 final SurfaceControl leash = leashMap.get(change.getLeash()); in wrap() 162 counterLauncher.addChild(t, leashMap.get(launcherTask.getLeash())); in wrap() 167 counterWallpaper.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap() 175 counterWallpaper.addChild(t, leashMap.get(wallpaper.getLeash())); in wrap()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsSourceProviderTest.java | 161 assertNull(mProvider.getControl(target).getLeash()); in testUpdateControlForFakeTarget() 179 assertNull(mProvider.getLeash(target)); in testGetLeash() 188 assertNull(mProvider.getLeash(target)); in testGetLeash() 192 assertNotNull(mProvider.getLeash(target)); in testGetLeash() 199 assertNull(mProvider.getLeash(fakeTarget)); in testGetLeash() 205 assertNull(mProvider.getLeash(otherTarget)); in testGetLeash()
|
D | InsetsPolicyTest.java | 286 assertNull(controls[i].getLeash()); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() 317 assertNull(controls[i].getLeash()); in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl() 319 assertNotNull(controls[i].getLeash()); in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl() 347 assertNull(controls[i].getLeash()); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 372 assertNotNull(controls[i].getLeash()); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentsTransitionHandler.java | 500 .mapToObj((rootIndex) -> info.getRoot(rootIndex).getLeash()) in start() 561 t.setLayer(change.getLeash(), layer); in start() 568 t.setLayer(change.getLeash(), layer); in start() 812 t.show(recentsOpening.getLeash()); in merge() 813 t.setAlpha(recentsOpening.getLeash(), 1.f); in merge() 882 t.show(change.getLeash()); in merge() 883 t.setAlpha(change.getLeash(), 1.f); in merge() 892 t.reparent(target.leash, mInfo.getRoot(rootIdx).getLeash()); in merge() 900 t.setAlpha(change.getLeash(), 1f); in merge() 912 t.setLayer(change.getLeash(), layer); in merge() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ShellTaskOrganizer.java | 322 updateTaskListenerIfNeeded(info.getTaskInfo(), info.getLeash(), oldListener, listener); in addListenerForTaskId() 346 listener.onTaskAppeared(data.getTaskInfo(), data.getLeash()); in addListenerForType() 382 updateTaskListenerIfNeeded(data.getTaskInfo(), data.getLeash(), in removeListener() 501 listener.onTaskAppeared(info.getTaskInfo(), info.getLeash()); in onTaskAppeared() 504 mUnfoldAnimationController.onTaskAppeared(info.getTaskInfo(), info.getLeash()); in onTaskAppeared() 511 t.reparent(mHomeTaskOverlayContainer, info.getLeash()); in onTaskAppeared() 529 ScreenshotUtils.captureLayer(info.getLeash(), crop, consumer); in screenshotTask() 545 mTasks.put(taskInfo.taskId, new TaskAppearedInfo(taskInfo, data.getLeash())); in onTaskInfoChanged() 547 taskInfo, data.getLeash(), oldListener, newListener); in onTaskInfoChanged() 618 if (!ENABLE_SHELL_TRANSITIONS && (appearedInfo.getLeash() != null)) { in onTaskVanished() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionObserver.java | 124 change.getTaskInfo(), change.getLeash(), startT, finishT); in onOpenTransitionReady() 139 change.getTaskInfo(), change.getLeash(), startT, finishT); in onChangeTransitionReady() 147 change.getTaskInfo(), change.getLeash(), startT, finishT); in onToFrontTransitionReady()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenTransitions.java | 143 final SurfaceControl leash = change.getLeash(); in playInternalAnimation() 151 t.show(parentChange.getLeash()); in playInternalAnimation() 152 t.setAlpha(parentChange.getLeash(), 1.f); in playInternalAnimation() 155 t.reparent(parentChange.getLeash(), info.getRoot(rootIdx).getLeash()); in playInternalAnimation() 156 t.setLayer(parentChange.getLeash(), info.getChanges().size() - i); in playInternalAnimation() 158 mFinishTransaction.reparent(leash, parentChange.getLeash()); in playInternalAnimation() 212 t.reparent(change.getSnapshot(), info.getRoot(rootIdx).getLeash()); in playInternalAnimation() 238 final SurfaceControl leash = change.getLeash(); in playDragDismissAnimation() 279 final SurfaceControl leash = change.getLeash(); in playResizeAnimation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | DefaultTransitionHandler.java | 378 startTransaction.setPosition(change.getLeash(), in startAnimation() 383 startTransaction.setWindowCrop(change.getLeash(), in startAnimation() 399 startTransaction.setPosition(change.getLeash(), in startAnimation() 408 startTransaction.setWindowCrop(change.getLeash(), in startAnimation() 423 startTransaction.hide(change.getLeash()); in startAnimation() 455 startTransaction.setLayer(change.getLeash(), layer); in startAnimation() 458 startTransaction.setLayer(change.getLeash(), layer); in startAnimation() 470 startTransaction.setLayer(change.getLeash(), layer); in startAnimation() 530 .setParent(animRoot.getLeash()) in startAnimation() 536 startTransaction.reparent(change.getLeash(), leash); in startAnimation() [all …]
|
D | CounterRotatorHelper.java | 69 crot.setup(startTransaction, info.getChange(parent).getLeash(), rotationDelta, in handleClosingChanges() 81 crot.addChild(startTransaction, change.getLeash()); in handleClosingChanges()
|
D | TransitionAnimationHelper.java | 330 createExtensionSurface(change.getLeash(), edgeBounds, extensionRect, xPos, yPos, in edgeExtendWindow() 340 createExtensionSurface(change.getLeash(), edgeBounds, extensionRect, xPos, yPos, in edgeExtendWindow() 351 createExtensionSurface(change.getLeash(), edgeBounds, extensionRect, xPos, yPos, in edgeExtendWindow() 362 createExtensionSurface(change.getLeash(), edgeBounds, extensionRect, xPos, yPos, in edgeExtendWindow()
|
D | MixedTransitionHelper.java | 101 startTransaction.show(wallpaper.getLeash()).setAlpha(wallpaper.getLeash(), 1.f); in animateEnterPipFromSplit()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipTransition.java | 210 activitySc = change.getLeash(); in startAnimation() 230 final SurfaceControl activitySurface = pipChange.getLeash(); in startAnimation() 235 .setParent(root.getLeash()) in startAnimation() 244 pipLeash = pipChange.getLeash(); in startAnimation() 245 startTransaction.reparent(pipLeash, root.getLeash()); in startAnimation() 291 final SurfaceControl leash = change.getLeash(); in startAnimation() 314 finishTransaction.setWindowCrop(info.getChanges().get(0).getLeash(), in removePipImmediately() 329 final SurfaceControl pipLeash = pipTaskChange.getLeash(); in startCloseAnimation() 334 closeLeashes.add(change.getLeash()); in startCloseAnimation() 405 final SurfaceControl leash = pipChange.getLeash(); in startEnterAnimation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitions.java | 383 startTransaction.hide(chg.getLeash()); in startAnimation() 416 chg.getTaskInfo(), chg.getLeash(), wct); in startAnimation() 428 startTransaction.reparent(chg.getLeash(), tv.getSurfaceControl()); in startAnimation() 429 finishTransaction.reparent(chg.getLeash(), tv.getSurfaceControl()) in startAnimation() 430 .setPosition(chg.getLeash(), 0, 0); in startAnimation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTransition.java | 649 activitySc = change.getLeash(); in startExitAnimation() 680 final SurfaceControl activitySurface = pipChange.getLeash(); in startExitAnimation() 685 .setParent(root.getLeash()) in startExitAnimation() 693 pipLeash = pipChange.getLeash(); in startExitAnimation() 694 startTransaction.reparent(pipLeash, root.getLeash()); in startExitAnimation() 823 mSurfaceTransactionHelper.rotateAndScaleWithCrop(startTransaction, pipChange.getLeash(), in startExpandAndRotationAnimation() 831 mPipAnimationController.getAnimator(taskInfo, pipChange.getLeash(), in startExpandAndRotationAnimation() 950 final SurfaceControl leash = change.getLeash(); in startEnterAnimation() 957 final SurfaceControl leash = change.getLeash(); in startEnterAnimation() 984 final SurfaceControl leash = pipChange.getLeash(); in startEnterAnimation() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WallpaperAnimationAdapter.java | 98 mTarget = new RemoteAnimationTarget(-1, -1, getLeash(), false, null, null, in createRemoteAnimationTarget() 108 SurfaceControl getLeash() { in getLeash() method in WallpaperAnimationAdapter
|
D | NonAppWindowAnimationAdapter.java | 146 mTarget = new RemoteAnimationTarget(-1, -1, getLeash(), false, in createRemoteAnimationTarget() 196 SurfaceControl getLeash() { in getLeash() method in NonAppWindowAnimationAdapter
|
D | ImeInsetsSourceProvider.java | 407 if (mControl != null && mControl.getLeash() != null in checkAndStartShowImePostLayout() 503 if (getLeash(controlTarget) == null) { in isScheduledAndReadyToShowIme() 548 final boolean hasLeash = getLeash(controlTarget) != null; in logIsScheduledAndReadyToShowIme()
|
/frameworks/base/core/java/android/window/ |
D | DisplayAreaAppearedInfo.java | 85 public SurfaceControl getLeash() { in getLeash() method in DisplayAreaAppearedInfo
|
D | TaskAppearedInfo.java | 83 public SurfaceControl getLeash() { in getLeash() method in TaskAppearedInfo
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationRunner.java | 378 return new ActivityEmbeddingAnimationAdapter(animation, change, change.getLeash(), in createOpenCloseAnimationAdapter() 517 t.reparent(screenshotLeash, animationChange.getLeash()); in getOrCreateScreenshot() 524 return ScreenshotUtils.takeScreenshot(t, screenshotChange.getLeash(), in getOrCreateScreenshot() 525 animationChange.getLeash(), cropBounds, Integer.MAX_VALUE); in getOrCreateScreenshot() 602 final SurfaceControl leash = change.getLeash(); in prepareForJumpCut()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTransition.java | 212 extra.putParcelable(PIP_TASK_LEASH, pipChange.getLeash()); in startAnimation() 256 SurfaceControl pipLeash = pipChange.getLeash(); in startResizeAnimation() 290 SurfaceControl pipLeash = pipChange.getLeash(); in handleSwipePipToHomeTransition()
|