Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/am/
DActivityStack.java148 private ArrayList<TaskRecord> mTaskHistory = new ArrayList<TaskRecord>(); field in ActivityStack
324 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in numActivities()
325 count += mTaskHistory.get(taskNdx).mActivities.size(); in numActivities()
346 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in topRunningActivityLocked()
347 ActivityRecord r = mTaskHistory.get(taskNdx).topRunningActivityLocked(notTop); in topRunningActivityLocked()
356 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in topRunningNonDelayedActivityLocked()
357 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonDelayedActivityLocked()
379 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in topRunningActivityLocked()
380 TaskRecord task = mTaskHistory.get(taskNdx); in topRunningActivityLocked()
399 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in topActivity()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DDisplayContent.java109 private ArrayList<Task> mTaskHistory = new ArrayList<Task>(); field in DisplayContent
171 return mTaskHistory; in getTasks()
175 mTaskHistory.remove(task); in addTask()
179 final int numTasks = mTaskHistory.size(); in addTask()
182 if (mTaskHistory.get(taskNdx).mUserId == userId) { in addTask()
189 if (mTaskHistory.get(taskNdx).mUserId == userId) { in addTask()
195 mTaskHistory.add(taskNdx, task); in addTask()
200 mTaskHistory.remove(task); in removeTask()
224 for (int taskNdx = mTaskHistory.size() - 1; taskNdx >= 0; --taskNdx) { in numTokens()
225 count += mTaskHistory.get(taskNdx).mAppTokens.size(); in numTokens()
[all …]