Home
last modified time | relevance | path

Searched refs:topTask (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/taskview/
DRootTaskMediator.java232 ActivityManager.RunningTaskInfo topTask = getTopTaskInLaunchRootTask(); in onBackPressedOnTaskRoot() local
236 wct.removeTask(topTask.token); in onBackPressedOnTaskRoot()
307 ActivityManager.RunningTaskInfo topTask = null; in getTopTaskInLaunchRootTask() local
310 topTask = iterator.next().mTaskInfo; in getTopTaskInLaunchRootTask()
312 return topTask; in getTopTaskInLaunchRootTask()
339 ActivityManager.RunningTaskInfo topTask; in toString() local
341 topTask = iterator.next().mTaskInfo; in toString()
342 stringBuilder.append(" {" + " taskId=").append(topTask.taskId).append(",").append( in toString()
343 " baseActivity=").append(topTask.baseActivity).append("}\n"); in toString()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1431 for (TaskInfo topTask : visibleTasks) { in blockTopActivitiesOnDisplayIfNecessary()
1432 if (topTask == null) { in blockTopActivitiesOnDisplayIfNecessary()
1437 int displayIdOfTask = TaskInfoHelper.getDisplayId(topTask); in blockTopActivitiesOnDisplayIfNecessary()
1444 boolean blocked = blockTopActivity(topTask); in blockTopActivitiesOnDisplayIfNecessary()
1459 private boolean blockTopActivityIfNecessary(TaskInfo topTask) { in blockTopActivityIfNecessary() argument
1460 int displayId = TaskInfoHelper.getDisplayId(topTask); in blockTopActivityIfNecessary()
1462 if (!Objects.equals(mActivityBlockingActivity, topTask.topActivity) in blockTopActivityIfNecessary()
1464 && !topTask.topActivity.equals( in blockTopActivityIfNecessary()
1471 return doBlockTopActivityIfNotAllowed(displayId, topTask); in blockTopActivityIfNecessary()
1481 private boolean blockTopActivity(TaskInfo topTask) { in blockTopActivity() argument
[all …]
/packages/services/Car/car-lib/src/android/car/app/
DRootTaskStackManager.java71 ActivityManager.RunningTaskInfo topTask = null; in getTopTask() local
74 topTask = iterator.next(); in getTopTask()
76 return topTask; in getTopTask()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DFallbackTaskbarUIController.java126 TopTaskTracker.CachedTaskInfo topTask = TopTaskTracker.INSTANCE in isIn3pHomeOrRecents() local
128 return topTask.isHomeTask() || topTask.isRecentsTask(); in isIn3pHomeOrRecents()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DCarActivityServiceTaskMonitorUnitTest.java526 public void onActivityCameOnTop(TaskInfo topTask) { in onActivityCameOnTop() argument
527 if (isActivityOutsideTestPackage(topTask)) { in onActivityCameOnTop()
530 if (!topTask.topActivity.equals(mDesiredComponent)) { in onActivityCameOnTop()
533 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityCameOnTop()
537 mTopTask = topTask; in onActivityCameOnTop()
/packages/services/Car/service/src/com/android/car/am/
DCarActivityService.java131 void onActivityCameOnTop(TaskInfo topTask); in onActivityCameOnTop() argument
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java4134 TaskView topTask = getTaskViewFromTaskViewId(topRowIdArray.get(i)); in getHighestVisibleTaskIndex() local
4136 if (isTaskViewVisible(topTask)) { in getHighestVisibleTaskIndex()
4138 lastVisibleIndex = Math.max(indexOfChild(topTask), indexOfChild(bottomTask)); in getHighestVisibleTaskIndex()