/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotCacheTest.java | 54 mCache.putSnapshot(window.getTask(), createSnapshot()); in testAppRemoved() 55 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved() 58 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved() 65 mCache.putSnapshot(window.getTask(), createSnapshot()); in testAppDied() 66 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied() 69 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied() 76 mCache.putSnapshot(window.getTask(), createSnapshot()); in testTaskRemoved() 77 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved() 79 mCache.onTaskRemoved(window.getTask().mTaskId); in testTaskRemoved() 80 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved() [all …]
|
D | RecentsAnimationControllerTest.java | 96 AnimationAdapter adapter = mController.addAnimation(appWindow.getTask(), in testRemovedBeforeStarted_expectCanceled() 115 AnimationAdapter adapter = mController.addAnimation(appWindow.getTask(), in testCancelAfterRemove_expectIgnored() 145 assertTrue(mController.isAnimatingTask(homeAppWindow.getTask())); in testIncludedApps_expectTargetAndVisible() 146 assertTrue(mController.isAnimatingTask(appWindow.getTask())); in testIncludedApps_expectTargetAndVisible() 147 assertFalse(mController.isAnimatingTask(hiddenAppWindow.getTask())); in testIncludedApps_expectTargetAndVisible() 157 assertEquals(appWindow.getTask().getTopVisibleAppToken(), appWindow); in testDeferCancelAnimation() 160 mController.addAnimation(appWindow.getTask(), false /* isRecentTaskInvisible */); in testDeferCancelAnimation() 161 assertTrue(mController.isAnimatingTask(appWindow.getTask())); in testDeferCancelAnimation() 180 assertEquals(appWindow.getTask().getTopVisibleAppToken(), appWindow); in testDeferCancelAnimationWithScreenShot() 183 mController.addAnimation(appWindow.getTask(), false /* isRecentTaskInvisible */); in testDeferCancelAnimationWithScreenShot() [all …]
|
D | TaskSnapshotControllerTest.java | 58 assertEquals(closingWindow.mAppToken.getTask(), closingTasks.valueAt(0)); in testGetClosingApps_closing() 65 final WindowState openingWindow = createAppWindow(closingWindow.getTask(), in testGetClosingApps_notClosing() 88 Sets.newArraySet(closingWindow.mAppToken.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks() 99 mWm.mTaskSnapshotController.getSnapshotMode(disabledWindow.getTask())); in testGetSnapshotMode() 104 mWm.mTaskSnapshotController.getSnapshotMode(normalWindow.getTask())); in testGetSnapshotMode() 110 mWm.mTaskSnapshotController.getSnapshotMode(secureWindow.getTask())); in testGetSnapshotMode()
|
D | AnimatingAppWindowTokenRegistryTest.java | 65 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testDeferring() 88 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved()
|
D | AppTransitionControllerTest.java | 117 Task task = opening.getTask(); in testTransitWithinTask() 121 closing.getTask().removeChild(closing); in testTransitWithinTask()
|
D | TaskPositioningControllerTests.java | 127 when(content.findTaskForResizePoint(anyInt(), anyInt())).thenReturn(mWindow.getTask()); in testHandleTapOutsideTask() 128 assertNotNull(mWindow.getTask().getTopVisibleAppMainWindow()); in testHandleTapOutsideTask()
|
D | WindowFrameTests.java | 277 final Task task = w.getTask(); in testLayoutNonfullscreenTask() 395 final Task task = w.getTask(); in testLayoutLetterboxedWindow() 456 final Task task = w.getTask(); in testDisplayCutout_tempDisplayedBounds() 482 final Task task = w.getTask(); in testFreeformContentInsets()
|
D | ActivityStackTests.java | 96 assertNotNull(mTask.getTask()); in testEmptyTaskCleanupOnRemove() 98 assertNull(mTask.getTask()); in testEmptyTaskCleanupOnRemove() 104 assertNotNull(mTask.getTask()); in testOccupiedTaskCleanupOnRemove() 106 assertNotNull(mTask.getTask()); in testOccupiedTaskCleanupOnRemove()
|
D | DisplayContentTests.java | 121 exitingAppToken.getTask().mStack.mExitingAppTokens.add(exitingAppToken); in testForAllWindows() 662 window.getTask().mTaskRecord = mock(TaskRecord.class, ExtendedMockito.RETURNS_DEEP_STUBS); in testOnDescendantOrientationRequestChanged() 688 window.getTask().mTaskRecord = mock(TaskRecord.class, ExtendedMockito.RETURNS_DEEP_STUBS); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
|
D | RemoteAnimationControllerTest.java | 107 assertEquals(win.mAppToken.getTask().mTaskId, app.taskId); in testRun()
|
D | AppWindowTokenTests.java | 467 createTestAppWindowTokenForGivenTask(tokenTop.getTask()); in testTryTransferStartingWindowFromHiddenAboveToken()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsTransitionComposer.java | 73 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice && taskView.getTask() != in composeAnimationSpec() 77 return new AppTransitionAnimationSpecCompat(taskView.getTask().key.id, b, taskRect); in composeAnimationSpec() 86 Task task = taskView.getTask(); in composeDockAnimationSpec() 143 Log.e(TAG, "Could not compose thumbnail for task: " + taskView.getTask() + in composeTaskBitmap()
|
D | TaskStackViewTouchHandler.java | 201 if (mSv.isIgnoredTask(tv.getTask())) { in cancelNonDismissTaskAnimations() 273 layoutAlgorithm.addUnfocusedTaskOverride(taskViews.get(i).getTask(), in handleTouchEvent() 451 Task task = tv.getTask(); in canChildBeDismissed() 480 mSv.addIgnoreTask(tv.getTask()); in onBeginDrag() 582 EventBus.getDefault().send(new TaskViewDismissedEvent(tv.getTask(), tv, in onChildDismissed() 617 mSv.removeIgnoreTask(tv.getTask()); in onChildSnappedBack() 646 Task task = tv.getTask(); in updateTaskViewTransforms()
|
D | TaskViewAccessibilityDelegate.java | 90 EventBus.getDefault().send(new DragStartEvent(mTaskView.getTask(), mTaskView, in simulateDragIntoMultiwindow() 92 EventBus.getDefault().send(new DragEndEvent(mTaskView.getTask(), mTaskView, dockState)); in simulateDragIntoMultiwindow()
|
D | TaskStackAnimationHelper.java | 162 Task task = tv.getTask(); in prepareForEnterAnimation() 252 Task task = tv.getTask(); in startEnterAnimation() 331 Task task = tv.getTask(); in startExitToHomeAnimation() 386 Task launchingTask = launchingTaskView.getTask(); in startLaunchTaskAnimation() 391 Task task = tv.getTask(); in startLaunchTaskAnimation() 493 Task task = tv.getTask(); in startScrollToFocusedTaskAnimation() 594 Task task = tv.getTask(); in startNewStackScrollAnimation()
|
D | TaskStackView.java | 408 if (tv.getTask() == t) { in getChildViewForTask() 557 Task task = tv.getTask(); in bindVisibleTaskViews() 665 Task task = tv.getTask(); in relayoutTaskViews() 756 if (!mIgnoreTasks.contains(tv.getTask().key)) { in cancelAllTaskViewAnimations() 781 if (isIgnoredTask(tv.getTask())) { in clipTaskViews() 1050 return tv.getTask(); in getAccessibilityFocusedTask() 1055 return frontTv.getTask(); in getAccessibilityFocusedTask() 1068 event.setFromIndex(mStack.indexOfTask(backMostTask.getTask())); in onInitializeAccessibilityEvent() 1069 event.setToIndex(mStack.indexOfTask(frontMostTask.getTask())); in onInitializeAccessibilityEvent() 1070 event.setContentDescription(frontMostTask.getTask().title); in onInitializeAccessibilityEvent() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowToken.java | 1025 Task getTask() { in getTask() method in AppWindowToken 1030 final Task task = getTask(); in getStack() 1042 final Task task = getTask(); in onParentChanged() 1162 final Task task = getTask(); in shouldFreezeBounds() 1174 return getTask().isDragResizing(); in shouldFreezeBounds() 1314 final Task currentTask = getTask(); in reparent() 1396 final Task task = getTask(); in freezeBounds() 1508 final Task task = getTask(); in transferStartingWindowFromHiddenAboveTokenIfNeeded() 1670 final Task task = getTask(); in onConfigurationChanged() 1780 Task task = getTask(); in initializeChangeTransition() [all …]
|
D | TaskSnapshotController.java | 315 appWindowToken.getTask().getConfiguration().orientation, in snapshotTask() 348 final Task task = atoken.getTask(); in getClosingTasks() 408 hwBitmap.getColorSpace(), topChild.getTask().getConfiguration().orientation, in drawAppThemeSnapshot()
|
D | WindowState.java | 902 final Task task = getTask(); in getDisplayedBounds() 923 final Task task = getTask(); in computeFrameLw() 1262 final Task task = getTask(); in updateResizingWindowIfNeeded() 1395 Task getTask() { in getTask() method in WindowState 1396 return mAppToken != null ? mAppToken.getTask() : null; in getTask() 1400 Task task = getTask(); in getStack() 1417 final Task task = getTask(); in getVisibleBounds() 1631 final Task task = getTask(); in canAffectSystemUiFlags() 1820 final Task task = getTask(); in handleWindowMovedIfNeeded() 1861 Task task = getTask(); in isObscuringDisplay() [all …]
|
D | TaskPositioningController.java | 119 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask()
|
D | TaskSnapshotSurface.java | 161 final Task task = token.getTask(); in create() 167 final AppWindowToken topFullscreenToken = token.getTask().getTopFullscreenAppToken(); in create()
|
D | AppTransitionController.java | 672 Task activityTask = activity.getTask(); in isTransitWithinTask() 678 if (activity.getTask() != task) { in isTransitWithinTask()
|
D | WindowStateAnimator.java | 834 final Task task = w.getTask(); in setSurfaceBoundariesLocked() 1061 final Task task = mWin.getTask(); in getContainerRect() 1488 final Task task = mWin.getTask(); in isForceScaled()
|
D | RemoteAnimationController.java | 341 final Task task = mAppWindowToken.getTask(); in createRemoteAnimationTarget()
|
D | TaskPositioner.java | 372 mTask = win.getTask(); in startDrag()
|