Home
last modified time | relevance | path

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

123456789

/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 …]
DTaskPersister.java394 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { in taskIdToTask() argument
398 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdToTask()
399 final TaskRecord task = tasks.get(taskNdx); in taskIdToTask()
409 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); in restoreTasksForUserLocked() local
417 return tasks; in restoreTasksForUserLocked()
462 tasks.add(task); in restoreTasksForUserLocked()
494 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in restoreTasksForUserLocked()
495 final TaskRecord task = tasks.get(taskNdx); in restoreTasksForUserLocked()
496 task.setPrevAffiliate(taskIdToTask(task.mPrevAffiliateTaskId, tasks)); in restoreTasksForUserLocked()
497 task.setNextAffiliate(taskIdToTask(task.mNextAffiliateTaskId, tasks)); in restoreTasksForUserLocked()
[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()
627 ArrayList<Task> tasks = mStackTaskList.getTasks();
628 for (int i = tasks.size() - 1; i >= 0; i--) {
629 Task t = tasks.get(i);
645 public void setTasks(Context context, List<Task> tasks, boolean notifyStackChanges) {
648 ArrayMap<Task.TaskKey, Task> newTasksMap = createTaskKeyMapFromList(tasks);
671 taskCount = tasks.size();
673 Task newTask = tasks.get(i);
738 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/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.gradle44 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
49 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
55 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
60 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java473 ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, in computeVisibleTaskTransforms() argument
475 int taskCount = tasks.size(); in computeVisibleTaskTransforms()
482 Utilities.matchTaskListSize(tasks, taskTransforms); in computeVisibleTaskTransforms()
490 Task task = tasks.get(i); in computeVisibleTaskTransforms()
552 ArrayList<Task> tasks = mStack.getStackTasks(); in bindVisibleTaskViews() local
553 int[] visibleTaskRange = computeVisibleTaskTransforms(mCurrentTaskTransforms, tasks, in bindVisibleTaskViews()
592 for (int i = tasks.size() - 1; i >= 0; i--) { in bindVisibleTaskViews()
593 Task task = tasks.get(i); in bindVisibleTaskViews()
718 public void getCurrentTaskTransforms(ArrayList<Task> tasks, in getCurrentTaskTransforms() argument
720 Utilities.matchTaskListSize(tasks, transformsOut); in getCurrentTaskTransforms()
[all …]
/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/support/customtabs/
Dbuild.gradle51 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
56 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
62 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
67 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/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/v7/palette/
Dbuild.gradle41 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
46 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
52 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
57 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java296 final ArrayList<Task> tasks = stack.getTasks(); in taskIdFromPoint() local
297 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdFromPoint()
298 final Task task = tasks.get(taskNdx); in taskIdFromPoint()
328 final ArrayList<Task> tasks = stack.getTasks(); in findTaskForControlPoint() local
329 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in findTaskForControlPoint()
330 final Task task = tasks.get(taskNdx); in findTaskForControlPoint()
364 final ArrayList<Task> tasks = stack.getTasks(); in setTouchExcludeRegion() local
365 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in setTouchExcludeRegion()
366 final Task task = tasks.get(taskNdx); in setTouchExcludeRegion()
504 final ArrayList<Task> tasks = stack.getTasks(); in checkForDeferredActions() local
[all …]
/frameworks/support/v17/leanback/
Dbuild.gradle49 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
54 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
60 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
65 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/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/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/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/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/data-binding/compilationTests/
Dbuild.gradle15tasks['test'].systemProperties['useReleaseVersion'] = dataBindingConfig.inReleaseBuild ? 'true' : …
16tasks['test'].systemProperties['addRemoteRepos'] = dataBindingConfig.addRemoteRepos ? 'true' : 'fa…
/frameworks/support/v7/recyclerview/
Dbuild.gradle71 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
76 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
82 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
87 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {

123456789