/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 437 TaskView taskView = getTaskView(taskId); 438 if (taskView != null) { 439 removeView(taskView); 459 TaskView taskView = getTaskView(taskId); 460 if (taskView == null) { 463 Task.TaskKey taskKey = taskView.getTask().key; 725 TaskView taskView = getTaskView(taskId); in onTaskThumbnailChanged() local 726 if (taskView != null) { in onTaskThumbnailChanged() 727 Task task = taskView.getTask(); in onTaskThumbnailChanged() 728 taskView.getThumbnail().setThumbnail(task, thumbnailData); in onTaskThumbnailChanged() [all …]
|
D | TaskView.java | 173 public void setValue(TaskView taskView, float v) { 174 taskView.setIconAndDimTransitionProgress(v, false /* invert */); 178 public Float get(TaskView taskView) { 179 return taskView.mFocusTransitionProgress; 186 public void setValue(TaskView taskView, float v) { 187 taskView.setSplitSelectTranslationX(v); 191 public Float get(TaskView taskView) { 192 return taskView.mSplitSelectTranslationX; 199 public void setValue(TaskView taskView, float v) { 200 taskView.setSplitSelectTranslationY(v); [all …]
|
D | TaskMenuView.java | 167 public static boolean showForTask(TaskView taskView) { 168 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); 171 return taskMenuView.populateAndShowForTask(taskView); 174 private boolean populateAndShowForTask(TaskView taskView) { 179 mTaskView = taskView; 206 private void addMenuOptions(TaskView taskView) { 207 mTaskName.setText(TaskUtils.getTitle(getContext(), taskView.getTask())); 210 TaskOverlayFactory.getEnabledShortcuts(taskView, mActivity.getDeviceProfile()) 238 private void orientAroundTaskView(TaskView taskView) { 239 PagedOrientationHandler orientationHandler = taskView.getPagedOrientationHandler(); [all …]
|
D | LauncherRecentsView.java | 244 public void initiateSplitSelect(TaskView taskView, in initiateSplitSelect() argument 246 super.initiateSplitSelect(taskView, splitPositionOption); in initiateSplitSelect()
|
D | DigitalWellBeingToast.java | 77 public DigitalWellBeingToast(BaseDraggingActivity activity, TaskView taskView) { in DigitalWellBeingToast() argument 79 mTaskView = taskView; in DigitalWellBeingToast()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskShortcutFactory.java | 85 public SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView taskView) { in getShortcut() argument 86 final Task task = taskView.getTask(); in getShortcut() 93 return new MultiWindowSystemShortcut(mIconRes, mTextRes, activity, taskView, this, in getShortcut() 101 public SplitSelectSystemShortcut(BaseDraggingActivity target, TaskView taskView, in SplitSelectSystemShortcut() argument 103 super(option.mIconResId, option.mTextResId, target, taskView.getItemInfo()); in SplitSelectSystemShortcut() 104 mTaskView = taskView; in SplitSelectSystemShortcut() 106 setEnabled(taskView.getRecentsView().getTaskViewCount() > 1); in SplitSelectSystemShortcut() 126 TaskView taskView, MultiWindowFactory factory, LauncherEvent launcherEvent) { in MultiWindowSystemShortcut() argument 127 super(iconRes, textRes, activity, taskView.getItemInfo()); in MultiWindowSystemShortcut() 130 mTaskView = taskView; in MultiWindowSystemShortcut() [all …]
|
D | TaskOverlayFactory.java | 65 public static List<SystemShortcut> getEnabledShortcuts(TaskView taskView, in getEnabledShortcuts() argument 68 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts() 70 SystemShortcut shortcut = menuOption.getShortcut(activity, taskView); in getEnabledShortcuts() 73 addSplitOptions(shortcuts, activity, taskView, deviceProfile); in getEnabledShortcuts() 81 RecentsOrientedState orientedState = taskView.getRecentsView().getPagedViewOrientedState(); in getEnabledShortcuts() 89 .getShortcut(activity, taskView); in getEnabledShortcuts() 98 .getShortcut(activity, taskView); in getEnabledShortcuts() 110 BaseDraggingActivity activity, TaskView taskView, DeviceProfile deviceProfile) { in addSplitOptions() argument 112 taskView.getRecentsView().getPagedOrientationHandler(); in addSplitOptions() 116 outShortcuts.add(new SplitSelectSystemShortcut(activity, taskView, option)); in addSplitOptions()
|
D | OverviewCommandHelper.java | 128 private boolean launchTask(RecentsView recents, @Nullable TaskView taskView, CommandInfo cmd) { in launchTask() argument 130 if (taskView != null) { in launchTask() 131 taskView.setEndQuickswitchCuj(true); in launchTask() 132 callbackList = taskView.launchTaskAnimated(); in launchTask() 245 TaskView taskView = rv.getNextTaskView(); in onTransitionComplete() local 246 if (taskView == null) { in onTransitionComplete() 248 taskView = rv.getTaskViewAt(0); in onTransitionComplete() 249 taskView.requestFocus(); in onTransitionComplete() 254 taskView.requestFocus(); in onTransitionComplete()
|
D | TaskViewUtils.java | 100 TaskView taskView = (TaskView) v; in findTaskViewToLaunch() local 101 return recentsView.isTaskViewVisible(taskView) ? taskView : null; in findTaskViewToLaunch() 112 TaskView taskView = recentsView.getTaskViewAt(i); in findTaskViewToLaunch() local 113 if (recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 114 Task.TaskKey key = taskView.getTask().key; in findTaskViewToLaunch() 116 return taskView; in findTaskViewToLaunch() 142 TaskView taskView = recentsView.getTaskView(openingTaskId); in findTaskViewToLaunch() local 143 if (taskView == null || !recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 146 return taskView; in findTaskViewToLaunch() 489 TaskView taskView = findTaskViewToLaunch(recentsView, v, appTargets); in composeRecentsLaunchAnimator() local [all …]
|
D | RecentsActivity.java | 205 final TaskView taskView = (TaskView) v; in getActivityLaunchOptions() local 213 AnimatorSet anim = composeRecentsLaunchAnimator(taskView, appTargets, in getActivityLaunchOptions() 242 private AnimatorSet composeRecentsLaunchAnimator(TaskView taskView, in composeRecentsLaunchAnimator() argument 249 createRecentsWindowAnimator(taskView, !activityClosing, appTargets, in composeRecentsLaunchAnimator() 256 .createAdjacentPageAnimForTaskLaunch(taskView); in composeRecentsLaunchAnimator()
|
D | AbsSwipeUpHandler.java | 1543 final TaskView taskView; 1547 taskView = null; 1549 taskView = mRecentsView.updateThumbnail(runningTaskId, mTaskSnapshot, refreshView); 1551 if (taskView != null && refreshView && !mCanceled) { 1554 finishTransitionPosted = ViewUtils.postFrameDrawn(taskView,
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitSelectStateController.java | 78 public void setInitialTaskSelect(TaskView taskView, SplitPositionOption positionOption, in setInitialTaskSelect() argument 80 mInitialTaskView = taskView; in setInitialTaskSelect() 88 public void setSecondTaskId(TaskView taskView) { in setSecondTaskId() argument 92 ? new int[]{mInitialTaskView.getTask().key.id, taskView.getTask().key.id} in setSecondTaskId() 93 : new int[]{taskView.getTask().key.id, mInitialTaskView.getTask().key.id}; in setSecondTaskId() 96 new RemoteSplitLaunchAnimationRunner(mInitialTaskView, taskView); in setSecondTaskId() 106 taskView, 1); in setSecondTaskId() 121 mSystemUiProxy.startTask(taskView.getTask().key.id, compliment.first, in setSecondTaskId() 161 RemoteSplitLaunchAnimationRunner(TaskView initialTaskView, TaskView taskView) { in RemoteSplitLaunchAnimationRunner() argument 163 mTaskView = taskView; in RemoteSplitLaunchAnimationRunner()
|
D | RecentsOrientedState.java | 395 public float getFullScreenScaleAndPivot(Rect taskView, DeviceProfile dp, PointF outPivot) { in getFullScreenScaleAndPivot() argument 405 float scale = Math.min(outPivot.x / taskView.width(), outPivot.y / taskView.height()); in getFullScreenScaleAndPivot() 416 float y = (scale * taskView.bottom - fullHeight) * denominator; in getFullScreenScaleAndPivot() 417 float x = (scale * taskView.right - fullWidth) * denominator; in getFullScreenScaleAndPivot() 421 outPivot.set(taskView.left * factor, taskView.top * factor); in getFullScreenScaleAndPivot()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitOverviewStateTouchHelper.java | 67 TaskView taskView = mRecentsView.getNextPageTaskView(); in shouldSwipeDownReturnToApp() local 68 return taskView != null && mRecentsView.shouldSwipeDownLaunchApp(); in shouldSwipeDownReturnToApp() 80 TaskView taskView = mRecentsView.getCurrentPageTaskView(); in createSwipeDownToTaskAppAnimation() local 81 if (taskView == null) { in createSwipeDownToTaskAppAnimation() 84 return mRecentsView.createTaskLaunchAnimation(taskView, duration, interpolator); in createSwipeDownToTaskAppAnimation()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | CarLauncher.java | 156 mTaskViewManager.createTaskView(taskView -> { in setUpTaskView() 157 taskView.setListener(getMainExecutor(), mTaskViewListener); in setUpTaskView() 158 parent.addView(taskView); in setUpTaskView() 159 mTaskView = taskView; in setUpTaskView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 137 TaskView taskView = launcher.<RecentsView>getOverviewPanel().getRunningTaskView(); 138 if (taskView != null) { 139 taskView.launchTaskAnimated();
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | SeascapePagedViewHandler.java | 94 public void setTaskMenuAroundTaskView(LinearLayout taskView, float margin) { in setTaskMenuAroundTaskView() argument 95 BaseDragLayer.LayoutParams lp = (BaseDragLayer.LayoutParams) taskView.getLayoutParams(); in setTaskMenuAroundTaskView()
|
D | LandscapePagedViewHandler.java | 293 public void setTaskMenuAroundTaskView(LinearLayout taskView, float margin) { in setTaskMenuAroundTaskView() argument 294 BaseDragLayer.LayoutParams lp = (BaseDragLayer.LayoutParams) taskView.getLayoutParams(); in setTaskMenuAroundTaskView()
|
D | PortraitPagedViewHandler.java | 312 public void setTaskMenuAroundTaskView(LinearLayout taskView, float margin) { in setTaskMenuAroundTaskView() argument 313 BaseDragLayer.LayoutParams lp = (BaseDragLayer.LayoutParams) taskView.getLayoutParams(); in setTaskMenuAroundTaskView()
|
D | PagedOrientationHandler.java | 139 void setTaskMenuAroundTaskView(LinearLayout taskView, float margin); in setTaskMenuAroundTaskView() argument
|