Searched refs:Task (Results 1 – 4 of 4) sorted by relevance
28 open class Task( in <lambda>() class54 val tasks: Array<Task> in <lambda>()55 get() = this.children.reversed().filterIsInstance<Task>().toTypedArray() in <lambda>()64 val topTask: Task? get() = tasks.firstOrNull() in <lambda>()77 fun getTask(predicate: (Task) -> Boolean) = in <lambda>()82 fun getActivityWithTask(predicate: (Task, Activity) -> Boolean): Activity? { in <lambda>()88 fun forAllTasks(consumer: (Task) -> Any) { in <lambda>()110 if (other !is Task) return false in <lambda>()
33 val tasks: Array<Task>34 get() = this.children.reversed().filterIsInstance<Task>().toTypedArray()
51 val rootTasks: Array<Task> in <lambda>()53 val tasks = this.collectDescendants<Task> { it.isRootTask }.toMutableList() in <lambda>()56 val rootOrganizedTasks = mutableListOf<Task>() in <lambda>()67 tasks.addAll(task.children.reversed().map { it as Task }) in <lambda>()
52 import com.android.server.wm.traces.common.windowmanager.windows.Task in <lambda>()307 private fun newTask(proto: TaskProto?, isActivityInTree: Boolean): Task? { in <lambda>()311 Task( in <lambda>()