Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java399 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) { in setTaskToAffiliateWith() argument
401 mAffiliatedTaskId = taskToAffiliateWith.mAffiliatedTaskId; in setTaskToAffiliateWith()
402 mAffiliatedTaskColor = taskToAffiliateWith.mAffiliatedTaskColor; in setTaskToAffiliateWith()
404 while (taskToAffiliateWith.mNextAffiliate != null) { in setTaskToAffiliateWith()
405 final TaskRecord nextRecents = taskToAffiliateWith.mNextAffiliate; in setTaskToAffiliateWith()
409 if (nextRecents.mPrevAffiliate == taskToAffiliateWith) { in setTaskToAffiliateWith()
412 taskToAffiliateWith.setNextAffiliate(null); in setTaskToAffiliateWith()
415 taskToAffiliateWith = nextRecents; in setTaskToAffiliateWith()
417 taskToAffiliateWith.setNextAffiliate(this); in setTaskToAffiliateWith()
418 setPrevAffiliate(taskToAffiliateWith); in setTaskToAffiliateWith()
DActivityRecord.java516 void setTask(TaskRecord newTask, TaskRecord taskToAffiliateWith) {
526 setTaskToAffiliateWith(taskToAffiliateWith);
529 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) {
530 if (taskToAffiliateWith != null &&
533 task.setTaskToAffiliateWith(taskToAffiliateWith);