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.java546 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) { in setTaskToAffiliateWith() argument
548 mAffiliatedTaskId = taskToAffiliateWith.mAffiliatedTaskId; in setTaskToAffiliateWith()
549 mAffiliatedTaskColor = taskToAffiliateWith.mAffiliatedTaskColor; in setTaskToAffiliateWith()
551 while (taskToAffiliateWith.mNextAffiliate != null) { in setTaskToAffiliateWith()
552 final TaskRecord nextRecents = taskToAffiliateWith.mNextAffiliate; in setTaskToAffiliateWith()
556 if (nextRecents.mPrevAffiliate == taskToAffiliateWith) { in setTaskToAffiliateWith()
559 taskToAffiliateWith.setNextAffiliate(null); in setTaskToAffiliateWith()
562 taskToAffiliateWith = nextRecents; in setTaskToAffiliateWith()
564 taskToAffiliateWith.setNextAffiliate(this); in setTaskToAffiliateWith()
565 setPrevAffiliate(taskToAffiliateWith); in setTaskToAffiliateWith()
DActivityRecord.java767 void setTask(TaskRecord newTask, TaskRecord taskToAffiliateWith) {
772 setTaskToAffiliateWith(taskToAffiliateWith);
775 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) {
776 if (taskToAffiliateWith != null &&
779 task.setTaskToAffiliateWith(taskToAffiliateWith);