/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentTasksList.java | 30 import com.android.systemui.shared.recents.model.Task; 57 ArrayList<Task> mTasks = new ArrayList<>(); 71 public void getTaskKeys(int numTasks, Consumer<ArrayList<Task>> callback) { in getTaskKeys() 74 ArrayList<Task> tasks = loadTasksInBackground(numTasks, true /* loadKeysOnly */); in getTaskKeys() 86 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() 101 ArrayList<Task> tasks = loadTasksInBackground(Integer.MAX_VALUE, loadKeysOnly); in getTasks() 146 ArrayList<Task> loadTasksInBackground(int numTasks, in loadTasksInBackground() 149 ArrayList<Task> allTasks = new ArrayList<>(); in loadTasksInBackground() 169 Task.TaskKey taskKey = new Task.TaskKey(rawTask); in loadTasksInBackground() 170 Task task; in loadTasksInBackground() [all …]
|
D | RecentsModel.java | 39 import com.android.systemui.shared.recents.model.Task; 97 public int getTasks(Consumer<ArrayList<Task>> callback) { in getTasks() 123 public void findTaskWithId(int taskId, Consumer<Task.TaskKey> callback) { in findTaskWithId() 125 for (Task task : tasks) { in findTaskWithId() 151 for (Task task : tasks) { in onTaskStackChangedBackground() 167 Task task = mThumbnailChangeListeners.get(i).onTaskThumbnailChanged(taskId, snapshot); in onTaskSnapshotChanged() 176 Task.TaskKey dummyKey = new Task.TaskKey(taskId, 0, null, null, 0, 0); in onTaskRemoved() 238 Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData); in onTaskThumbnailChanged()
|
D | TaskIconCache.java | 35 import com.android.systemui.shared.recents.model.Task; 36 import com.android.systemui.shared.recents.model.Task.TaskKey; 61 public void onEntryEvicted(Task.TaskKey key) { 88 public IconLoadRequest updateIconInBackground(Task task, Consumer<Task> callback) { in updateIconInBackground() 125 private String loadContentDescriptionInBackground(Task task) { in loadContentDescriptionInBackground()
|
D | TaskThumbnailCache.java | 30 import com.android.systemui.shared.recents.model.Task; 31 import com.android.systemui.shared.recents.model.Task.TaskKey; 109 public void updateThumbnailInCache(Task task) { in updateThumbnailInCache() 133 Task task, Consumer<ThumbnailData> callback) { in updateThumbnailInBackground() 193 public void remove(Task.TaskKey key) { in remove()
|
D | TaskUtils.java | 29 import com.android.systemui.shared.recents.model.Task; 46 public static CharSequence getTitle(Context context, Task task) { in getTitle() 60 public static ComponentKey getLaunchComponentKeyForTask(Task.TaskKey taskKey) { in getLaunchComponentKeyForTask()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskQueue.java | 25 import com.android.voicemail.impl.scheduling.Task.TaskId; 38 class TaskQueue implements Iterable<Task> { 40 private final Queue<Task> queue = new ArrayDeque<>(); 44 for (Task task : queue) { in toBundles() 54 Task task = Tasks.createTask(context, pendingTask); in fromBundles() 70 public boolean add(Task task) { in add() 71 if (task.getId().id == Task.TASK_INVALID) { in add() 74 if (task.getId().id != Task.TASK_ALLOW_DUPLICATES) { in add() 75 Task oldTask = getTask(task.getId()); in add() 86 public void remove(Task task) { in remove() [all …]
|
D | Tasks.java | 45 public static Task createTask(Context context, Bundle extras) throws TaskCreationException { in createTask() 62 Task task = (Task) Class.forName(className).getDeclaredConstructor().newInstance(); in createTask() 74 public static Bundle toBundle(Task task) { in toBundle() 85 public static Intent createIntent(Context context, Class<? extends Task> task) { in createIntent()
|
D | TaskExecutor.java | 207 Task task = (Task) msg.obj; 233 Task task = (Task) msg.obj; 281 void addTask(Task task) {
|
D | Task.java | 34 public interface Task { interface 147 void onDuplicatedTaskAdded(Task task); in onDuplicatedTaskAdded()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskListLoader.java | 23 import com.android.systemui.shared.recents.model.Task; 39 private ArrayList<Task> mTaskList = new ArrayList<>(); 52 public List<Task> getCurrentTaskList() { in getCurrentTaskList() 75 public void loadTaskList(@Nullable Consumer<ArrayList<Task>> onLoadedCallback) { in loadTaskList() 84 ArrayList<Task> tasks = new ArrayList<>(loadedTasks); in loadTaskList() 88 for (Task task : tasks) { in loadTaskList() 93 Task loadedTask = mTaskList.get(loadedPos); in loadTaskList() 110 public void loadTaskIconAndLabel(Task task, @Nullable Runnable onLoadedCallback) { in loadTaskIconAndLabel() 122 public void loadTaskThumbnail(Task task, @Nullable Runnable onLoadedCallback) { in loadTaskThumbnail() 130 void removeTask(Task task) { in removeTask()
|
D | TaskHolder.java | 22 import com.android.systemui.shared.recents.model.Task; 33 private Task mTask; 57 public void bindTask(@NonNull Task task, boolean willAnimate) { in bindTask() 82 public Optional<Task> getTask() { in getTask()
|
D | TaskActionController.java | 28 import com.android.systemui.shared.recents.model.Task; 29 import com.android.systemui.shared.recents.model.Task.TaskKey; 77 public void launchTask(@NonNull Task task) { in launchTask() 94 Task task = viewHolder.getTask().get(); in removeTask()
|
D | TaskAdapter.java | 30 import com.android.systemui.shared.recents.model.Task; 133 List<Task> tasks = mLoader.getCurrentTaskList(); in onBindViewHolderInternal() 139 Task task = tasks.get(taskPos); in onBindViewHolderInternal()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestTimer.java | 35 private final LinkedList<Task> mTaskList = new LinkedList<>(); 48 Task task = mTaskList.getFirst(); in fastForwardTo() 76 Iterator<Task> iter = mTaskList.iterator(); in purge() 78 Task task = iter.next(); in purge() 123 Task testTimerTask = (Task) task; in scheduleAtTime() 126 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime() 135 public static class Task extends TimerTask { class in TestTimer 141 public Task(TimerTask delegate) { in Task() method in TestTimer.Task
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 35 import com.android.systemui.shared.recents.model.Task; 36 import com.android.systemui.shared.recents.model.Task.TaskKey; 176 protected void applyLoadPlan(ArrayList<Task> tasks) { in applyLoadPlan() 183 for (Task t : tasks) { in applyLoadPlan() 190 ArrayList<Task> newList = new ArrayList<>(tasks.size() + 1); in applyLoadPlan() 192 newList.add(Task.from(new TaskKey(mRunningTaskInfo), mRunningTaskInfo, false)); in applyLoadPlan()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | ShortcutUsageReporter.java | 75 EXECUTOR.submit(Task.ID, new Task(context), phoneNumber); in onOutgoingCallAdded() 78 private static final class Task extends AsyncTask<String, Void, Void> { class in ShortcutUsageReporter 83 public Task(Context context) { in Task() method in ShortcutUsageReporter.Task
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskSystemShortcut.java | 48 import com.android.systemui.shared.recents.model.Task; 86 Task task = view.getTask(); in getOnClickListener() 99 BaseDraggingActivity activity, Task task, ItemInfo dummyInfo) { in getOnClickListenerForTask() 125 final Task task = taskView.getTask(); in getOnClickListener() 332 BaseDraggingActivity activity, Task task, ItemInfo itemInfo) {
|
D | TaskOverlayFactory.java | 31 import com.android.systemui.shared.recents.model.Task; 76 public void initOverlay(Task task, ThumbnailData thumbnail, Matrix matrix) { } in initOverlay()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | DigitalWellBeingToast.java | 46 import com.android.systemui.shared.recents.model.Task; 62 private Task mTask; 112 public void initialize(Task task) { in initialize() 229 Task task, long appUsageLimitTimeMs, long appRemainingTimeMs) { in getContentDescriptionForTask()
|
D | RecentsView.java | 110 import com.android.systemui.shared.recents.model.Task; 242 Task.TaskKey taskKey = taskView.getTask().key; 275 private Task mTmpRunningTask; 370 public Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() 374 Task task = taskView.getTask(); in onTaskThumbnailChanged() 533 protected void applyLoadPlan(ArrayList<Task> tasks) { in applyLoadPlan() 570 final Task task = tasks.get(i); in applyLoadPlan() 741 Task task = taskView.getTask(); in loadVisibleTaskData() 886 mTmpRunningTask = new Task(new Task.TaskKey(runningTaskId, 0, new Intent(), in showCurrentTask() 1074 private void removeTask(Task task, int index, PendingAnimation.OnEndListener onEndListener, in removeTask() [all …]
|
D | TaskThumbnailView.java | 57 import com.android.systemui.shared.recents.model.Task; 97 private Task mTask; 129 public void bind(Task task) { in bind() 140 public void setThumbnail(Task task, ThumbnailData thumbnailData) { in setThumbnail()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | RecentTasksListTest.java | 33 import com.android.systemui.shared.recents.model.Task; 80 List<Task> taskList = mRecentTasksList.loadTasksInBackground(Integer.MAX_VALUE, true); in loadTasksInBackground_onlyKeys_noValidTaskDescription() 94 List<Task> taskList = mRecentTasksList.loadTasksInBackground(Integer.MAX_VALUE, false); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | SaveLockWorkerBase.java | 77 new Task().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in start() 121 private class Task extends AsyncTask<Void, Void, Boolean> { class in SaveLockWorkerBase
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SaveChosenLockWorkerBase.java | 92 new Task().execute(); in start() 115 private class Task extends AsyncTask<Void, Void, Pair<Boolean, Intent>> { class in SaveChosenLockWorkerBase
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | SaveChosenLockWorkerBase.java | 92 new Task().execute(); in start() 115 private class Task extends AsyncTask<Void, Void, Pair<Boolean, Intent>> { class in SaveChosenLockWorkerBase
|