Searched defs:task (Results 1 - 25 of 102) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
H A DDeleteTaskDataEvent.java28 public final Task task; field in class:DeleteTaskDataEvent
30 public DeleteTaskDataEvent(Task task) { argument
31 this.task = task;
H A DShowApplicationInfoEvent.java27 public final Task task; field in class:ShowApplicationInfoEvent
29 public ShowApplicationInfoEvent(Task task) { argument
30 this.task = task;
H A DTaskViewDismissedEvent.java29 public final Task task; field in class:TaskViewDismissedEvent
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) { argument
34 this.task = task;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragDropTargetChangedEvent.java28 // The task that is currently being dragged
29 public final Task task; field in class:DragDropTargetChangedEvent
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) { argument
33 this.task = task;
H A DDragEndCancelledEvent.java31 public final Task task; field in class:DragEndCancelledEvent
34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) { argument
36 this.task = task;
H A DDragEndEvent.java29 public final Task task; field in class:DragEndEvent
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) { argument
34 this.task = task;
H A DDragStartEvent.java30 public final Task task; field in class:DragStartEvent
35 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) { argument
36 this(task, taskView, tlOffset, true);
39 public DragStartEvent(Task task, TaskView taskView, Point tlOffset, argument
41 this.task = task;
H A DDragStartInitializeDropTargetsEvent.java30 public final Task task; field in class:DragStartInitializeDropTargetsEvent
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, argument
36 this.task = task;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DInflationTask.java27 * Supersedes an existing task. i.e another task was superceeded by this.
29 * @param task the task that was previously running
31 default void supersedeTask(InflationTask task) {} argument
/frameworks/base/libs/hwui/thread/
H A DTaskProcessor.h33 virtual void process(const sp<TaskBase>& task) = 0;
42 void add(const sp<Task<T> >& task) { argument
43 if (!addImpl(task)) {
45 process(task);
49 virtual void onProcess(const sp<Task<T> >& task) = 0;
52 bool addImpl(const sp<Task<T> >& task);
54 virtual void process(const sp<TaskBase>& task) override {
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) { argument
[all...]
H A DTaskManager.h45 * Returns true if this task manager can run tasks,
62 bool addTask(const sp<Task<T> >& task, const sp<TaskProcessor<T> >& processor) { argument
63 return addTaskBase(sp<TaskBase>(task), sp<TaskProcessorBase>(processor));
66 bool addTaskBase(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor);
71 TaskWrapper(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor): argument
72 mTask(task), mProcessor(processor) {
83 bool addTask(const TaskWrapper& task);
96 // task is available in the list
H A DTaskManager.cpp62 bool TaskManager::addTaskBase(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor) { argument
64 TaskWrapper wrapper(task, processor);
99 const TaskWrapper& task = tasks[i]; local
100 task.mProcessor->process(task.mTask);
106 bool TaskManager::WorkerThread::addTask(const TaskWrapper& task) { argument
115 mTasks.push_back(task);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DLaunchTaskEvent.java26 * This event is sent to request that a particular task is launched.
31 public final Task task; field in class:LaunchTaskEvent
36 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, int targetTaskStack, argument
39 this.task = task;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAppButtonData.java48 public void addTask(RecentTaskInfo task) { argument
52 tasks.add(task);
/frameworks/base/services/core/jni/BroadcastRadio/
H A DNativeCallbackThread.cpp52 Task task; local
58 ALOGV("Waiting for task...");
64 task = mQueue.front();
68 ALOGV("Executing task...");
69 task(env);
84 void NativeCallbackThread::enqueue(const Task &task) { argument
92 ALOGV("Adding task to the queue...");
93 mQueue.push(task);
110 // you can't self-join a thread, but it's ok when calling from our sub-task
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDataProviderSample.java43 protected Bitmap doInBackground(Object task, int index, long position) { argument
49 if (isCancelled(task)) {
H A DPlaybackSeekDiskDataProvider.java50 protected Bitmap doInBackground(Object task, int index, long position) { argument
56 if (isCancelled(task)) {
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDataProviderSample.java43 protected Bitmap doInBackground(Object task, int index, long position) { argument
49 if (isCancelled(task)) {
H A DPlaybackSeekDiskDataProvider.java50 protected Bitmap doInBackground(Object task, int index, long position) { argument
56 if (isCancelled(task)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFreeformWorkspaceLayoutAlgorithm.java34 // Optimization, allows for quick lookup of task -> rect
47 // This is applied to the edges of each task
70 Task task = freeformTasks.get(i);
72 if (task.bounds != null) {
73 rowTaskWidth = (float) task.bounds.width() / task.bounds.height();
75 // If this is a stack task that was dragged into the freeform workspace, then
76 // the task will not yet have an associated bounds, so assume the full workspace
80 // Bound the task width to the workspace width so that at the worst case, it will
96 // scale to be the smaller of the scale needed to fit the task i
142 isTransformAvailable(Task task, TaskStackLayoutAlgorithm stackLayout) argument
153 getTransform(Task task, TaskViewTransform transformOut, TaskStackLayoutAlgorithm stackLayout) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTaskDrainer.java31 * <p>The initial state is to allow all tasks to be started and finished. A task may only be started
32 * once, after which it must be finished before starting again. Likewise, a task may only be
34 * task before starting it due to different threads handling starting and finishing.</p>
75 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
88 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
103 * Mark an asynchronous task as having started.
105 * <p>A task cannot be started more than once without first having finished. Once
108 * @param task a key to identify a task
114 * If attempting to start a task whic
117 taskStarted(T task) argument
151 taskFinished(T task) argument
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java29 * An implementation of a task aggregator that executes tasks in the order that they are expected
32 * The task will be scheduled to run when its corresponding key becomes the first expected key
35 * If on {@link #execute(Object, Runnable)} the key is not expected, the task will be executed
42 * <li>Execute task <b>2</b> for key <b>B</b>. The first expected key is <b>A</b>,
43 * which has no task associated with it, so we store task <b>2</b>. </li>
44 * <li>Execute task <b>4</b> for key <b>Z</b>. We store task <b>4</b>. </li>
45 * <li>Execute task <b>1</b> for key <b>A</b>. We run task <
165 execute(final T key, final Runnable task) argument
301 Runnable task; field in class:ContiguousFIFOAggregator.Value
303 Value(final Callback<T> callback, final Runnable task) argument
[all...]
/frameworks/support/app-toolkit/core-testing/src/androidTest/java/android/arch/core/executor/testing/
H A DCountingTaskExecutorRuleTest.java58 LatchRunnable task = runOnIO();
59 singleTaskTest(task);
64 LatchRunnable task = runOnMain();
65 singleTaskTest(task);
109 private void singleTaskTest(LatchRunnable task) argument
112 task.startAndFinish();
140 final LatchRunnable task = runOnIO();
148 task.start();
/frameworks/base/libs/hwui/renderthread/
H A DRenderTask.h61 // Takes ownership of task, caller owns lock and signal
62 SignalingRenderTask(RenderTask* task, Mutex* lock, Condition* signal) argument
63 : mTask(task), mLock(lock), mSignal(signal), mHasRun(false) {}
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorDialog.java68 mIsRestartable = data.task != null || data.isRestartableForService;
205 TaskRecord task; field in class:AppErrorDialog.Data

Completed in 464 milliseconds

12345