/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()
|
D | BaseTask.java | 40 public abstract class BaseTask implements Task { 207 public void onDuplicatedTaskAdded(Task task) { in onDuplicatedTaskAdded()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentTasksList.java | 26 import com.android.systemui.shared.recents.model.Task; 55 ArrayList<Task> mTasks = new ArrayList<>(); 68 public void getTaskKeys(int numTasks, Consumer<ArrayList<Task>> callback) { in getTaskKeys() 71 ArrayList<Task> tasks = loadTasksInBackground(numTasks, true /* loadKeysOnly */); in getTaskKeys() 83 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() 97 ArrayList<Task> tasks = loadTasksInBackground(Integer.MAX_VALUE, loadKeysOnly); in getTasks() 146 private ArrayList<Task> loadTasksInBackground(int numTasks, in loadTasksInBackground() 149 ArrayList<Task> allTasks = new ArrayList<>(); in loadTasksInBackground() 170 Task.TaskKey taskKey = new Task.TaskKey(rawTask); in loadTasksInBackground() 171 Task task; in loadTasksInBackground() [all …]
|
D | RecentsModel.java | 35 import com.android.systemui.shared.recents.model.Task; 92 public int getTasks(Consumer<ArrayList<Task>> callback) { in getTasks() 118 public void findTaskWithId(int taskId, Consumer<Task.TaskKey> callback) { in findTaskWithId() 120 for (Task task : tasks) { in findTaskWithId() 146 for (Task task : tasks) { in onTaskStackChangedBackground() 162 Task task = mThumbnailChangeListeners.get(i).onTaskThumbnailChanged(taskId, snapshot); in onTaskSnapshotChanged() 171 Task.TaskKey dummyKey = new Task.TaskKey(taskId, 0, null, null, 0, 0); in onTaskRemoved() 217 Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData); in onTaskThumbnailChanged()
|
D | TaskIconCache.java | 36 import com.android.systemui.shared.recents.model.Task; 61 public void onEntryEvicted(Task.TaskKey key) { 89 public IconLoadRequest updateIconInBackground(Task task, Consumer<Task> callback) { in updateIconInBackground() 126 private String loadContentDescriptionInBackground(Task task) { in loadContentDescriptionInBackground()
|
D | TaskThumbnailCache.java | 28 import com.android.systemui.shared.recents.model.Task; 29 import com.android.systemui.shared.recents.model.Task.TaskKey; 108 public void updateThumbnailInCache(Task task) { in updateThumbnailInCache() 132 Task task, Consumer<ThumbnailData> callback) { in updateThumbnailInBackground() 192 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/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/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 | 50 import com.android.systemui.shared.recents.model.Task; 88 Task task = view.getTask(); in getOnClickListener() 101 BaseDraggingActivity activity, Task task, ItemInfo dummyInfo) { in getOnClickListenerForTask() 127 final Task task = taskView.getTask(); in getOnClickListener() 331 BaseDraggingActivity activity, Task task, ItemInfo itemInfo) {
|
D | TaskOverlayFactory.java | 29 import com.android.systemui.shared.recents.model.Task; 75 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 | 108 import com.android.systemui.shared.recents.model.Task; 241 Task.TaskKey taskKey = taskView.getTask().key; 274 private Task mTmpRunningTask; 367 public Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() 371 Task task = taskView.getTask(); in onTaskThumbnailChanged() 530 private void applyLoadPlan(ArrayList<Task> tasks) { in applyLoadPlan() 569 final Task task = tasks.get(i); in applyLoadPlan() 722 Task task = taskView.getTask(); in loadVisibleTaskData() 860 mTmpRunningTask = new Task(new Task.TaskKey(runningTaskId, 0, new Intent(), in showCurrentTask() 1045 private void removeTask(Task task, int index, PendingAnimation.OnEndListener onEndListener, in removeTask() [all …]
|
D | TaskThumbnailView.java | 53 import com.android.systemui.shared.recents.model.Task; 93 private Task mTask; 124 public void bind(Task task) { in bind() 135 public void setThumbnail(Task task, ThumbnailData thumbnailData) { in setThumbnail()
|
/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
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | IconRecentsView.java | 76 import com.android.systemui.shared.recents.model.Task; 167 Optional<Task> optTask = taskHolder.getTask(); 169 Task task = optTask.get(); 370 List<Task> tasks = mTaskLoader.getCurrentTaskList(); in handleOverviewCommand() 376 Task taskToLaunch; in handleOverviewCommand()
|