Searched refs:Task (Results 1 - 25 of 63) sorted by path

123

/frameworks/base/libs/hwui/
H A DPathCache.cpp229 const sp<Task<SkBitmap*> >& task = texture->task();
329 void PathCache::PathProcessor::onProcess(const sp<Task<SkBitmap*> >& task) {
393 const sp<Task<SkBitmap*> >& task = texture->task();
H A DPathCache.h22 #include "thread/Task.h"
94 sp<Task<SkBitmap*> > task() const {
98 void setTask(const sp<Task<SkBitmap*> >& task) {
109 sp<Task<SkBitmap*> > mTask;
271 class PathTask: public Task<SkBitmap*> {
294 virtual void onProcess(const sp<Task<SkBitmap*> >& task) override;
H A DTessellationCache.cpp27 #include "thread/Task.h"
124 class TessellationCache::TessellationTask : public Task<VertexBuffer*> {
143 virtual void onProcess(const sp<Task<VertexBuffer*> >& task) override {
153 Buffer(const sp<Task<VertexBuffer*> >& task)
181 sp<Task<VertexBuffer*> > mTask;
277 virtual void onProcess(const sp<Task<TessellationCache::vertexBuffer_pair_t> >& task) override {
296 , mShadowCache(LruCache<ShadowDescription, Task<vertexBuffer_pair_t*>*>::kUnlimitedCapacity) {
H A DTessellationCache.h91 class ShadowTask : public Task<vertexBuffer_pair_t> {
216 LruCache<ShadowDescription, Task<vertexBuffer_pair_t>*> mShadowCache;
217 class BufferPairRemovedListener : public OnEntryRemoved<ShadowDescription, Task<vertexBuffer_pair_t>*> {
218 void operator()(ShadowDescription& description, Task<vertexBuffer_pair_t>*& bufferPairTask) override {
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp842 virtual void onProcess(const sp<Task<bool> >& task) override {
H A DCanvasContext.h27 #include "thread/Task.h"
242 // TODO: This is really a Task<void> but that doesn't really work
244 struct FuncTask : public Task<bool> {
/frameworks/base/libs/hwui/tests/microbench/
H A DTaskManagerBench.cpp19 #include "thread/Task.h"
28 class TrivialTask : public Task<char> {};
35 virtual void onProcess(const sp<Task<char> >& task) override {
/frameworks/base/libs/hwui/thread/
H A DTask.h35 class Task: public TaskBase { class in namespace:android::uirenderer
37 Task(): mFuture(new Future<T>()) { } function in class:android::uirenderer::Task
38 virtual ~Task() { }
H A DTaskManager.h32 class Task;
62 bool addTask(const sp<Task<T> >& task, const sp<TaskProcessor<T> >& processor) {
H A DTaskProcessor.h22 #include "Task.h"
42 void add(const sp<Task<T> >& task) {
49 virtual void onProcess(const sp<Task<T> >& task) = 0;
52 bool addImpl(const sp<Task<T> >& task);
55 sp<Task<T> > realTask = static_cast<Task<T>* >(task.get());
57 // sp<Task<T> > realTask = static_cast<sp<Task<T> > >(task);
65 bool TaskProcessor<T>::addImpl(const sp<Task<T> >& task) {
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DPipeManager.java46 final Task task = new ImportFileTask(model, identifier);
52 final Task task = new GetThumbnailTask(model, identifier);
57 private static abstract class Task implements Runnable { class in class:PipeManager
62 Task(MtpManager manager, Identifier identifier) throws IOException { method in class:PipeManager.Task
73 private static class ImportFileTask extends Task {
94 private static class GetThumbnailTask extends Task {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java83 import com.android.systemui.recents.model.Task;
223 // If we have a focused Task, launch that Task now
235 // If we have a focused Task, launch that Task now
249 // If we have a focused Task, launch that Task now
428 Task launchTarget = stack.getLaunchTarget();
H A DRecentsImpl.java66 import com.android.systemui.recents.model.Task;
141 // Task launching
423 ArrayList<Task> tasks = focusedStack.getStackTasks();
424 Task toTask = null;
428 Task task = tasks.get(i);
476 ArrayList<Task> tasks = focusedStack.getStackTasks();
477 Task toTask = null;
482 Task task = tasks.get(i);
485 Task.TaskKey toTaskKey;
712 ArrayList<Task> task
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DCancelEnterRecentsWindowAnimationEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task launchTask;
31 public CancelEnterRecentsWindowAnimationEvent(Task launchTask) {
H A DLaunchTaskEvent.java22 import com.android.systemui.recents.model.Task;
31 public final Task task;
36 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, int targetTaskStack,
H A DLaunchTvTaskEvent.java21 import com.android.systemui.recents.model.Task;
27 public final Task task;
31 public LaunchTvTaskEvent(TaskCardView taskView, Task task, Rect targetTaskBounds,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
H A DDeleteTaskDataEvent.java20 import com.android.systemui.recents.model.Task;
23 * This is sent when the data associated with a given {@link Task} should be deleted from the
28 public final Task task;
30 public DeleteTaskDataEvent(Task task) {
H A DShowApplicationInfoEvent.java20 import com.android.systemui.recents.model.Task;
23 * This is sent when a user wants to show the application info for a {@link Task}.
27 public final Task task;
29 public ShowApplicationInfoEvent(Task task) {
H A DTaskViewDismissedEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragDropTargetChangedEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) {
H A DDragEndCancelledEvent.java20 import com.android.systemui.recents.model.Task;
31 public final Task task;
34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) {
H A DDragEndEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) {
H A DDragStartEvent.java22 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) {
H A DDragStartInitializeDropTargetsEvent.java20 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java83 import com.android.systemui.recents.model.Task;
710 return "Recent Task: " + userId;
724 return "Recent Task App: " + userId;
737 return "Recent Task Content Description: " + userId;
986 public boolean startActivityFromRecents(Context context, Task.TaskKey taskKey, String taskName,

Completed in 289 milliseconds

123