Home
last modified time | relevance | path

Searched refs:mTopTask (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTopTaskTracker.java275 private final RunningTaskInfo mTopTask; field in TopTaskTracker.CachedTaskInfo
280 mTopTask = allCachedTasks.isEmpty() ? null : allCachedTasks.get(0); in CachedTaskInfo()
284 return mTopTask == null ? INVALID_TASK_ID : mTopTask.taskId; in getTaskId()
291 return mTopTask != null && ACTION_CHOOSER.equals(mTopTask.baseIntent.getAction()); in isRootChooseActivity()
299 if (mTopTask == null in getVisibleNonExcludedTask()
300 || (mTopTask.baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) == 0) { in getVisibleNonExcludedTask()
318 return mTopTask != null && mTopTask.configuration.windowConfiguration in isHomeTask()
323 return mTopTask != null && mTopTask.configuration.windowConfiguration in isRecentsTask()
332 return mTopTask != null && mTopTask.configuration.windowConfiguration.getWindowingMode() in isFreeformTask()
341 return mTopTask == null ? new Task[0] in getPlaceholderTasks()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DCarActivityServiceTaskMonitorUnitTest.java271 mService.blockActivity(listenerDenyListed.mTopTask, blockingIntent); in testActivityBlocking()
355 IBinder token = mService.createTaskMirroringToken(listenerA.mTopTask.taskId); in testCreateMirroredToken_returnsToken()
380 IBinder token = mService.createTaskMirroringToken(listenerA.mTopTask.taskId); in testGetMirroredSurface_throwsExceptionForExpiredToken()
393 IBinder token = mService.createTaskMirroringToken(listenerA.mTopTask.taskId); in testGetMirroredSurface_returnsNullForInvisibleToken()
408 IBinder token = mService.createTaskMirroringToken(listenerA.mTopTask.taskId); in testGetMirroredSurface_returnsSurface()
415 listenerA.mTopTask.getConfiguration().windowConfiguration.getBounds()); in testGetMirroredSurface_returnsSurface()
515 private TaskInfo mTopTask; field in CarActivityServiceTaskMonitorUnitTest.FilteredListener
536 if (mTopTask == null) { // We are interested in the first one only. in onActivityCameOnTop()
537 mTopTask = topTask; in onActivityCameOnTop()