HomeSort by relevance Sort by last modified time
    Searched refs:taskView (Results 1 - 24 of 24) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
LaunchTaskStartedEvent.java 20 import com.android.systemui.recents.views.TaskView;
28 public final TaskView taskView;
31 public LaunchTaskStartedEvent(TaskView taskView, boolean screenPinningRequested) {
32 this.taskView = taskView;
LaunchTaskEvent.java 26 import com.android.systemui.recents.views.TaskView;
33 public final TaskView taskView;
40 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds,
42 this(taskView, task, targetTaskBounds, screenPinningRequested,
46 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds,
48 this.taskView = taskView;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
DismissTaskViewEvent.java 20 import com.android.systemui.recents.views.TaskView;
23 * This event is sent to request that the given {@link TaskView} is dismissed.
27 public final TaskView taskView;
29 public DismissTaskViewEvent(TaskView taskView) {
30 this.taskView = taskView;
TaskViewDismissedEvent.java 22 import com.android.systemui.recents.views.TaskView;
25 * This event is sent when a {@link TaskView} has been dismissed and is no longer visible.
30 public final TaskView taskView;
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) {
35 this.taskView = taskView;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
DragStartEvent.java 23 import com.android.systemui.recents.views.TaskView;
31 public final TaskView taskView;
35 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) {
36 this(task, taskView, tlOffset, true);
39 public DragStartEvent(Task task, TaskView taskView, Point tlOffset,
42 this.taskView = taskView;
    [all...]
DragEndCancelledEvent.java 22 import com.android.systemui.recents.views.TaskView;
31 public final TaskView taskView;
33 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) {
36 this.taskView = taskView;
DragEndEvent.java 22 import com.android.systemui.recents.views.TaskView;
30 public final TaskView taskView;
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) {
35 this.taskView = taskView;
DragStartInitializeDropTargetsEvent.java 22 import com.android.systemui.recents.views.TaskView;
31 public final TaskView taskView;
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView,
37 this.taskView = taskView;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
RecentsTransitionComposer.java 56 * Composes a single animation spec for the given {@link TaskView}
59 TaskView taskView, TaskViewTransform transform, boolean addHeaderBitmap) {
62 b = composeHeaderBitmap(taskView, transform);
74 if (!Recents.getConfiguration().isLowRamDevice && taskView.getTask() !=
78 return new AppTransitionAnimationSpecCompat(taskView.getTask().key.id, b, taskRect);
84 public List<AppTransitionAnimationSpecCompat> composeDockAnimationSpec(TaskView taskView,
86 mTmpTransform.fillIn(taskView);
87 Task task = taskView.getTask()
    [all...]
TaskViewAccessibilityDelegate.java 39 private final TaskView mTaskView;
47 public TaskViewAccessibilityDelegate(TaskView taskView) {
48 mTaskView = taskView;
49 Context context = taskView.getContext();
RecentsView.java 338 TaskView taskView = mTaskStackView.getChildViewForTask(task);
339 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, false));
362 TaskView taskView = mTaskStackView.getChildViewForTask(task);
363 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, false));
541 launchTaskFromRecents(getStack(), event.task, mTaskStackView, event.taskView,
612 Utilities.setViewFrameFromTranslation(event.taskView);
625 final Rect taskRect = getTaskRect(event.taskView);
630 return mTransitionHelper.composeDockAnimationSpec(event.taskView, taskRect)
    [all...]
RecentsViewTouchHandler.java 56 private TaskView mTaskView;
123 mTaskView = event.taskView;
160 event.taskView, this));
TaskStackView.java 108 TaskView.TaskViewCallbacks, TaskStackViewScroller.TaskStackViewScrollerCallbacks,
110 ViewPool.ViewPoolConsumer<TaskView, Task> {
148 private ViewPool<TaskView, Task> mViewPool;
150 private ArrayList<TaskView> mTaskViews = new ArrayList<>();
204 private ArrayMap<Task.TaskKey, TaskView> mTmpTaskViewMap = new ArrayMap<>();
205 private List<TaskView> mTmpTaskViews = new ArrayList<>();
285 List<TaskView> taskViews = getTaskViews();
288 TaskView tv = taskViews.get(i);
319 List<TaskView> taskViews = new ArrayList<>();
376 if (v instanceof TaskView) {
    [all...]
TaskStackLayoutAlgorithm.java 599 public void addUnfocusedTaskOverride(TaskView taskView, float stackScroll) {
603 Task task = taskView.getTask();
604 int top = taskView.getTop() - mTaskRect.top;
    [all...]
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
TaskSystemShortcut.java 44 import com.android.quickstep.views.TaskView;
82 public View.OnClickListener getOnClickListener(BaseDraggingActivity activity, TaskView view) {
117 BaseDraggingActivity activity, TaskView taskView) {
121 final Task task = taskView.getTask();
128 final TaskThumbnailView thumbnailView = taskView.getThumbnail();
135 taskView.getRootView().removeOnLayoutChangeListener(this);
136 recentsView.removeIgnoreResetTask(taskView);
139 recentsView.dismissTask(taskView, false, false);
149 taskView.getRootView().addOnLayoutChangeListener
    [all...]
TaskUtils.java 46 import com.android.quickstep.views.TaskView;
83 * Try to find a TaskView that corresponds with the component of the launched view.
85 * If this method returns a non-null TaskView, it will be used in composeRecentsLaunchAnimation.
87 * opening remote target (which we don't get until onAnimationStart) will resolve to a TaskView.
89 public static TaskView findTaskViewToLaunch(
91 if (v instanceof TaskView) {
92 return (TaskView) v;
104 TaskView taskView = recentsView.getPageAt(i);
105 if (recentsView.isTaskViewVisible(taskView)) {
    [all...]
QuickScrubController.java 32 import com.android.quickstep.views.TaskView;
101 TaskView taskView = mRecentsView.getPageAt(page);
102 if (taskView != null) {
104 taskView.launchTask(true, (result) -> {
106 taskView.notifyTaskLaunchFailed(TAG);
111 TaskUtils.getComponentKeyForTask(taskView.getTask().key));
114 }, taskView.getHandler());
RecentsActivity.java 56 import com.android.quickstep.views.TaskView;
180 if (!(v instanceof TaskView)) {
184 final TaskView taskView = (TaskView) v;
191 result.setAnimation(composeRecentsLaunchAnimator(taskView, targetCompats));
202 private AnimatorSet composeRecentsLaunchAnimator(TaskView taskView,
207 target.play(getRecentsWindowAnimator(taskView, !activityClosing, targets, helper)
213 .createAdjacentPageAnimForTaskLaunch(taskView, helper)
    [all...]
WindowTransformSwipeHandler.java 75 import com.android.quickstep.views.TaskView;
499 scale = TaskView.getCurveScaleForInterpolation(interpolation);
    [all...]
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
TaskMenuView.java 66 private TaskView mTaskView;
124 public static boolean showForTask(TaskView taskView) {
125 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext());
128 return taskMenuView.populateAndShowForTask(taskView);
131 private boolean populateAndShowForTask(TaskView taskView) {
136 mTaskView = taskView;
143 private void addMenuOptions(TaskView taskView) {
    [all...]
RecentsView.java 144 TaskView taskView = getTaskView(taskId);
145 if (taskView != null) {
146 removeView(taskView);
165 TaskView taskView = getTaskView(taskId);
166 if (taskView == null) {
169 Handler handler = taskView.getHandler();
176 Task.TaskKey taskKey = taskView.getTask().key;
181 dismissTask(taskView, true /* animate */, false /* removeTask */))
    [all...]
TaskView.java 62 public class TaskView extends FrameLayout implements TaskCallbacks, PageCallbacks {
64 private static final String TAG = TaskView.class.getSimpleName();
84 public static final Property<TaskView, Float> ZOOM_SCALE =
85 new FloatProperty<TaskView>("zoomScale") {
87 public void setValue(TaskView taskView, float v) {
88 taskView.setZoomScale(v);
92 public Float get(TaskView taskView) {
93 return taskView.mZoomScale
    [all...]
  /packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
PortraitStatesTouchController.java 45 import com.android.quickstep.views.TaskView;
143 TaskView taskView = (TaskView) recentsView.getChildAt(recentsView.getNextPage());
145 && taskView != null) {
146 mPendingAnimation = recentsView.createTaskLauncherAnimation(taskView, maxAccuracy);
  /packages/apps/Launcher3/quickstep/src/com/android/launcher3/
LauncherAppTransitionManagerImpl.java 76 import com.android.quickstep.views.TaskView;
267 TaskView taskView = findTaskViewToLaunch(mLauncher, v, targets);
268 if (taskView == null) {
277 target.play(getRecentsWindowAnimator(taskView, skipLauncherChanges, targets, helper)
285 launcherAnim = recentsView.createAdjacentPageAnimForTaskLaunch(taskView, helper);
    [all...]

Completed in 346 milliseconds