Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 231) sorted by relevance

12345678910

/frameworks/base/libs/hwui/tests/microbench/
DTaskManagerBench.cpp42 std::vector<sp<TrivialTask> > tasks; in BM_TaskManager_allocateTask() local
43 tasks.reserve(state.max_iterations); in BM_TaskManager_allocateTask()
46 tasks.emplace_back(new TrivialTask); in BM_TaskManager_allocateTask()
47 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_allocateTask()
55 std::vector<sp<TrivialTask> > tasks; in BM_TaskManager_enqueueTask() local
56 tasks.reserve(state.max_iterations); in BM_TaskManager_enqueueTask()
59 tasks.emplace_back(new TrivialTask); in BM_TaskManager_enqueueTask()
60 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueTask()
61 processor->add(tasks.back()); in BM_TaskManager_enqueueTask()
64 for (sp<TrivialTask>& task : tasks) { in BM_TaskManager_enqueueTask()
[all …]
/frameworks/base/core/tests/overlaytests/
Dtestrunner.py389 def __init__(self, type, tasks): argument
391 self.tasks = tasks
400 for t in self.tasks:
407 tasks = [
417 return CompoundTask(TASK_DISABLE_OVERLAYS, tasks)
420 tasks = [
427 return CompoundTask(TASK_ENABLE_SINGLE_OVERLAY, tasks)
430 tasks = [
439 return CompoundTask(TASK_ENABLE_MULTIPLE_OVERLAYS, tasks)
442 tasks = [
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppButtonData.java30 public ArrayList<RecentTaskInfo> tasks; field in AppButtonData
38 return tasks == null ? 0 : tasks.size(); in getTaskCount()
49 if (tasks == null) { in addTask()
50 tasks = new ArrayList<RecentTaskInfo>(); in addTask()
52 tasks.add(task); in addTask()
56 if (tasks != null) { in clearTasks()
57 tasks.clear(); in clearTasks()
/frameworks/base/services/core/java/com/android/server/am/
DLaunchingTaskPositioner.java115 void updateDefaultBounds(TaskRecord task, ArrayList<TaskRecord> tasks, in updateDefaultBounds() argument
121 positionCenter(task, tasks, mDefaultFreeformWidth, mDefaultFreeformHeight); in updateDefaultBounds()
130 positionTopRight(task, tasks, width, height); in updateDefaultBounds()
132 positionTopLeft(task, tasks, width, height); in updateDefaultBounds()
136 positionBottomRight(task, tasks, width, height); in updateDefaultBounds()
138 positionBottomLeft(task, tasks, width, height); in updateDefaultBounds()
145 positionCenter(task, tasks, width, height); in updateDefaultBounds()
171 private void positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomLeft() argument
175 position(task, tasks, mTmpProposal, !ALLOW_RESTART, SHIFT_POLICY_HORIZONTAL_RIGHT); in positionBottomLeft()
178 private void positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomRight() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java135 void set(List<Task> tasks) { in set() argument
137 mTasks.addAll(tasks); in set()
646 ArrayList<Task> tasks = mStackTaskList.getTasks();
647 for (int i = tasks.size() - 1; i >= 0; i--) {
648 Task t = tasks.get(i);
664 public void setTasks(Context context, List<Task> tasks, boolean notifyStackChanges) {
667 ArrayMap<Task.TaskKey, Task> newTasksMap = createTaskKeyMapFromList(tasks);
690 taskCount = tasks.size();
692 Task newTask = tasks.get(i);
757 ArrayList<Task> tasks = computeAllTasksList(); in getTaskKeys() local
[all …]
/frameworks/data-binding/extensions/
Dbuild.gradle24 def bundleSupportLibTask = tasks['bundleSupportLib']
37 bundleSupportLibTask.dependsOn tasks['uploadArchives']
39 def configureOut = tasks.create(name: 'configureOut') << {
41 def deployer = tasks['uploadArchives'].repositories.mavenDeployer.repository
46 tasks['uploadArchives'].mustRunAfter configureOut
47 tasks['uploadArchives'].mustRunAfter unzipRepo
56 preparePrebuilds.dependsOn project.tasks.findAll {task -> task.name.startsWith('prebuild')}
/frameworks/data-binding/
Dbuild.gradle65 def buildExtensionsTask = project.tasks.create "buildExtensionsTask", Exec
74 def prepareExtensionPrebuilds = project.tasks.create "prepareExtensionPrebuilds", Exec
85 def testTask = project.tasks.create "runTestsOf${it.getName().capitalize()}", Exec
97 dependsOn tasks.findAll { task -> task.name.startsWith('runTestsOf') }
111 runAllTests.dependsOn project.tasks.findAll {task -> task.name.equals('test')}
112 runAllTests.dependsOn project.tasks.findAll {task -> task.name.equals('connectedCheck')}
113 preparePrebuilds.dependsOn project.tasks.findAll {task -> task.name.startsWith('prebuild')}
121 tasks['runTestsOfMultiModuleTestApp'].dependsOn tasks['runTestsOfIndependentLibrary']
146 tasks.create(name : 'createEapdataBindingConfigFile') << {
168 def localizeTask = project.parent.tasks.findByName('localizeDependencies')
[all …]
/frameworks/support/buildSrc/src/main/groovy/android/support/checkapi/
DUpdateApiTask.groovy4 import org.gradle.api.tasks.InputFile
5 import org.gradle.api.tasks.TaskAction
6 import org.gradle.api.tasks.OutputFile
7 import org.gradle.api.tasks.WorkResult
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp92 std::vector<TaskWrapper> tasks; in threadLoop() local
95 tasks.swap(mTasks); in threadLoop()
98 for (size_t i = 0; i < tasks.size(); i++) { in threadLoop()
99 const TaskWrapper& task = tasks[i]; in threadLoop()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DMavenDependencyCollectorPlugin.groovy28 def localizeDependenciesTask = parent.tasks.findByName(DEFAULT_TASK_NAME)
30 localizeDependenciesTask = parent.tasks.
38 …project.tasks.create("collectDependenciesOf${it.getName().capitalize()}", MavenDependencyCollector…
45 project.tasks.create("buildLicenseNotice", ExportLicensesTask) {
/frameworks/support/recommendation/
Dbuild.gradle48 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
53 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
59 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
64 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
DDataBindingExcludeGeneratedTask.java24 import org.gradle.api.tasks.Input;
25 import org.gradle.api.tasks.TaskAction;
26 import org.gradle.api.tasks.bundling.Jar;
47 private org.gradle.api.tasks.bundling.Jar packageTask;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java475 ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, in computeVisibleTaskTransforms() argument
477 int taskCount = tasks.size(); in computeVisibleTaskTransforms()
484 Utilities.matchTaskListSize(tasks, taskTransforms); in computeVisibleTaskTransforms()
492 Task task = tasks.get(i); in computeVisibleTaskTransforms()
554 ArrayList<Task> tasks = mStack.getStackTasks(); in bindVisibleTaskViews() local
555 int[] visibleTaskRange = computeVisibleTaskTransforms(mCurrentTaskTransforms, tasks, in bindVisibleTaskViews()
594 for (int i = tasks.size() - 1; i >= 0; i--) { in bindVisibleTaskViews()
595 Task task = tasks.get(i); in bindVisibleTaskViews()
720 public void getCurrentTaskTransforms(ArrayList<Task> tasks, in getCurrentTaskTransforms() argument
722 Utilities.matchTaskListSize(tasks, transformsOut); in getCurrentTaskTransforms()
[all …]
/frameworks/data-binding/compilerCommon/
Dbuild.gradle47 project.tasks.create(name : "generateXmlParser", type : JavaExec) {
54 project.tasks.create(name : "generateGrammar", type : JavaExec) {
60 tasks.create(name : 'exportBuildVersions') << {
78 tasks['jar'].dependsOn('exportBuildVersions')
79 tasks['exportBuildVersions'].dependsOn('processResources')
/frameworks/support/customtabs/
Dbuild.gradle55 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
60 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
66 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
71 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/support/v7/palette/
Dbuild.gradle42 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
47 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
53 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
58 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java306 final ArrayList<Task> tasks = stack.getTasks(); in taskIdFromPoint() local
307 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdFromPoint()
308 final Task task = tasks.get(taskNdx); in taskIdFromPoint()
338 final ArrayList<Task> tasks = stack.getTasks(); in findTaskForControlPoint() local
339 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in findTaskForControlPoint()
340 final Task task = tasks.get(taskNdx); in findTaskForControlPoint()
374 final ArrayList<Task> tasks = stack.getTasks(); in setTouchExcludeRegion() local
375 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in setTouchExcludeRegion()
376 final Task task = tasks.get(taskNdx); in setTouchExcludeRegion()
514 final ArrayList<Task> tasks = stack.getTasks(); in checkForDeferredActions() local
[all …]
/frameworks/av/camera/cameraserver/
Dcameraserver.rc6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
/frameworks/support/v7/cardview/
Dbuild.gradle53 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
58 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
64 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
69 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/av/media/mediaserver/
Dmediaserver.rc6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DTaskStackHorizontalViewAdapter.java101 public TaskStackHorizontalViewAdapter(List tasks) {
102 mTaskList = new ArrayList<Task>(tasks);
105 public void setNewStackTasks(List tasks) {
107 mTaskList.addAll(tasks);
/frameworks/support/graphics/drawable/animated/
Dbuild.gradle65 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar) {
70 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
76 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
81 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/support/graphics/drawable/static/
Dbuild.gradle66 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar) {
71 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
77 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
82 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java87 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() argument
93 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() argument
99 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() argument
105 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() argument
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
DDoclavaTask.groovy5 import org.gradle.api.tasks.Input
6 import org.gradle.api.tasks.InputFiles
7 import org.gradle.api.tasks.javadoc.Javadoc
8 import org.gradle.api.tasks.Optional
9 import org.gradle.api.tasks.OutputDirectory
10 import org.gradle.api.tasks.OutputFile
11 import org.gradle.api.tasks.ParallelizableTask

12345678910