Home
last modified time | relevance | path

Searched refs:runningTask (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
DRecentsTvImpl.java54 protected void startRecentsActivity(ActivityManager.RunningTaskInfo runningTask, in startRecentsActivity() argument
66 loader.preloadTasks(sInstanceLoadPlan, runningTask.id, !isHomeStackVisible); in startRecentsActivity()
72 startRecentsActivity(runningTask, opts, false /* fromHome */, false /* fromThumbnail*/); in startRecentsActivity()
77 … boolean useThumbnailTransition = (runningTask != null) && !isHomeStackVisible && hasRecentTasks; in startRecentsActivity()
81 ActivityOptions opts = getThumbnailTransitionActivityOptionsForTV(runningTask, in startRecentsActivity()
84 … startRecentsActivity(runningTask, opts, false /* fromHome */, true /* fromThumbnail */); in startRecentsActivity()
92 startRecentsActivity(runningTask, null, true /* fromHome */, false /* fromThumbnail */); in startRecentsActivity()
97 protected void startRecentsActivity(ActivityManager.RunningTaskInfo runningTask, in startRecentsActivity() argument
104 launchState.launchedToTaskId = (runningTask != null) ? runningTask.id : -1; in startRecentsActivity()
125 ActivityManager.RunningTaskInfo runningTask, int numTasks) { in getThumbnailTransitionActivityOptionsForTV() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java266 ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask(); in showRecents() local
267 startRecentsActivity(runningTask, isHomeStackVisible.value || fromHome, animate, in showRecents()
345 ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask(); in toggleRecents() local
346 startRecentsActivity(runningTask, isHomeStackVisible.value, true /* animate */, in toggleRecents()
364 ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask(); in preloadRecents() local
368 loader.preloadTasks(sInstanceLoadPlan, runningTask.id, !isHomeStackVisible.value); in preloadRecents()
373 preloadIcon(runningTask.id); in preloadRecents()
409 ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask(); in showNextTask()
410 if (runningTask == null) return; in showNextTask()
413 boolean isRunningTaskInHomeStack = SystemServicesProxy.isHomeStack(runningTask.stackId); in showNextTask()
[all …]
DRecents.java426 ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask(); in dockTopTask() local
428 boolean isRunningTaskInHomeStack = runningTask != null && in dockTopTask()
429 SystemServicesProxy.isHomeStack(runningTask.stackId); in dockTopTask()
430 if (runningTask != null && !isRunningTaskInHomeStack && !screenPinningActive) { in dockTopTask()
431 logDockAttempt(mContext, runningTask.topActivity, runningTask.resizeMode); in dockTopTask()
432 if (runningTask.isDockable) { in dockTopTask()
435 runningTask.topActivity.flattenToShortString()); in dockTopTask()
438 mImpl.dockTopTask(runningTask.id, dragMode, stackCreateMode, initialBounds); in dockTopTask()
445 callbacks.dockTopTask(runningTask.id, dragMode, stackCreateMode, in dockTopTask()