/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsDismissUtils.kt | 41 class RecentsDismissUtils(private val recentsView: RecentsView<*, *>) { in <lambda>() constant in com.android.quickstep.views.RecentsDismissUtils 63 recentsView.pagedOrientationHandler.getSecondaryDimension(draggedTaskView).toFloat() in <lambda>() 73 } else if (draggedTaskView.isRunningTask && recentsView.enableDrawingLiveTile) { in <lambda>() 74 recentsView.runActionOnRemoteHandles { remoteTargetHandle -> in <lambda>() 78 recentsView.redrawLiveTile() in <lambda>() 83 if (!recentsView.showAsGrid() || enableGridOnlyOverview()) { in <lambda>() 90 recentsView.dismissTaskView( in <lambda>() 98 recentsView.onDismissAnimationEnds() in <lambda>() 156 recentsView.pagedOrientationHandler.isGoingUp( in <lambda>() 158 recentsView.isRtl, in <lambda>() [all …]
|
D | RecentsViewUtils.kt | 53 class RecentsViewUtils(private val recentsView: RecentsView<*, *>) { in <lambda>() constant in com.android.quickstep.views.RecentsViewUtils 54 val taskViews = TaskViewsIterable(recentsView) in <lambda>() 58 val recentsAnimationController = recentsView.recentsAnimationController ?: return emptyMap() in <lambda>() 86 class TaskViewsIterable(val recentsView: RecentsView<*, *>) : Iterable<TaskView> { in <lambda>() constant in com.android.quickstep.views.RecentsViewUtils.TaskViewsIterable 89 recentsView.children.forEachIndexed { index, child -> in <lambda>() 95 recentsView.children.mapNotNull { it as? TaskView }.iterator() in <lambda>() 112 taskViews.filter { recentsView.mTopRowIdSet.contains(it.taskViewId) } in <lambda>() 119 taskViews.filter { !recentsView.mTopRowIdSet.contains(it.taskViewId) && !it.isLargeTile } in <lambda>() 135 it.isLargeTile && !(recentsView.isSplitSelectionActive && it is DesktopTaskView) in <lambda>() 151 DesktopVisibilityController.INSTANCE.get(recentsView.context) in <lambda>() [all …]
|
D | ClearAllButton.kt | 157 recentsView?.let { it.pagedOrientationHandler?.getClearAllSidePadding(it, isLayoutRtl) } in onLayout() 161 private val recentsView: RecentsView<*, *>? constant 167 val recentsView = recentsView ?: return in hasOverlappingRendering() constant 170 recentsView.pagedOrientationHandler.getPrimaryValue(width, height).toFloat() in hasOverlappingRendering() 175 val clearAllScroll = recentsView.clearAllScroll in hasOverlappingRendering() 184 var clearAllSpacing = recentsView.pageSpacing + recentsView.clearAllExtraPageSpacing in hasOverlappingRendering() 208 val recentsView = recentsView ?: return in getOffsetAdjustment() constant 209 val orientationHandler = recentsView.pagedOrientationHandler in getOffsetAdjustment() 220 val recentsView = recentsView ?: return in applySecondaryTranslation() constant 221 val orientationHandler = recentsView.pagedOrientationHandler in applySecondaryTranslation()
|
D | TaskView.kt | 151 get() = this === recentsView?.runningTaskView in <lambda>() 154 get() = this === recentsView?.selectedTaskView in <lambda>() 164 this == recentsView?.focusedTaskView || in <lambda>() 168 val recentsView: RecentsView<*, *>? in <lambda>() constant 613 val recentsView = recentsView ?: return false in <lambda>() constant 614 val splitSelectStateController = recentsView.splitSelectController in <lambda>() 715 modalness == 0f && recentsView?.isSplitSelectionActive == false in <lambda>() 732 recentsView?.let { in <lambda>() 818 recentsView?.dismissTask( in <lambda>() 1269 return if (isRunningTask && recentsView?.remoteTargetHandles != null) { in <lambda>() [all …]
|
D | BlurUtils.kt | 23 class BlurUtils(private val recentsView: RecentsView<*, *>) { constant in com.android.quickstep.views.BlurUtils 28 recentsView.remoteTargetHandles != null && in setDrawLiveTileBelowRecents() 29 recentsView.recentsAnimationController != null in setDrawLiveTileBelowRecents() 31 recentsView.remoteTargetHandles in setDrawLiveTileBelowRecents() 46 recentsView.depthController?.setBaseSurfaceOverride( in setDrawBelowRecents()
|
D | GroupedTaskView.kt | 266 val recentsView = recentsView ?: return null in launchAsStaticTile() constant 280 recentsView.addSideTaskLaunchCallback(endCallback) in launchAsStaticTile() 302 recentsView?.let { in launchTaskInternal() 324 val initialTaskId = recentsView?.splitSelectController?.initialTaskId in getThisTaskCurrentlyInSplitSelection() 330 if (recentsView?.splitSelectController?.isDismissingFromSplitPair == true) { in getLastSelectedChildTaskIndex()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.kt | 65 private val recentsView: RecentsView<*, *> = launcher.getOverviewPanel() in <lambda>() constant in com.android.launcher3.uioverrides.RecentsViewStateController 69 RECENTS_SCALE_PROPERTY.set(recentsView, scaleAndOffset[0]) in <lambda>() 70 ADJACENT_PAGE_HORIZONTAL_OFFSET.set(recentsView, scaleAndOffset[1]) in <lambda>() 71 TASK_SECONDARY_TRANSLATION.set(recentsView, 0f) in <lambda>() 73 CONTENT_ALPHA.set(recentsView, if (state.isRecentsViewVisible) 1f else 0f) in <lambda>() 74 TASK_MODALNESS.set(recentsView, state.overviewModalness) in <lambda>() 76 recentsView, in <lambda>() 80 DESK_EXPLODE_PROGRESS.set(recentsView, if (state.showExplodedDesktopView()) 1f else 0f) in <lambda>() 84 recentsView, in <lambda>() 89 recentsView, in <lambda>() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 97 runOnRecentsView(recentsView -> in setUp() 98 recentsView.getPagedViewOrientedState().forceAllowRotationForTesting(true)); in setUp() 103 runOnRecentsView(recentsView -> in tearDown() 104 recentsView.getPagedViewOrientedState().forceAllowRotationForTesting(false), in tearDown() 132 runOnRecentsView(recentsView -> assertTrue("Don't have at least 3 tasks", in testOverview() 133 recentsView.getTaskViewCount() >= 3)); in testOverview() 136 runOnRecentsView(recentsView -> assertEquals("Current task in Overview is not 0", in testOverview() 137 0, recentsView.getCurrentPage())); in testOverview() 143 runOnRecentsView(recentsView -> assertTrue("Current task in Overview is still 0", in testOverview() 148 runOnRecentsView(recentsView -> assertTrue("Flinging back in Overview did nothing", in testOverview() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OverviewCommandHelper.kt | 220 val recentsView = getVisibleRecentsView(command.displayId) in <lambda>() constant 221 Log.d(TAG, "executeCommand: $command - visibleRecentsView: $recentsView") in <lambda>() 222 return if (recentsView != null) { in <lambda>() 223 executeWhenRecentsIsVisible(command, recentsView, onCallbackResult) in <lambda>() 252 recentsView: RecentsView<*, *>, in <lambda>() 259 if (recentsView.isHandlingTouch) { in <lambda>() 263 val currentPage = recentsView.nextPage in <lambda>() 264 val taskView = recentsView.getTaskViewAt(currentPage) in <lambda>() 265 launchTask(recentsView, taskView, command, onCallbackResult) in <lambda>() 271 recentsView, in <lambda>() [all …]
|
D | TaskViewUtils.java | 121 RecentsView<?, ?> recentsView, View v, RemoteAnimationTarget[] targets) { in findTaskViewToLaunch() argument 124 return recentsView.isTaskViewVisible(taskView) ? taskView : null; in findTaskViewToLaunch() 134 for (TaskView taskView : recentsView.getTaskViews()) { in findTaskViewToLaunch() 136 if (firstTask != null && recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 165 TaskView taskView = recentsView.getTaskViewByTaskId(openingTaskId); in findTaskViewToLaunch() 166 if (taskView == null || !recentsView.isTaskViewVisible(taskView)) { in findTaskViewToLaunch() 174 @NonNull RecentsView<T, ?> recentsView, in createRecentsWindowAnimator() argument 195 RemoteTargetHandle[] recentsViewHandles = recentsView.getRemoteTargetHandles(); in createRecentsWindowAnimator() 202 recentsView.getSizeStrategy(), targets, forDesktop); in createRecentsWindowAnimator() 217 recentsView.getPagedViewOrientedState().getRecentsActivityRotation(); in createRecentsWindowAnimator() [all …]
|
D | BaseWindowInterface.java | 109 RecentsView recentsView = windowManager.getOverviewPanel(); in switchRunningTaskViewToScreenshot() local 110 if (recentsView == null) { in switchRunningTaskViewToScreenshot() 116 recentsView.switchToScreenshot(thumbnailDatas, runnable); in switchRunningTaskViewToScreenshot() 166 RecentsView recentsView = mRecentsWindowManager.getOverviewPanel(); in createContainerInterface() local 169 mRecentsWindowManager, recentsView.getPagedViewOrientedState(), in createContainerInterface() 170 mRecentsWindowManager.getDeviceProfile(), recentsView, in createContainerInterface() 171 RECENTS_SCALE_PROPERTY, recentsView, TASK_SECONDARY_TRANSLATION); in createContainerInterface() 243 RecentsView recentsView = container.getOverviewPanel(); in createBackgroundToOverviewAnim() local 244 pa.addFloat(recentsView, RECENTS_SCALE_PROPERTY, in createBackgroundToOverviewAnim() 245 recentsView.getMaxScaleForFullScreen(), 1, LINEAR); in createBackgroundToOverviewAnim() [all …]
|
D | BaseActivityInterface.java | 145 RecentsView recentsView = activity.getOverviewPanel(); in switchRunningTaskViewToScreenshot() local 146 if (recentsView == null) { in switchRunningTaskViewToScreenshot() 152 recentsView.switchToScreenshot(thumbnailDatas, runnable); in switchRunningTaskViewToScreenshot() 194 RecentsView recentsView = mActivity.getOverviewPanel(); in createContainerInterface() local 197 recentsView.getPagedViewOrientedState(), mActivity.getDeviceProfile(), in createContainerInterface() 198 recentsView, RECENTS_SCALE_PROPERTY, recentsView, in createContainerInterface() 207 mIsAttachedToWindow, false, recentsView.shouldUpdateRunningTaskAlpha()); in createContainerInterface() 281 RecentsView recentsView = activity.getOverviewPanel(); in createBackgroundToOverviewAnim() local 282 pa.addFloat(recentsView, RECENTS_SCALE_PROPERTY, in createBackgroundToOverviewAnim() 283 recentsView.getMaxScaleForFullScreen(), 1, LINEAR); in createBackgroundToOverviewAnim() [all …]
|
D | TaskShortcutFactory.java | 148 RecentsView recentsView = mTaskContainer.getTaskView().getRecentsView(); in onClick() local 149 if (recentsView != null) { in onClick() 150 recentsView.initiateSplitSelect( in onClick() 313 RecentsView<?, ?> recentsView = taskView.getRecentsView(); in onClick() local 314 if (recentsView != null) { in onClick() 316 recentsView.dismissTaskView(taskView, true, true); in onClick() 340 final RecentsView recentsView = taskView.getRecentsView(); 342 recentsView.getPagedOrientationHandler(); 345 !deviceProfile.isTaskbarPresent && recentsView.getTaskViewCount() < 2; 357 recentsView.isTaskInExpectedScrollPosition(taskView); [all …]
|
D | TaskAnimationManager.java | 95 RecentsView recentsView = containerInterface.getCreatedContainer() 97 if (recentsView != null) { 98 recentsView.launchSideTaskInLiveTileModeForRestartedApp(task.taskId); 262 RecentsView recentsView = in startRecentsAnimation() 264 if (recentsView != null) { in startRecentsAnimation() 265 recentsView.finishRecentsAnimation(true, null); in startRecentsAnimation() 276 RecentsView recentsView = in startRecentsAnimation() 278 if (recentsView != null) { in startRecentsAnimation() 280 recentsView.launchSideTaskInLiveTileMode(appearedTaskTarget.taskId, in startRecentsAnimation() 405 RecentsView recentsView = containerInterface.getCreatedContainer().getOverviewPanel(); in endLiveTile() local [all …]
|
D | RecentsActivity.java | 272 final RecentsView recentsView = taskView.getRecentsView(); in getActivityLaunchOptions() local 273 if (recentsView == null) { in getActivityLaunchOptions() 285 AnimatorSet anim = composeRecentsLaunchAnimator(recentsView, taskView, appTargets, in getActivityLaunchOptions() 323 @NonNull RecentsView recentsView, in composeRecentsLaunchAnimator() 331 createRecentsWindowAnimator(recentsView, taskView, !activityClosing, appTargets, in composeRecentsLaunchAnimator() 457 RecentsView recentsView = getOverviewPanel(); in onDestroy() local 458 if (recentsView != null) { in onDestroy() 459 recentsView.destroy(); in onDestroy() 475 RecentsView recentsView = getOverviewPanel(); in startHome() local 476 recentsView.switchToScreenshot(() -> recentsView.finishRecentsAnimation(true, in startHome()
|
D | BaseContainerInterface.java | 193 RecentsView recentsView = container.getOverviewPanel(); in getParallelAnimationToGestureEndTarget() local 199 anim.setInterpolator(recentsView == null || !recentsView.isKeyboardTaskFocusPending() in getParallelAnimationToGestureEndTarget() 231 RecentsView recentsView = container.getOverviewPanel(); in onTransitionCancelled() local 232 BaseState startState = recentsView.getStateManager().getRestState(); in onTransitionCancelled() 236 final var context = recentsView.getContext(); in onTransitionCancelled() 245 startState = recentsView.getStateManager().getRestState(); in onTransitionCancelled() 250 recentsView.getStateManager().goToState(startState, activityVisible); in onTransitionCancelled()
|
D | LauncherActivityInterface.java | 180 RecentsView recentsView = in getVisibleRecentsView() local 183 if (recentsView == null || (!launcher.hasBeenResumed() in getVisibleRecentsView() 184 && recentsView.getRunningTaskViewId() == -1)) { in getVisibleRecentsView() 188 return recentsView; in getVisibleRecentsView() 215 RecentsView recentsView = getVisibleRecentsView(); in switchToRecentsIfVisible() local 216 if (recentsView == null) { in switchToRecentsIfVisible()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewDismissTouchController.kt | 48 private val recentsView: RecentsView<*, *> = container.getOverviewPanel() in <lambda>() constant in com.android.launcher3.uioverrides.touchcontrollers.TaskViewDismissTouchController 53 recentsView.pagedOrientationHandler.upDownSwipeDirection, in <lambda>() 56 private val upDirection: Int = recentsView.pagedOrientationHandler.getUpDirection(isRtl) in <lambda>() 128 recentsView.taskViews in <lambda>() 130 recentsView.isTaskViewVisible(it) && container.dragLayer.isEventOverView(it, ev) in <lambda>() 134 recentsView.pagedOrientationHandler.getSecondaryDimension( in <lambda>() 140 recentsView.pagedOrientationHandler.getTaskDismissLength( in <lambda>() 145 recentsView.pagedOrientationHandler.getTaskDismissVerticalDirection() in <lambda>() 173 if (recentsView.pagedOrientationHandler.isGoingUp(currentDisplacement, isRtl)) in <lambda>() 188 if (taskBeingDragged.isRunningTask && recentsView.enableDrawingLiveTile) { in <lambda>() [all …]
|
D | TaskViewLaunchTouchController.kt | 49 private val recentsView: RecentsView<*, *> = container.getOverviewPanel() in <lambda>() constant in com.android.launcher3.uioverrides.touchcontrollers.TaskViewLaunchTouchController 54 recentsView.pagedOrientationHandler.upDownSwipeDirection, in <lambda>() 57 private val downDirection = recentsView.pagedOrientationHandler.getDownDirection(isRtl) in <lambda>() 66 taskView === recentsView.currentPageTaskView && in <lambda>() 68 (!recentsView.showAsGrid() || taskView.isLargeTile) && in <lambda>() 69 recentsView.isTaskInExpectedScrollPosition(taskView) in <lambda>() 131 recentsView.taskViews in <lambda>() 133 recentsView.isTaskViewVisible(it) && container.dragLayer.isEventOverView(it, ev) in <lambda>() 137 recentsView.pagedOrientationHandler.getTaskDragDisplacementFactor(isRtl) in <lambda>() 152 recentsView.pagedOrientationHandler.getSecondaryDimension(container.getDragLayer()) in <lambda>() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 83 RecentsView recentsView = launcher.getOverviewPanel(); in getWorkspaceScaleAndTranslation() local 84 recentsView.getTaskSize(sTempRect); in getWorkspaceScaleAndTranslation() 140 RecentsView recentsView = launcher.getOverviewPanel(); 141 return recentsView.getSplitSelectTranslation(); 223 RecentsView recentsView = launcher.getOverviewPanel(); 224 TaskView taskView = recentsView.getRunningTaskView(); 226 if (recentsView.isTaskViewFullyVisible(taskView)) { 229 recentsView.snapToPage(recentsView.indexOfChild(taskView));
|
D | BackgroundAppState.java | 53 RecentsView recentsView = launcher.getOverviewPanel(); in getVerticalProgress() local 57 recentsView.getPagedOrientationHandler(), in getVerticalProgress() 58 recentsView.getSizeStrategy()); in getVerticalProgress() 139 RecentsView recentsView) { in getOverviewScaleAndOffsetForBackgroundState() argument 140 return new float[] {recentsView.getMaxScaleForFullScreen(), NO_OFFSET}; in getOverviewScaleAndOffsetForBackgroundState()
|
D | OverviewModalTaskState.java | 77 public static float[] getOverviewScaleAndOffsetForModalState(RecentsView recentsView) { in getOverviewScaleAndOffsetForModalState() argument 78 Rect taskSize = recentsView.getSelectedTaskBounds(); in getOverviewScaleAndOffsetForModalState() 80 recentsView.getModalTaskSize(modalTaskSize); in getOverviewScaleAndOffsetForModalState()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | FallbackTaskbarUIController.java | 56 RecentsView recentsView = getRecentsView(); 57 if (recentsView == null) { 61 recentsView.setTaskLaunchListener(toState == RecentsState.DEFAULT 91 RecentsView recentsView = getRecentsView(); in onDestroy() local 92 if (recentsView != null) { in onDestroy() 93 recentsView.setTaskLaunchListener(null); in onDestroy()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/window/ |
D | RecentsWindowManager.kt | 112 protected var recentsView: FallbackRecentsView<RecentsWindowManager>? = null in <lambda>() variable 171 recentsView?.runningTaskView?.launchWithAnimation() ?: startHome() in <lambda>() 218 recentsView?.destroy() in <lambda>() 240 recentsView = windowView?.findViewById(R.id.overview_panel) in <lambda>() 254 recentsView?.init(actionsView, splitSelectStateController, null) in <lambda>() 257 actionsView?.updateDimension(getDeviceProfile(), recentsView?.lastComputedTaskSize) in <lambda>() 273 val recentsView: RecentsView<*, *> = getOverviewPanel() in <lambda>() constant 276 recentsView.switchToScreenshot /* onFinishRunnable= */ {} in <lambda>() 280 recentsView.switchToScreenshot { in <lambda>() 281 recentsView.finishRecentsAnimation(/* toRecents= */ true) { startHomeInternal() } in <lambda>() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | AnimatorControllerWithResistance.java | 220 RecentsView recentsView = launcher.getOverviewPanel(); in createRecentsResistanceFromOverviewAnim() local 221 RecentsParams params = new RecentsParams(launcher, recentsView.getPagedViewOrientedState(), in createRecentsResistanceFromOverviewAnim() 222 launcher.getDeviceProfile(), recentsView, RECENTS_SCALE_PROPERTY, recentsView, in createRecentsResistanceFromOverviewAnim() 226 .setStartScale(recentsView.getScaleX()); in createRecentsResistanceFromOverviewAnim()
|