Home
last modified time | relevance | path

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

1234567

/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/recents/model/
DTaskStack.java85 void set(List<Task> tasks) { in set() argument
87 mTasks.addAll(tasks); in set()
242 public void setTasks(List<Task> tasks) { in setTasks() argument
262 mTaskList.set(tasks); in setTasks()
263 for (Task t : tasks) { in setTasks()
279 ArrayList<Task> tasks = mTaskList.getTasks(); in getTaskKeys() local
280 int taskCount = tasks.size(); in getTaskKeys()
282 taskKeys.add(tasks.get(i).key); in getTaskKeys()
304 ArrayList<Task> tasks = mTaskList.getTasks(); in findTaskWithId() local
305 int taskCount = tasks.size(); in findTaskWithId()
[all …]
DRecentsTaskLoadPlan.java169 ArrayList<Task> tasks = mStack.getTasks(); in executePlan() local
170 int taskCount = tasks.size(); in executePlan()
173 Task task = tasks.get(i); in executePlan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewFilterAlgorithm.java43 final ArrayList<Task> tasks, in startFilteringAnimation() argument
50 int duration = getExitTransformsForFilterAnimation(curTasks, curTaskTransforms, tasks, in startFilteringAnimation()
57 int inDuration = getEnterTransformsForFilterAnimation(tasks, taskTransforms, in startFilteringAnimation()
80 int duration = getEnterTransformsForFilterAnimation(tasks, in startFilteringAnimation()
98 int getEnterTransformsForFilterAnimation(ArrayList<Task> tasks, in getEnterTransformsForFilterAnimation() argument
103 int taskCount = tasks.size(); in getEnterTransformsForFilterAnimation()
105 Task task = tasks.get(i); in getEnterTransformsForFilterAnimation()
138 … ArrayList<Task> tasks, ArrayList<TaskViewTransform> taskTransforms, in getExitTransformsForFilterAnimation() argument
149 int taskIndex = tasks.indexOf(task); in getExitTransformsForFilterAnimation()
DTaskStackViewLayoutAlgorithm.java44 VisibilityReport(int tasks, int thumbnails) { in VisibilityReport() argument
45 numVisibleTasks = tasks; in VisibilityReport()
106 void computeMinMaxScroll(ArrayList<Task> tasks, boolean launchedWithAltTab, in computeMinMaxScroll() argument
112 if (tasks.isEmpty()) { in computeMinMaxScroll()
138 int taskCount = tasks.size(); in computeMinMaxScroll()
140 Task task = tasks.get(i); in computeMinMaxScroll()
152 mMinScrollP = tasks.size() == 1 ? Math.max(mMaxScrollP, 0f) : 0f; in computeMinMaxScroll()
166 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { in computeStackVisibilityReport() argument
167 if (tasks.size() <= 1) { in computeStackVisibilityReport()
175 float progress = mTaskProgressMap.get(tasks.get(tasks.size() - 1).key) - mInitialScrollP; in computeStackVisibilityReport()
[all …]
DTaskStackView.java231 ArrayList<Task> tasks, in updateStackTransforms() argument
236 int taskCount = tasks.size(); in updateStackTransforms()
254 TaskViewTransform transform = mLayoutAlgorithm.getStackTransform(tasks.get(i), in updateStackTransforms()
293 ArrayList<Task> tasks = mStack.getTasks(); in synchronizeStackViewsWithModel() local
296 boolean isValidVisibleRange = updateStackTransforms(mCurrentTaskTransforms, tasks, in synchronizeStackViewsWithModel()
318 Task task = tasks.get(i); in synchronizeStackViewsWithModel()
1108 ArrayList<Task> tasks = mStack.getTasks(); in onTaskViewDismissed() local
1109 int nextTaskIndex = Math.min(tasks.size() - 1, taskIndex - 1); in onTaskViewDismissed()
1111 Task nextTask = tasks.get(nextTaskIndex); in onTaskViewDismissed()
1154 ArrayList<Task> tasks = mStack.getTasks(); in onPackagesChanged() local
[all …]
DRecentsView.java186 ArrayList<Task> tasks = stack.getTasks(); in launchPreviousTask() local
189 if (!tasks.isEmpty()) { in launchPreviousTask()
190 int taskCount = tasks.size(); in launchPreviousTask()
192 if (tasks.get(j).isLaunchTarget) { in launchPreviousTask()
193 Task task = tasks.get(j); in launchPreviousTask()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java340 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { in taskIdToTask() argument
344 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdToTask()
345 final TaskRecord task = tasks.get(taskNdx); in taskIdToTask()
355 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); in restoreTasksLocked() local
361 return tasks; in restoreTasksLocked()
392 tasks.add(task); in restoreTasksLocked()
426 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in restoreTasksLocked()
427 final TaskRecord task = tasks.get(taskNdx); in restoreTasksLocked()
428 task.setPrevAffiliate(taskIdToTask(task.mPrevAffiliateTaskId, tasks)); in restoreTasksLocked()
429 task.setNextAffiliate(taskIdToTask(task.mNextAffiliateTaskId, tasks)); in restoreTasksLocked()
[all …]
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp94 Vector<TaskWrapper> tasks; in threadLoop() local
97 tasks = mTasks; in threadLoop()
101 for (size_t i = 0; i < tasks.size(); i++) { in threadLoop()
102 const TaskWrapper& task = tasks.itemAt(i); in threadLoop()
/frameworks/support/v7/palette/
Dbuild.gradle36 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
41 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
47 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
52 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/support/v7/recyclerview/
Dbuild.gradle39 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
44 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
50 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
55 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java150 ArrayList<ActivityManager.RecentTaskInfo> tasks = in getRecentTasks() local
174 tasks.add(rti); in getRecentTasks()
176 return tasks; in getRecentTasks()
182 List<ActivityManager.RecentTaskInfo> tasks = mAm.getRecentTasksForUser(numTasksToQuery, in getRecentTasks() local
189 if (tasks == null) { in getRecentTasks()
194 Iterator<ActivityManager.RecentTaskInfo> iter = tasks.iterator(); in getRecentTasks()
213 return tasks.subList(0, Math.min(tasks.size(), numLatestTasks)); in getRecentTasks()
224 List<ActivityManager.RunningTaskInfo> tasks = getRunningTasks(1); in getTopMostTask() local
225 if (!tasks.isEmpty()) { in getTopMostTask()
226 return tasks.get(0); in getTopMostTask()
/frameworks/support/v7/cardview/
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/support/v17/leanback/
Dbuild.gradle46 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
51 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
57 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
62 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/support/v13/
Dbuild.gradle35 tasks.create(name: "internalJar", type: Jar) {
89 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
94 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
100 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
105 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/support/v4/
Dbuild.gradle5 tasks.create(name: "internalJar", type: Jar) {
103 def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
108 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
114 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
119 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java324 final ArrayList<Task> tasks = stack.getTasks(); in checkForDeferredActions() local
325 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in checkForDeferredActions()
326 final Task task = tasks.get(taskNdx); in checkForDeferredActions()
384 ArrayList<Task> tasks = stack.getTasks(); in dump() local
385 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in dump()
386 final Task task = tasks.get(taskNdx); in dump()
/frameworks/base/docs/html/guide/components/
Drecents.jd19 <li><a href="#apptask-remove">Using the AppTask class to remove tasks</a></li>
20 <li><a href="#retain-finished">Retaining finished tasks</a></li>
41 activities</a> and <a href="{@docRoot}guide/components/tasks-and-back-stack.html">tasks</a>. The
44 same activity containing different documents may appear as tasks in the overview screen. For exampl…
52 <p>Normally you should allow the system to define how your tasks and
55 {@link android.app.ActivityManager.AppTask} class lets you manage tasks, and the activity flags of
117 <p>When the main activity launches a new activity, the system searches through existing tasks for
199 <p>You can set the maximum number of tasks that your app can include in the overview screen by sett…
202 </a> to an integer value. The default is 16. When the maximum number of tasks is reached, the least
206 <h3 id="#apptask-remove">Using the AppTask class to remove tasks</h3>
[all …]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java482 List<ActivityManager.AppTask> tasks = am.getAppTasks(); in setExclude() local
484 for (int i=0; i<tasks.size(); i++) { in setExclude()
485 ActivityManager.AppTask task = tasks.get(i); in setExclude()
494 List<ActivityManager.AppTask> tasks = am.getAppTasks(); in findDocTask() local
495 if (tasks != null) { in findDocTask()
496 for (int i=0; i<tasks.size(); i++) { in findDocTask()
497 ActivityManager.AppTask task = tasks.get(i); in findDocTask()
/frameworks/support/annotations/
Dbuild.gradle53 // custom tasks for creating source/javadoc jars
64 // add javadoc/source jar tasks as artifacts
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentTasksLoader.java463 ArrayList<TaskDescription> tasks = new ArrayList<TaskDescription>(); in loadTasksInBackground()
501 tasks.add(item); in loadTasksInBackground()
502 if (firstScreenful && tasks.size() == mNumTasksInFirstScreenful) { in loadTasksInBackground()
503 publishProgress(tasks); in loadTasksInBackground()
504 tasks = new ArrayList<TaskDescription>(); in loadTasksInBackground()
513 publishProgress(tasks); in loadTasksInBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DAlternateRecentsComponent.java347 ArrayList<Task> tasks = stack.getTasks(); in showRelativeAffiliatedTask()
350 int taskCount = tasks.size(); in showRelativeAffiliatedTask()
353 Task task = tasks.get(i); in showRelativeAffiliatedTask()
587 ArrayList<Task> tasks = stack.getTasks(); in getThumbnailTransitionTransform() local
590 int taskCount = tasks.size(); in getThumbnailTransitionTransform()
592 Task t = tasks.get(i); in getThumbnailTransitionTransform()
602 task = tasks.get(tasks.size() - 1); in getThumbnailTransitionTransform()
/frameworks/base/docs/html/training/
Dbuilding-graphics.jd8 <p>These classes teach you how to accomplish tasks with graphics
/frameworks/base/docs/html/design/get-started/
Dcreative-vision.jd32 first use, though. Android apps remove ongoing chores like file management and syncing. Simple tasks
33 never require complex procedures, and complex tasks are tailored to the human hand and mind. People
/frameworks/base/docs/html/tools/building/
Dplugin-for-gradle.jd259 <h2 id="buildTasks">Build tasks</h2>
261 <p>The Android Studio build system defines a hierarchical set of build tasks: the top-level or
262 anchor tasks invoke dependent tasks to produce their collective build outcomes. The top-level build
263 tasks are:</p>
276 <p>The Android plugin provides additional tasks for <em>connectedCheck</em> and <em>deviceCheck</em>
277 for checks run on connected, emulated, and remote devices. Gradle tasks can be viewed by clicking
282 <p>Running a top-level task, runs all the dependent tasks. For example, the <em>assemble</em> task
283 has dependent tasks for <em>assembleDebug</em> and <em>assembleRelease</em> to make the debug and
284 release APKs. The <em>assemble</em> task depends on these tasks so calling it builds both APKs.
285 These tasks can also be called independently to build the debug or release APK separately. </p>
[all …]

1234567