Searched refs:topTask (Results 1 – 7 of 7) sorted by relevance
232 ActivityManager.RunningTaskInfo topTask = getTopTaskInLaunchRootTask(); in onBackPressedOnTaskRoot() local236 wct.removeTask(topTask.token); in onBackPressedOnTaskRoot()307 ActivityManager.RunningTaskInfo topTask = null; in getTopTaskInLaunchRootTask() local310 topTask = iterator.next().mTaskInfo; in getTopTaskInLaunchRootTask()312 return topTask; in getTopTaskInLaunchRootTask()339 ActivityManager.RunningTaskInfo topTask; in toString() local341 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()
1431 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() argument1460 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 …]
71 ActivityManager.RunningTaskInfo topTask = null; in getTopTask() local74 topTask = iterator.next(); in getTopTask()76 return topTask; in getTopTask()
126 TopTaskTracker.CachedTaskInfo topTask = TopTaskTracker.INSTANCE in isIn3pHomeOrRecents() local128 return topTask.isHomeTask() || topTask.isRecentsTask(); in isIn3pHomeOrRecents()
526 public void onActivityCameOnTop(TaskInfo topTask) { in onActivityCameOnTop() argument527 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()
131 void onActivityCameOnTop(TaskInfo topTask); in onActivityCameOnTop() argument
4134 TaskView topTask = getTaskViewFromTaskViewId(topRowIdArray.get(i)); in getHighestVisibleTaskIndex() local4136 if (isTaskViewVisible(topTask)) { in getHighestVisibleTaskIndex()4138 lastVisibleIndex = Math.max(indexOfChild(topTask), indexOfChild(bottomTask)); in getHighestVisibleTaskIndex()