Searched refs:topTask (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackNavigationControllerTests.java | 136 final Task topTask = createTopTaskWithActivity(); in noBackWhenMoveTaskToBack() local 137 withSystemCallback(topTask); in noBackWhenMoveTaskToBack() 139 topTask.setVisibleRequested(false); in noBackWhenMoveTaskToBack() 150 final Task topTask = createTopTaskWithActivity(); in backTypeCrossTaskWhenBackToPreviousTask() local 151 withSystemCallback(topTask); in backTypeCrossTaskWhenBackToPreviousTask() 163 final ActivityRecord topActivity = topTask.getTopMostActivity(); in backTypeCrossTaskWhenBackToPreviousTask() 478 final Task topTask = createTopTaskWithActivity(); in preparesForBackToHome() local 479 withSystemCallback(topTask); in preparesForBackToHome() 488 final WindowState window = topTask.getTopVisibleAppMainWindow(); in preparesForBackToHome()
|
D | TransitionTests.java | 471 final Task topTask = createTask(mDisplayContent); in testCreateInfo_PromoteSimilarClose() local 474 final ActivityRecord hiding = createActivityRecord(topTask); in testCreateInfo_PromoteSimilarClose() 475 final ActivityRecord closing = createActivityRecord(topTask); in testCreateInfo_PromoteSimilarClose() 477 changes.put(topTask, new Transition.ChangeInfo(topTask, true /* vis */, false /* exChg */)); in testCreateInfo_PromoteSimilarClose() 484 fillChangeMap(changes, topTask); in testCreateInfo_PromoteSimilarClose() 497 assertTrue(Transition.containsChangeFor(topTask, targets)); in testCreateInfo_PromoteSimilarClose() 506 final Task topTask = createTask(mDisplayContent); in testCreateInfo_PromoteSimilarOpen() local 508 final ActivityRecord showing = createActivityRecord(topTask); in testCreateInfo_PromoteSimilarOpen() 509 final ActivityRecord opening = createActivityRecord(topTask); in testCreateInfo_PromoteSimilarOpen() 512 changes.put(topTask, in testCreateInfo_PromoteSimilarOpen() [all …]
|
D | TaskFragmentTest.java | 322 final Task topTask = createTask(mDisplayContent); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment() local 324 final TaskFragment primaryTf = createTaskFragmentWithActivity(topTask); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment() 325 final TaskFragment secondaryTf = createTaskFragmentWithActivity(topTask); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment() 335 assertEquals(topTask, bottomTask.getDisplayArea().getTopRootTask()); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment()
|
D | ActivityStarterTests.java | 921 final Task topTask = new TaskBuilder(mSupervisor).setParentTask(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay() local 922 new ActivityBuilder(mAtm).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 255 final Task topTask = stack != null ? stack.getTopMostTask() : null; 259 resetFreezeTaskListReordering(topTask); 337 void resetFreezeTaskListReordering(Task topTask) { in resetFreezeTaskListReordering() argument 347 if (topTask != null) { in resetFreezeTaskListReordering() 348 mTasks.remove(topTask); in resetFreezeTaskListReordering() 349 mTasks.add(0, topTask); in resetFreezeTaskListReordering() 368 final Task topTask = focusedStack != null ? focusedStack.getTopMostTask() : null; in resetFreezeTaskListReorderingOnTimeout() local 369 final Task reorderToEndTask = topTask != null && topTask.hasChild() ? topTask : null; in resetFreezeTaskListReorderingOnTimeout()
|
D | Task.java | 1356 final Task topTask = getTopMostTask(); in getBaseIntent() 1357 return (topTask != this && topTask != null) ? topTask.getBaseIntent() : null; in getBaseIntent() 3422 final Task topTask = top != null ? top.getTask() : this; 3423 info.resizeMode = topTask.mResizeMode; 3424 info.topActivityType = topTask.getActivityType(); 3425 info.displayCutoutInsets = topTask.getDisplayCutoutInsets(); 3573 final Task topTask = getTopMostTask(); 3574 if (topTask == null) return null; 3575 return getPictureInPictureParams(topTask.getTopMostActivity()); 4688 final Task topTask = getTopMostTask(); [all …]
|
D | RootWindowContainer.java | 2457 final Task topTask = getTopDisplayFocusedRootTask(); in ensureVisibilityOnVisibleActivityDiedOrCrashed() local 2458 if (topTask != null && topTask.topRunningActivity(true /* focusableOnly */) == null) { in ensureVisibilityOnVisibleActivityDiedOrCrashed() 2460 topTask.adjustFocusToNextFocusableTask(reason); in ensureVisibilityOnVisibleActivityDiedOrCrashed()
|
D | ActivityStarter.java | 2836 final Task topTask = curTop != null ? curTop.getTask() : null; in setTargetRootTaskIfNeeded() local 2837 differentTopTask = topTask != intentTask in setTargetRootTaskIfNeeded() 2838 || (focusRootTask != null && topTask != focusRootTask.getTopMostTask()) in setTargetRootTaskIfNeeded()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceAuthenticationClientTest.java | 269 final ActivityManager.RunningTaskInfo topTask = new ActivityManager.RunningTaskInfo(); in cancelsAuthWhenNotInForeground() local 270 topTask.topActivity = new ComponentName("other", "thing"); in cancelsAuthWhenNotInForeground() 271 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | FingerprintAuthenticationClientTest.java | 593 final ActivityManager.RunningTaskInfo topTask = new ActivityManager.RunningTaskInfo(); in cancelsAuthWhenNotInForeground() local 594 topTask.topActivity = new ComponentName("other", "thing"); in cancelsAuthWhenNotInForeground() 595 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
|