Home
last modified time | relevance | path

Searched refs:taskView (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java208 TaskView taskView = getTaskView(taskId);
209 if (taskView != null) {
210 removeView(taskView);
231 TaskView taskView = getTaskView(taskId);
232 if (taskView == null) {
235 Handler handler = taskView.getHandler();
242 Task.TaskKey taskKey = taskView.getTask().key;
247 dismissTask(taskView, true /* animate */, false /* removeTask */));
252 handler.post(() -> dismissTask(taskView, true /* animate */,
372 TaskView taskView = getTaskView(taskId); in onTaskThumbnailChanged() local
[all …]
DTaskMenuView.java163 public static TaskMenuView showForTask(TaskView taskView) { in showForTask() argument
164 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask()
167 return taskMenuView.populateAndShowForTask(taskView) ? taskMenuView : null; in showForTask()
170 private boolean populateAndShowForTask(TaskView taskView) { in populateAndShowForTask() argument
175 mTaskView = taskView; in populateAndShowForTask()
182 private void addMenuOptions(TaskView taskView) { in addMenuOptions() argument
183 Drawable icon = taskView.getTask().icon.getConstantState().newDrawable(); in addMenuOptions()
186 mTaskName.setText(TaskUtils.getTitle(getContext(), taskView.getTask())); in addMenuOptions()
191 taskView.getIconView().addUpdateScaleListener(mTaskViewIconScaleListener); in addMenuOptions()
202 TaskOverlayFactory.INSTANCE.get(getContext()).getEnabledShortcuts(taskView); in addMenuOptions()
[all …]
DLauncherRecentsView.java236 TaskView taskView = getRunningTaskView(); in redrawLiveTile() local
237 if (taskView != null) { in redrawLiveTile()
238 taskView.getThumbnail().getGlobalVisibleRect(mTempRect); in redrawLiveTile()
239 int offsetX = (int) (mTaskWidth * taskView.getScaleX() * getScaleX() in redrawLiveTile()
241 int offsetY = (int) (mTaskHeight * taskView.getScaleY() * getScaleY() in redrawLiveTile()
255 .setCurrentRectAndTargetAlpha(mTempRectF, taskView.getAlpha()) in redrawLiveTile()
DTaskView.java111 public void setValue(TaskView taskView, float v) {
112 taskView.setFullscreenProgress(v);
116 public Float get(TaskView taskView) {
117 return taskView.mFullscreenProgress;
124 public void setValue(TaskView taskView, float v) {
125 taskView.setIconAndDimTransitionProgress(v, false /* invert */);
129 public Float get(TaskView taskView) {
130 return taskView.mFocusTransitionProgress;
DDigitalWellBeingToast.java66 public DigitalWellBeingToast(BaseDraggingActivity activity, TaskView taskView) { in DigitalWellBeingToast() argument
68 mTaskView = taskView; in DigitalWellBeingToast()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java60 TaskView taskView = (TaskView) v; in findTaskViewToLaunch() local
61 return recentsView.isTaskViewVisible(taskView) ? taskView : null; in findTaskViewToLaunch()
72 TaskView taskView = recentsView.getTaskViewAt(i); in findTaskViewToLaunch() local
73 if (recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch()
74 Task.TaskKey key = taskView.getTask().key; in findTaskViewToLaunch()
76 return taskView; in findTaskViewToLaunch()
102 TaskView taskView = recentsView.getTaskView(openingTaskId); in findTaskViewToLaunch() local
103 if (taskView == null || !recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch()
106 return taskView; in findTaskViewToLaunch()
DTaskSystemShortcut.java124 BaseDraggingActivity activity, TaskView taskView) { in getOnClickListener() argument
125 final Task task = taskView.getTask(); in getOnClickListener()
136 final TaskThumbnailView thumbnailView = taskView.getThumbnail(); in getOnClickListener()
143 taskView.getRootView().removeOnLayoutChangeListener(this); in getOnClickListener()
147 recentsView.dismissTask(taskView, false, false); in getOnClickListener()
157 taskView.getRootView().addOnLayoutChangeListener( in getOnClickListener()
181 taskView.setAlpha(0f); in getOnClickListener()
186 final int width = (int) (thumbnailView.getWidth() * taskView.getScaleX()); in getOnClickListener()
187 final int height = (int) (thumbnailView.getHeight() * taskView.getScaleY()); in getOnClickListener()
295 BaseDraggingActivity activity, TaskView taskView) {
[all …]
DOverviewCommandHelper.java109 TaskView taskView = rv.getNextTaskView(); in onTransitionComplete() local
110 if (taskView == null) { in onTransitionComplete()
112 taskView = rv.getTaskViewAt(0); in onTransitionComplete()
113 taskView.requestFocus(); in onTransitionComplete()
118 taskView.requestFocus(); in onTransitionComplete()
DRecentsActivity.java150 final TaskView taskView = (TaskView) v; in getActivityLaunchOptions() local
157 AnimatorSet anim = composeRecentsLaunchAnimator(taskView, targetCompats); in getActivityLaunchOptions()
176 private AnimatorSet composeRecentsLaunchAnimator(TaskView taskView, in composeRecentsLaunchAnimator() argument
181 target.play(getRecentsWindowAnimator(taskView, !activityClosing, targets, helper) in composeRecentsLaunchAnimator()
187 .createAdjacentPageAnimForTaskLaunch(taskView, helper); in composeRecentsLaunchAnimator()
DTaskOverlayFactory.java54 public List<TaskSystemShortcut> getEnabledShortcuts(TaskView taskView) { in getEnabledShortcuts() argument
56 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts()
59 menuOption.getOnClickListener(activity, taskView); in getEnabledShortcuts()
DWindowTransformSwipeHandler.java1113 final TaskView taskView; in switchToScreenshot() local
1117 taskView = null; in switchToScreenshot()
1119 taskView = mRecentsView.updateThumbnail(mRunningTaskId, mTaskSnapshot); in switchToScreenshot()
1121 if (taskView != null && !mCanceled) { in switchToScreenshot()
1124 finishTransitionPosted = new WindowCallbacksCompat(taskView) { in switchToScreenshot()
1144 taskView.invalidate(); in switchToScreenshot()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitOverviewStateTouchHelper.java66 TaskView taskView = mRecentsView.getNextPageTaskView(); in shouldSwipeDownReturnToApp() local
67 return taskView != null && mRecentsView.shouldSwipeDownLaunchApp(); in shouldSwipeDownReturnToApp()
79 TaskView taskView = mRecentsView.getCurrentPageTaskView(); in createSwipeDownToTaskAppAnimation() local
80 if (taskView == null) { in createSwipeDownToTaskAppAnimation()
83 return mRecentsView.createTaskLauncherAnimation(taskView, duration); in createSwipeDownToTaskAppAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java180 TaskView taskView = launcher.<RecentsView>getOverviewPanel().getRunningTaskView();
181 if (taskView != null) {
184 taskView.launchTask(true);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherAppTransitionManagerImpl.java88 TaskView taskView = findTaskViewToLaunch(mLauncher, v, targets); in composeRecentsLaunchAnimator() local
91 anim.play(getRecentsWindowAnimator(taskView, skipLauncherChanges, targets, helper) in composeRecentsLaunchAnimator()
99 launcherAnim = recentsView.createAdjacentPageAnimForTaskLaunch(taskView, helper); in composeRecentsLaunchAnimator()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java165 TaskItemView taskView = itemViews.get(i);
166 TaskHolder taskHolder = (TaskHolder) mTaskRecyclerView.getChildViewHolder(taskView);
172 taskView.setThumbnail(thumbnailData);
388 TaskItemView taskView = itemViews.get(i); in handleOverviewCommand() local
389 TaskHolder holder = (TaskHolder) mTaskRecyclerView.getChildViewHolder(taskView); in handleOverviewCommand()