Home
last modified time | relevance | path

Searched refs:pinnedTask (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskDisplayAreaTests.java210 Task pinnedTask = createTask( in testRootTaskPositionChildAt() local
213 assertFalse(pinnedTask.isVisible()); in testRootTaskPositionChildAt()
215 pinnedTask.addChild(pinnedApp, 0 /* addPos */); in testRootTaskPositionChildAt()
216 assertTrue(pinnedTask.isVisible()); in testRootTaskPositionChildAt()
226 final int pinnedTaskPos = taskContainer.mChildren.indexOf(pinnedTask); in testRootTaskPositionChildAt()
230 taskContainer.positionChildAt(WindowContainer.POSITION_BOTTOM, pinnedTask, false); in testRootTaskPositionChildAt()
233 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt() local
235 taskContainer.positionChildAt(1, pinnedTask, false); in testRootTaskPositionChildAt()
238 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt() local
243 Task pinnedTask = createTask( in testRootTaskPositionBelowPinnedRootTask() local
[all …]
DRootWindowContainerTests.java472 final Task pinnedTask = defaultTaskDisplayArea.createRootTask( in testFocusability() local
475 .setTask(pinnedTask).build(); in testFocusability()
478 assertFalse(pinnedTask.isTopActivityFocusable()); in testFocusability()
485 assertTrue(pinnedTask.isTopActivityFocusable()); in testFocusability()
DDisplayContentTests.java1492 final Task pinnedTask = pinnedActivity.getRootTask(); in testFixedRotationWithPip() local
1496 pinnedTask.setWindowingMode(WINDOWING_MODE_PINNED); in testFixedRotationWithPip()
1501 clearInvocations(pinnedTask); in testFixedRotationWithPip()
1505 displayContent.mPinnedTaskController.setEnterPipBounds(pinnedTask.getBounds()); in testFixedRotationWithPip()
1507 verify(pinnedTask, never()).onConfigurationChanged(any()); in testFixedRotationWithPip()
1521 pinnedTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testFixedRotationWithPip()
1523 assertFalse(displayContent.mPinnedTaskController.isFreezingTaskConfig(pinnedTask)); in testFixedRotationWithPip()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java251 final Task pinnedTask = taskArea.getRootPinnedTask(); in startSeamlessRotationIfNeeded() local
252 if (pinnedTask == null) { in startSeamlessRotationIfNeeded()
275 final SurfaceControl leash = pinnedTask.getSurfaceControl(); in startSeamlessRotationIfNeeded()
282 final PictureInPictureParams params = pinnedTask.getPictureInPictureParams(); in startSeamlessRotationIfNeeded()
290 if (pinnedTask.getDisplayCutoutInsets() != null) { in startSeamlessRotationIfNeeded()
293 Insets.of(pinnedTask.getDisplayCutoutInsets()), rotationBackDelta).toRect(); in startSeamlessRotationIfNeeded()
307 t.setMatrix(pinnedTask.getSurfaceControl(), matrix, new float[9]); in startSeamlessRotationIfNeeded()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipController.java280 final TaskInfo pinnedTask = getPinnedTaskInfo(); in checkIfPinnedTaskAppeared() local
281 if (DEBUG) Log.d(TAG, "checkIfPinnedTaskAppeared(), task=" + pinnedTask); in checkIfPinnedTaskAppeared()
282 if (pinnedTask == null || pinnedTask.topActivity == null) return; in checkIfPinnedTaskAppeared()
283 mPinnedTaskId = pinnedTask.taskId; in checkIfPinnedTaskAppeared()
287 mPipNotificationController.show(pinnedTask.topActivity.getPackageName()); in checkIfPinnedTaskAppeared()