Home
last modified time | relevance | path

Searched refs:mRecentsView (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java192 protected @Nullable Q mRecentsView; field in AbsSwipeUpHandler
200 mRecentsView = null;
361 if (mRecentsView == null) { in AbsSwipeUpHandler()
364 return mRecentsView.getPagedViewOrientedState().getRecentsActivityRotation(); in AbsSwipeUpHandler()
516 mRecentsView = container.getOverviewPanel(); in onActivityInit()
517 mRecentsView.setOnPageTransitionEndCallback(null); in onActivityInit()
529 if (mRecentsView == null) return; in onActivityInit()
534 mRecentsView.switchToScreenshot(snapshots, () -> { in onActivityInit()
542 mRecentsView.onRecentsAnimationComplete(); in onActivityInit()
547 mRecentsView.runOnPageScrollsInitialized(this::linkRecentsViewScroll); in onActivityInit()
[all …]
DLauncherSwipeHandlerV2.java86 isPresent -> mRecentsView.startHome()); in createHomeAnimationFactory()
95 TaskView sourceTaskView = mRecentsView == null && targetTaskView == null in createHomeAnimationFactory()
98 ? mRecentsView.getRunningTaskView() in createHomeAnimationFactory()
327 mRecentsView.cleanupRemoteTargets();
DTaskShortcutFactory.java176 private final RecentsView mRecentsView; field in TaskShortcutFactory.FreeformSystemShortcut
188 mRecentsView = container.getOverviewPanel(); in FreeformSystemShortcut()
218 mRecentsView.setIgnoreResetTask(taskId); in startActivity()
DFallbackSwipeHandler.java197 mRecentsView.cleanupRemoteTargets(); in finishRecentsControllerToHome()
216 mRecentsView.onGestureAnimationStartOnHome( in notifyGestureAnimationStartToRecents()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DBaseRecentsViewStateController.java59 protected final T mRecentsView; field in BaseRecentsViewStateController
64 mRecentsView = launcher.getOverviewPanel(); in BaseRecentsViewStateController()
70 RECENTS_SCALE_PROPERTY.set(mRecentsView, scaleAndOffset[0]); in setState()
71 ADJACENT_PAGE_HORIZONTAL_OFFSET.set(mRecentsView, scaleAndOffset[1]); in setState()
72 TASK_SECONDARY_TRANSLATION.set(mRecentsView, 0f); in setState()
74 getContentAlphaProperty().set(mRecentsView, state.isRecentsViewVisible ? 1f : 0); in setState()
75 getTaskModalnessProperty().set(mRecentsView, state.getOverviewModalness()); in setState()
76 RECENTS_GRID_PROGRESS.set(mRecentsView, in setState()
78 TASK_THUMBNAIL_SPLASH_ALPHA.set(mRecentsView, state.showTaskThumbnailSplash() ? 1f : 0f); in setState()
90 mRecentsView.reset(); in setStateWithAnimation()
[all …]
DRecentsViewStateController.java71 mRecentsView.updateEmptyMessage(); in setState()
73 mRecentsView.resetTaskVisuals(); in setState()
76 mRecentsView.setFullscreenProgress(state.getOverviewFullscreenProgress()); in setState()
94 builder.addOnFrameCallback(() -> mRecentsView.loadVisibleTaskData(FLAG_UPDATE_ALL)); in setStateWithAnimationInternal()
95 mRecentsView.updateEmptyMessage(); in setStateWithAnimationInternal()
99 + mRecentsView.getCurrentPage() in setStateWithAnimationInternal()
101 + mRecentsView.getScrollForPage(mRecentsView.getCurrentPage())); in setStateWithAnimationInternal()
105 AnimatorListeners.forSuccessCallback(mRecentsView::resetTaskVisuals)); in setStateWithAnimationInternal()
116 builder.setFloat(mRecentsView, FULLSCREEN_PROGRESS, in setStateWithAnimationInternal()
146 mRecentsView.createSplitSelectInitAnimation(builder, in handleSplitSelectionState()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsStateController.java61 private final FallbackRecentsView mRecentsView; field in FallbackRecentsStateController
65 mRecentsView = activity.getOverviewPanel(); in FallbackRecentsStateController()
70 mRecentsView.updateEmptyMessage(); in setState()
71 mRecentsView.resetTaskVisuals(); in setState()
82 setter.addOnFrameCallback(() -> mRecentsView.loadVisibleTaskData(FLAG_UPDATE_ALL)); in setStateWithAnimation()
85 mRecentsView.reset(); in setStateWithAnimation()
88 mRecentsView.updateEmptyMessage(); in setStateWithAnimation()
96 setter.setFloat(mRecentsView.getClearAllButton(), ClearAllButton.VISIBILITY_ALPHA, in setProperties()
103 setter.setFloat(mRecentsView, RECENTS_SCALE_PROPERTY, scaleAndOffset[0], in setProperties()
105 setter.setFloat(mRecentsView, ADJACENT_PAGE_HORIZONTAL_OFFSET, scaleAndOffset[1], in setProperties()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitOverviewStateTouchHelper.java35 RecentsView mRecentsView; field in PortraitOverviewStateTouchHelper
40 mRecentsView = launcher.getOverviewPanel(); in PortraitOverviewStateTouchHelper()
51 if (mRecentsView.getTaskViewCount() > 0) { in canInterceptTouch()
53 return ev.getY() >= mRecentsView.getTaskViewAt(0).getBottom(); in canInterceptTouch()
67 TaskView taskView = mRecentsView.getNextPageTaskView(); in shouldSwipeDownReturnToApp()
68 return taskView != null && mRecentsView.shouldSwipeDownLaunchApp(); in shouldSwipeDownReturnToApp()
79 mRecentsView.setCurrentPage(mRecentsView.getDestinationPage()); in createSwipeDownToTaskAppAnimation()
80 TaskView taskView = mRecentsView.getCurrentPageTaskView(); in createSwipeDownToTaskAppAnimation()
84 return mRecentsView.createTaskLaunchAnimation(taskView, duration, interpolator); in createSwipeDownToTaskAppAnimation()
DTaskViewTouchController.java69 private final RecentsView mRecentsView; field in TaskViewTouchController
93 mRecentsView = container.getOverviewPanel(); in TaskViewTouchController()
96 mRecentsView.getPagedOrientationHandler().getUpDownSwipeDirection(); in TaskViewTouchController()
160 for (int i = 0; i < mRecentsView.getTaskViewCount(); i++) { in onControllerInterceptTouchEvent()
161 TaskView view = mRecentsView.getTaskViewAt(i); in onControllerInterceptTouchEvent()
163 if (mRecentsView.isTaskViewVisible(view) && mContainer.getDragLayer() in onControllerInterceptTouchEvent()
171 int upDirection = mRecentsView.getPagedOrientationHandler() in onControllerInterceptTouchEvent()
182 mAllowGoingDown = i == mRecentsView.getCurrentPage() in onControllerInterceptTouchEvent()
184 && (!mRecentsView.showAsGrid() || mTaskBeingDragged.isFocusedTask()) in onControllerInterceptTouchEvent()
185 && mRecentsView.isTaskInExpectedScrollPosition(i); in onControllerInterceptTouchEvent()
[all …]
DNoButtonQuickSwitchTouchController.java110 private final RecentsView mRecentsView; field in NoButtonQuickSwitchTouchController
128 mRecentsView = mLauncher.getOverviewPanel(); in NoButtonQuickSwitchTouchController()
131 mLauncher, mLauncher.getDeviceProfile(), mRecentsView.getPagedOrientationHandler()); in NoButtonQuickSwitchTouchController()
189 InteractionJankMonitorWrapper.begin(mRecentsView, Cuj.CUJ_LAUNCHER_QUICK_SWITCH); in onDragStart()
190 InteractionJankMonitorWrapper.begin(mRecentsView, Cuj.CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS, in onDragStart()
220 if (mRecentsView.getTaskViewCount() == 0) { in setupAnimators()
221 mRecentsView.setOnEmptyMessageUpdatedListener(isEmpty -> { in setupAnimators()
246 RECENTS_SCALE_PROPERTY.set(mRecentsView, fromState.getOverviewScaleAndOffset(mLauncher)[0]); in setupOverviewAnimators()
247 ADJACENT_PAGE_HORIZONTAL_OFFSET.set(mRecentsView, 1f); in setupOverviewAnimators()
248 TASK_THUMBNAIL_SPLASH_ALPHA.set(mRecentsView, fromState.showTaskThumbnailSplash() ? 1f : 0); in setupOverviewAnimators()
[all …]
DNoButtonNavbarToOverviewTouchController.java76 private final RecentsView mRecentsView; field in NoButtonNavbarToOverviewTouchController
98 mRecentsView = l.getOverviewPanel(); in NoButtonNavbarToOverviewTouchController()
153 InteractionJankMonitorWrapper.begin(mRecentsView, Cuj.CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS, in onDragStart()
264 mRecentsView.setTranslationX((xDisplacement - mStartDisplacement.x) in onDrag()
270 mRecentsView.setTranslationY((yDisplacement - mStartDisplacement.y) in onDrag()
294 Math.abs(mRecentsView.getTranslationX()), in goToOverviewOrHomeOnDragEnd()
295 Math.abs(mRecentsView.getTranslationY()))); in goToOverviewOrHomeOnDragEnd()
298 mRecentsView.animate() in goToOverviewOrHomeOnDragEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java6250 private RecentsView mRecentsView;
6255 mRecentsView = recentsView;
6271 if (mRecentsView != null) {
6272 mRecentsView.mPipCornerRadius = cornerRadius;
6273 mRecentsView.mPipShadowRadius = shadowRadius;
6280 if (mRecentsView == null
6281 || mRecentsView.mSizeStrategy.getTaskbarController() == null) {
6286 mRecentsView.mSizeStrategy.getTaskbarController().onExpandPip();