Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java385 int topIndex = taskIndex; in moveAffiliatedTasksToFront() local
386 while (top.mNextAffiliate != null && topIndex > 0) { in moveAffiliatedTasksToFront()
388 topIndex--; in moveAffiliatedTasksToFront()
391 + topIndex + " from intial " + taskIndex); in moveAffiliatedTasksToFront()
394 int endIndex = topIndex; in moveAffiliatedTasksToFront()
469 for (int i=topIndex; i<=endIndex; i++) { in moveAffiliatedTasksToFront()
471 + " from " + i + " to " + (i-topIndex)); in moveAffiliatedTasksToFront()
473 add(i - topIndex, cur); in moveAffiliatedTasksToFront()
475 if (DEBUG_RECENTS) Slog.d(TAG_RECENTS, "addRecent: done moving tasks " + topIndex in moveAffiliatedTasksToFront()