/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskViewUtils.java | 108 RecentsView recentsView, View v, RemoteAnimationTarget[] targets) { in findTaskViewToLaunch() argument 111 return recentsView.isTaskViewVisible(taskView) ? taskView : null; in findTaskViewToLaunch() 121 for (int i = 0; i < recentsView.getTaskViewCount(); i++) { in findTaskViewToLaunch() 122 TaskView taskView = recentsView.getTaskViewAt(i); in findTaskViewToLaunch() 123 if (recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 152 TaskView taskView = recentsView.getTaskViewByTaskId(openingTaskId); in findTaskViewToLaunch() 153 if (taskView == null || !recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 160 @NonNull RecentsView recentsView, in createRecentsWindowAnimator() 180 RemoteTargetHandle[] recentsViewHandles = recentsView.getRemoteTargetHandles(); in createRecentsWindowAnimator() 187 recentsView.getSizeStrategy(), targets, forDesktop); in createRecentsWindowAnimator() [all …]
|
D | TaskAnimationManager.java | 89 RecentsView recentsView = containerInterface.getCreatedContainer() 91 if (recentsView != null) { 92 recentsView.launchSideTaskInLiveTileModeForRestartedApp(task.taskId); 258 RecentsView recentsView = in startRecentsAnimation() 260 if (recentsView != null) { in startRecentsAnimation() 261 recentsView.finishRecentsAnimation(true, null); in startRecentsAnimation() 277 RecentsView recentsView = in startRecentsAnimation() 279 if (recentsView != null) { in startRecentsAnimation() 283 recentsView.launchSideTaskInLiveTileMode(appearedTaskTarget.taskId, in startRecentsAnimation() 318 final RecentsView recentsView = in startRecentsAnimation() [all …]
|
D | BaseActivityInterface.java | 155 RecentsView recentsView = activity.getOverviewPanel(); in switchRunningTaskViewToScreenshot() local 156 if (recentsView == null) { in switchRunningTaskViewToScreenshot() 162 recentsView.switchToScreenshot(thumbnailDatas, runnable); in switchRunningTaskViewToScreenshot() 245 RecentsView recentsView = mActivity.getOverviewPanel(); in createActivityInterface() local 248 recentsView.getPagedViewOrientedState(), mActivity.getDeviceProfile(), in createActivityInterface() 249 recentsView, RECENTS_SCALE_PROPERTY, recentsView, in createActivityInterface() 317 RecentsView recentsView = activity.getOverviewPanel(); in createBackgroundToOverviewAnim() local 318 pa.addFloat(recentsView, RECENTS_SCALE_PROPERTY, in createBackgroundToOverviewAnim() 319 recentsView.getMaxScaleForFullScreen(), 1, LINEAR); in createBackgroundToOverviewAnim() 320 pa.addFloat(recentsView, FULLSCREEN_PROGRESS, 1, 0, LINEAR); in createBackgroundToOverviewAnim()
|
D | OverviewCommandHelper.java | 413 RecentsView recentsView = in updateRecentsViewFocus() local 415 if (recentsView == null || (cmd.type != TYPE_KEYBOARD_INPUT && cmd.type != TYPE_HIDE in updateRecentsViewFocus() 425 recentsView.getViewRootImpl().touchModeChanged(false); in updateRecentsViewFocus() 427 if (requestFocus(recentsView.getTaskViewAt(mKeyboardTaskFocusIndex))) { in updateRecentsViewFocus() 430 if (requestFocus(recentsView.getNextTaskView())) { in updateRecentsViewFocus() 433 if (requestFocus(recentsView.getTaskViewAt(0))) { in updateRecentsViewFocus() 436 requestFocus(recentsView); in updateRecentsViewFocus() 440 RecentsView recentsView = in onRecentsViewFocusUpdated() local 442 if (recentsView == null in onRecentsViewFocusUpdated() 447 recentsView.setKeyboardTaskFocusIndex(INVALID_PAGE); in onRecentsViewFocusUpdated() [all …]
|
D | LauncherActivityInterface.java | 194 RecentsView recentsView = in getVisibleRecentsView() local 197 if (recentsView == null || (!launcher.hasBeenResumed() in getVisibleRecentsView() 198 && recentsView.getRunningTaskViewId() == -1)) { in getVisibleRecentsView() 202 return recentsView; in getVisibleRecentsView() 229 RecentsView recentsView = getVisibleRecentsView(); in switchToRecentsIfVisible() local 230 if (recentsView == null) { in switchToRecentsIfVisible() 263 RecentsView recentsView = getCreatedContainer().getOverviewPanel(); in notifyRecentsOfOrientation() local 264 recentsView.setLayoutRotation(rotationTouchHelper.getCurrentActiveRotation(), in notifyRecentsOfOrientation()
|
D | TaskShortcutFactory.java | 303 final RecentsView recentsView = taskView.getRecentsView(); 305 recentsView.getPagedOrientationHandler(); 308 !deviceProfile.isTaskbarPresent && recentsView.getTaskViewCount() < 2; 314 recentsView.isTaskInExpectedScrollPosition(recentsView.indexOfChild(taskView)); 336 final RecentsView recentsView = taskView.getRecentsView(); 339 recentsView.isTaskInExpectedScrollPosition(recentsView.indexOfChild(taskView)); 347 if (!recentsView.supportsAppPairs() 349 || !recentsView.getSplitSelectController().getAppPairsController()
|
D | RecentsActivity.java | 267 final RecentsView recentsView = taskView.getRecentsView(); in getActivityLaunchOptions() local 268 if (recentsView == null) { in getActivityLaunchOptions() 280 AnimatorSet anim = composeRecentsLaunchAnimator(recentsView, taskView, appTargets, in getActivityLaunchOptions() 318 @NonNull RecentsView recentsView, in composeRecentsLaunchAnimator() 326 createRecentsWindowAnimator(recentsView, taskView, !activityClosing, appTargets, in composeRecentsLaunchAnimator() 440 RecentsView recentsView = getOverviewPanel(); in startHome() local 441 recentsView.switchToScreenshot(() -> recentsView.finishRecentsAnimation(true, in startHome()
|
D | BaseContainerInterface.java | 149 RecentsView recentsView = container.getOverviewPanel(); in getParallelAnimationToLauncher() local 155 anim.setInterpolator(recentsView == null || !recentsView.isKeyboardTaskFocusPending() in getParallelAnimationToLauncher() 187 RecentsView recentsView = container.getOverviewPanel(); in onTransitionCancelled() local 188 BaseState startState = recentsView.getStateManager().getRestState(); in onTransitionCancelled() 200 startState = recentsView.getStateManager().getRestState(); in onTransitionCancelled() 205 recentsView.getStateManager().goToState(startState, activityVisible); in onTransitionCancelled()
|
D | SwipeUpAnimationLogic.java | 533 RecentsView recentsView = mTargetTaskView.getRecentsView(); in setUp() local 534 if (recentsView != null) { in setUp() 535 recentsView.setOffsetMidpointIndexOverride( in setUp() 536 recentsView.indexOfChild(mTargetTaskView)); in setUp() 554 RecentsView recentsView = mTargetTaskView.getRecentsView(); in cleanUp() local 555 if (recentsView != null) { in cleanUp() 556 recentsView.setOffsetMidpointIndexOverride(INVALID_PAGE); in cleanUp()
|
D | TaskOverlayFactory.java | 174 RecentsView recentsView = in endLiveTileMode() local 177 if (recentsView == null) return; in endLiveTileMode() 178 recentsView.switchToScreenshot( in endLiveTileMode() 179 () -> recentsView.finishRecentsAnimation(true /* toRecents */, in endLiveTileMode()
|
D | DesktopSystemShortcut.kt | 46 val recentsView = mTarget.getOverviewPanel<RecentsView<*, *>>() in onClick() constant 47 recentsView.moveTaskToDesktop( in onClick()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ClearAllButton.java | 206 RecentsView recentsView = getRecentsView(); in onRecentsViewScroll() local 207 if (recentsView == null) { in onRecentsViewScroll() 212 recentsView.getPagedOrientationHandler(); in onRecentsViewScroll() 218 int clearAllScroll = recentsView.getClearAllScroll(); in onRecentsViewScroll() 228 recentsView.getPageSpacing() + recentsView.getClearAllExtraPageSpacing(); in onRecentsViewScroll() 295 RecentsView recentsView = getRecentsView(); in applyPrimaryTranslation() local 296 if (recentsView == null) { in applyPrimaryTranslation() 301 recentsView.getPagedOrientationHandler(); in applyPrimaryTranslation() 309 RecentsView recentsView = getRecentsView(); in applySecondaryTranslation() local 310 if (recentsView == null) { in applySecondaryTranslation() [all …]
|
D | TaskView.kt | 149 get() = this === recentsView?.runningTaskView in <lambda>() 152 get() = this === recentsView?.focusedTaskView in <lambda>() 157 val recentsView: RecentsView<*, *>? in <lambda>() constant 533 val recentsView = recentsView ?: return false in <lambda>() constant 534 val splitSelectStateController = recentsView.splitSelectController in <lambda>() 617 recentsView?.let { in <lambda>() 633 recentsView?.dismissTask(this, true /*animateTaskView*/, true /*removeTask*/) in <lambda>() 997 val recentsView = recentsView ?: return null in <lambda>() constant 998 if (recentsView.runningTaskViewId != -1) { in <lambda>() 999 recentsView.onTaskLaunchedInLiveTileMode() in <lambda>() [all …]
|
D | GroupedTaskView.kt | 256 val recentsView = recentsView ?: return null in launchTaskAnimated() constant 270 recentsView.addSideTaskLaunchCallback(endCallback) in launchTaskAnimated() 289 recentsView?.let { in launchTaskInternal() 308 val initialTaskId = recentsView?.splitSelectController?.initialTaskId in getThisTaskCurrentlyInSplitSelection() 314 if (recentsView?.splitSelectController?.isDismissingFromSplitPair == true) { in getLastSelectedChildTaskIndex()
|
D | DesktopTaskView.kt | 239 val recentsView = recentsView ?: return null in <lambda>() constant 241 val desktopController = recentsView.desktopRecentsController in <lambda>() 247 recentsView.addSideTaskLaunchCallback(endCallback) in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 80 RecentsView recentsView = launcher.getOverviewPanel(); in getWorkspaceScaleAndTranslation() local 81 recentsView.getTaskSize(sTempRect); in getWorkspaceScaleAndTranslation() 137 RecentsView recentsView = launcher.getOverviewPanel(); 138 return recentsView.getSplitSelectTranslation(); 208 RecentsView recentsView = launcher.getOverviewPanel(); 209 TaskView taskView = recentsView.getRunningTaskView(); 211 if (recentsView.isTaskViewFullyVisible(taskView)) { 214 recentsView.snapToPage(recentsView.indexOfChild(taskView));
|
D | BackgroundAppState.java | 53 RecentsView recentsView = launcher.getOverviewPanel(); in getVerticalProgress() local 56 recentsView.getPagedOrientationHandler()); in getVerticalProgress() 127 RecentsView recentsView) { in getOverviewScaleAndOffsetForBackgroundState() argument 128 return new float[] {recentsView.getMaxScaleForFullScreen(), NO_OFFSET}; in getOverviewScaleAndOffsetForBackgroundState()
|
D | OverviewModalTaskState.java | 74 public static float[] getOverviewScaleAndOffsetForModalState(RecentsView recentsView) { in getOverviewScaleAndOffsetForModalState() argument 75 Rect taskSize = recentsView.getSelectedTaskBounds(); in getOverviewScaleAndOffsetForModalState() 77 recentsView.getModalTaskSize(modalTaskSize); in getOverviewScaleAndOffsetForModalState()
|
D | SplitScreenSelectState.java | 41 RecentsView recentsView = launcher.getOverviewPanel(); in getSplitSelectTranslation() local 42 return recentsView.getSplitSelectTranslation(); in getSplitSelectTranslation()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | AnimatorControllerWithResistance.java | 166 RecentsView recentsView = container.getOverviewPanel(); in createForRecents() local 168 recentsView.getStateManager(); in createForRecents() 268 RecentsView recentsView = launcher.getOverviewPanel(); in createRecentsResistanceFromOverviewAnim() local 269 RecentsParams params = new RecentsParams(launcher, recentsView.getPagedViewOrientedState(), in createRecentsResistanceFromOverviewAnim() 270 launcher.getDeviceProfile(), recentsView, RECENTS_SCALE_PROPERTY, recentsView, in createRecentsResistanceFromOverviewAnim() 274 .setStartScale(recentsView.getScaleX()); in createRecentsResistanceFromOverviewAnim()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AbstractQuickStepTest.java | 50 RecentsView recentsView = launcher.getOverviewPanel(); in onLauncherActivityClose() local 51 if (recentsView != null) { in onLauncherActivityClose() 52 recentsView.finishRecentsAnimation(false /* toRecents */, null); in onLauncherActivityClose()
|
D | DesktopSystemShortcutTest.kt | 65 private val recentsView: LauncherRecentsView = mock() constant in com.android.quickstep.DesktopSystemShortcutTest 152 whenever(launcher.getOverviewPanel<LauncherRecentsView>()).thenReturn(recentsView) in desktopSystemShortcutClicked() 156 whenever(recentsView.moveTaskToDesktop(any(), any(), any())).thenAnswer { in desktopSystemShortcutClicked() 173 verify(recentsView) in desktopSystemShortcutClicked()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NavBarToHomeTouchController.java | 149 RecentsView recentsView = mLauncher.getOverviewPanel(); in initCurrentAnimation() local 153 builder.addOnFrameCallback(recentsView::redrawLiveTile); in initCurrentAnimation() 194 RecentsView recentsView = mLauncher.getOverviewPanel(); in onDragEnd() local 195 recentsView.switchToScreenshot(null, in onDragEnd() 196 () -> recentsView.finishRecentsAnimation(true /* toRecents */, null)); in onDragEnd()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/thumbnail/ |
D | TaskThumbnailView.kt | 50 val recentsView = in <lambda>() constant 54 recentsView.mRecentsViewData, in <lambda>() 56 recentsView.mTasksRepository, in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarUIController.java | 227 RecentsView recentsView = getRecentsView(); in startSplitSelection() local 228 if (recentsView == null) { in startSplitSelection() 232 recentsView.getSplitSelectController().findLastActiveTasksAndRunCallback( in startSplitSelection() 241 recentsView.initiateSplitSelect(splitSelectSource); in startSplitSelection()
|