| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
| D | RecentsView.java | 207 TaskView taskView = getTaskView(taskId); 208 if (taskView != null) { 209 removeView(taskView); 230 TaskView taskView = getTaskView(taskId); 231 if (taskView == null) { 234 Handler handler = taskView.getHandler(); 241 Task.TaskKey taskKey = taskView.getTask().key; 246 dismissTask(taskView, true /* animate */, false /* removeTask */)); 251 handler.post(() -> dismissTask(taskView, true /* animate */, 369 TaskView taskView = getTaskView(taskId); in onTaskThumbnailChanged() local [all …]
|
| D | TaskMenuView.java | 161 public static TaskMenuView showForTask(TaskView taskView) { in showForTask() argument 162 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask() 165 return taskMenuView.populateAndShowForTask(taskView) ? taskMenuView : null; in showForTask() 168 private boolean populateAndShowForTask(TaskView taskView) { in populateAndShowForTask() argument 173 mTaskView = taskView; in populateAndShowForTask() 180 private void addMenuOptions(TaskView taskView) { in addMenuOptions() argument 181 Drawable icon = taskView.getTask().icon.getConstantState().newDrawable(); in addMenuOptions() 184 mTaskName.setText(TaskUtils.getTitle(getContext(), taskView.getTask())); in addMenuOptions() 189 taskView.getIconView().addUpdateScaleListener(mTaskViewIconScaleListener); in addMenuOptions() 200 TaskOverlayFactory.INSTANCE.get(getContext()).getEnabledShortcuts(taskView); in addMenuOptions() [all …]
|
| D | LauncherRecentsView.java | 192 TaskView taskView = getRunningTaskView(); in redrawLiveTile() local 193 if (taskView != null) { in redrawLiveTile() 194 taskView.getThumbnail().getGlobalVisibleRect(mTempRect); in redrawLiveTile() 195 int offsetX = (int) (mTaskWidth * taskView.getScaleX() * getScaleX() in redrawLiveTile() 197 int offsetY = (int) (mTaskHeight * taskView.getScaleY() * getScaleY() in redrawLiveTile() 211 .setCurrentRectAndTargetAlpha(mTempRectF, taskView.getAlpha()) in redrawLiveTile()
|
| D | TaskView.java | 112 public void setValue(TaskView taskView, float v) { 113 taskView.setFullscreenProgress(v); 117 public Float get(TaskView taskView) { 118 return taskView.mFullscreenProgress; 125 public void setValue(TaskView taskView, float v) { 126 taskView.setIconAndDimTransitionProgress(v, false /* invert */); 130 public Float get(TaskView taskView) { 131 return taskView.mFocusTransitionProgress;
|
| D | DigitalWellBeingToast.java | 66 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/ |
| D | TaskViewUtils.java | 60 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()
|
| D | TaskSystemShortcut.java | 126 BaseDraggingActivity activity, TaskView taskView) { in getOnClickListener() argument 127 final Task task = taskView.getTask(); in getOnClickListener() 138 final TaskThumbnailView thumbnailView = taskView.getThumbnail(); in getOnClickListener() 145 taskView.getRootView().removeOnLayoutChangeListener(this); in getOnClickListener() 149 recentsView.dismissTask(taskView, false, false); in getOnClickListener() 159 taskView.getRootView().addOnLayoutChangeListener( in getOnClickListener() 183 taskView.setAlpha(0f); in getOnClickListener() 188 final int width = (int) (thumbnailView.getWidth() * taskView.getScaleX()); in getOnClickListener() 189 final int height = (int) (thumbnailView.getHeight() * taskView.getScaleY()); in getOnClickListener() 294 BaseDraggingActivity activity, TaskView taskView) { [all …]
|
| D | RecentsActivity.java | 121 final TaskView taskView = (TaskView) v; in getActivityLaunchOptions() local 128 AnimatorSet anim = composeRecentsLaunchAnimator(taskView, targetCompats); in getActivityLaunchOptions() 147 private AnimatorSet composeRecentsLaunchAnimator(TaskView taskView, in composeRecentsLaunchAnimator() argument 152 target.play(getRecentsWindowAnimator(taskView, !activityClosing, targets, helper) in composeRecentsLaunchAnimator() 158 .createAdjacentPageAnimForTaskLaunch(taskView, helper); in composeRecentsLaunchAnimator()
|
| D | OverviewCommandHelper.java | 109 TaskView taskView = rv.getNextTaskView(); in onTransitionComplete() local 110 if (taskView == null) { in onTransitionComplete() 112 taskView = (TaskView) rv.getPageAt(0); in onTransitionComplete() 113 taskView.requestFocus(); in onTransitionComplete() 118 taskView.requestFocus(); in onTransitionComplete()
|
| D | TaskOverlayFactory.java | 53 public List<TaskSystemShortcut> getEnabledShortcuts(TaskView taskView) { in getEnabledShortcuts() argument 55 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts() 58 menuOption.getOnClickListener(activity, taskView); in getEnabledShortcuts()
|
| D | WindowTransformSwipeHandler.java | 1361 final TaskView taskView; in switchToScreenshot() local 1365 taskView = null; in switchToScreenshot() 1367 taskView = mRecentsView.updateThumbnail(mRunningTaskId, mTaskSnapshot); in switchToScreenshot() 1369 if (taskView != null && !mCanceled) { in switchToScreenshot() 1372 finishTransitionPosted = new WindowCallbacksCompat(taskView) { in switchToScreenshot() 1392 taskView.invalidate(); in switchToScreenshot()
|
| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
| D | PortraitOverviewStateTouchHelper.java | 66 TaskView taskView = mRecentsView.getTaskViewAt(mRecentsView.getNextPage()); in shouldSwipeDownReturnToApp() local 67 return taskView != null && mRecentsView.shouldSwipeDownLaunchApp(); in shouldSwipeDownReturnToApp() 79 TaskView taskView = mRecentsView.getTaskViewAt(mRecentsView.getCurrentPage()); 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/ |
| D | LauncherAppTransitionManagerImpl.java | 77 TaskView taskView = findTaskViewToLaunch(mLauncher, v, targets); in composeRecentsLaunchAnimator() local 80 anim.play(getRecentsWindowAnimator(taskView, skipLauncherChanges, targets, helper) in composeRecentsLaunchAnimator() 88 launcherAnim = recentsView.createAdjacentPageAnimForTaskLaunch(taskView, helper); in composeRecentsLaunchAnimator()
|
| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
| D | OverviewState.java | 171 TaskView taskView = launcher.<RecentsView>getOverviewPanel().getRunningTaskView(); 172 if (taskView != null) { 175 taskView.launchTask(true);
|
| /packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
| D | IconRecentsView.java | 165 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()
|