Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTaskKeyCache.java22 import com.android.systemui.shared.recents.model.Task.TaskKey;
31 protected final SparseArray<TaskKey> mKeys = new SparseArray<>();
37 public final synchronized V get(TaskKey key) { in get()
45 public final synchronized V getAndInvalidateIfModified(TaskKey key) { in getAndInvalidateIfModified()
46 TaskKey lastKey = mKeys.get(key.id); in getAndInvalidateIfModified()
62 public final synchronized void put(TaskKey key, V value) { in put()
73 public final synchronized void remove(TaskKey key) { in remove()
DTask.java56 public static class TaskKey { class in Task
79 public TaskKey(TaskInfo t) { in TaskKey() method in Task.TaskKey
95 public TaskKey(int id, int windowingMode, Intent intent, in TaskKey() method in Task.TaskKey
107 public TaskKey(int id, int windowingMode, Intent intent, in TaskKey() method in Task.TaskKey
137 if (!(o instanceof TaskKey)) { in equals()
140 TaskKey otherKey = (TaskKey) o; in equals()
163 public TaskKey key;
233 public static Task from(TaskKey taskKey, TaskInfo taskInfo, boolean isLocked) { in from()
241 public Task(TaskKey key) { in Task()
246 public Task(TaskKey key, int colorPrimary, int colorBackground, in Task()
[all …]
DTaskKeyLruCache.java21 import com.android.systemui.shared.recents.model.Task.TaskKey;
36 void onEntryEvicted(TaskKey key); in onEntryEvicted()
DIconLoader.java58 public ActivityInfo getAndUpdateActivityInfo(Task.TaskKey taskKey) { in getAndUpdateActivityInfo()
85 public Drawable getAndInvalidateIfModified(Task.TaskKey taskKey, in getAndInvalidateIfModified()
105 private Drawable createNewIconForTask(Task.TaskKey taskKey, in createNewIconForTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/recents/model/
DTaskKeyLruCacheTest.java42 Task.TaskKey mKey1;
43 Task.TaskKey mKey2;
44 Task.TaskKey mKey3;
48 mKey1 = new Task.TaskKey(sIdTask1, 0, null, null, sIdUser1, System.currentTimeMillis()); in setup()
49 mKey2 = new Task.TaskKey(sIdTask2, 0, null, null, sIdUser1, System.currentTimeMillis()); in setup()
50 mKey3 = new Task.TaskKey(sIdTask3, 0, null, null, sIdUser1, System.currentTimeMillis()); in setup()
86 Task.TaskKey key4 = new Task.TaskKey(sIdTask3 + 1, 0, in fillCache_put_evictsOldest()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DTaskStack.java25 import com.android.systemui.shared.recents.model.Task.TaskKey;
143 ArrayMap<TaskKey, Task> currentTasksMap = createTaskKeyMapFromList(mRawTaskList); in setTasks()
144 ArrayMap<TaskKey, Task> newTasksMap = createTaskKeyMapFromList(tasks); in setTasks()
223 public ArrayList<TaskKey> getTaskKeys() { in getTaskKeys()
224 ArrayList<TaskKey> taskKeys = new ArrayList<>(); in getTaskKeys()
342 ArrayList<TaskKey> taskKeys = getTaskKeys(); in computeComponentsRemoved()
345 TaskKey t = taskKeys.get(i); in computeComponentsRemoved()
380 private ArrayMap<TaskKey, Task> createTaskKeyMapFromList(List<Task> tasks) { in createTaskKeyMapFromList()
381 ArrayMap<TaskKey, Task> map = new ArrayMap<>(tasks.size()); in createTaskKeyMapFromList()
DRecentsTaskLoader.java36 import com.android.systemui.shared.recents.model.Task.TaskKey;
92 public void onEntryEvicted(TaskKey key) {
270 String getAndUpdateActivityTitle(TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateActivityTitle()
297 String getAndUpdateContentDescription(TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateContentDescription()
327 Drawable getAndUpdateActivityIcon(TaskKey taskKey, ActivityManager.TaskDescription td, in getAndUpdateActivityIcon()
335 synchronized ThumbnailData getAndUpdateThumbnail(TaskKey taskKey, boolean loadIfNotCached, in getAndUpdateThumbnail()
391 ActivityInfo getAndUpdateActivityInfo(TaskKey taskKey) { in getAndUpdateActivityInfo()
DRecentsTaskLoadPlan.java33 import com.android.systemui.shared.recents.model.Task.TaskKey;
115 TaskKey taskKey = new TaskKey(t.persistentId, windowingMode, t.baseIntent, in preloadPlan()
178 TaskKey taskKey = task.key; in executePlan()
DTaskKeyStrongCache.java21 import com.android.systemui.shared.recents.model.Task.TaskKey;
38 TaskKey key = other.mKeys.valueAt(i); in copyEntries()
DFilteredTaskList.java23 import com.android.systemui.shared.recents.model.Task.TaskKey;
35 private final ArrayMap<TaskKey, Integer> mFilteredTaskIndices = new ArrayMap<>();
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java64 import com.android.systemui.shared.recents.model.Task.TaskKey;
281 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
293 public void startActivityFromRecentsAsync(final Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImpl.java79 import com.android.systemui.shared.recents.model.Task.TaskKey;
114 private final static ArraySet<TaskKey> EMPTY_SET = new ArraySet<>();
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java153 private ArraySet<Task.TaskKey> mIgnoreTasks = new ArraySet<>();
205 private ArrayMap<Task.TaskKey, TaskView> mTmpTaskViewMap = new ArrayMap<>();
473 ArraySet<Task.TaskKey> ignoreTasksSet, boolean ignoreTaskOverrides) { in computeVisibleTaskTransforms()
DTaskStackLayoutAlgorithm.java433 public void update(TaskStack stack, ArraySet<Task.TaskKey> ignoreTasksSet, in update()