/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | OverviewActions.java | 29 private final LauncherInstrumentation mLauncher; field in OverviewActions 33 this.mLauncher = launcherInstrumentation; in OverviewActions() 41 if (mLauncher.overviewContentPushEnabled()) { in clickAndDismissContentPush() 42 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in clickAndDismissContentPush() 43 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in clickAndDismissContentPush() 45 UiObject2 exo = mLauncher.waitForObjectInContainer(mOverviewActions, in clickAndDismissContentPush() 47 mLauncher.clickLauncherObject(exo); in clickAndDismissContentPush() 48 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in clickAndDismissContentPush() 50 return new Overview(mLauncher); in clickAndDismissContentPush() 54 return new Overview(mLauncher); in clickAndDismissContentPush() [all …]
|
D | Background.java | 60 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in switchToOverview() 61 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToOverview() 65 return mLauncher.isFallbackOverview() ? in switchToOverview() 66 new BaseOverview(mLauncher) : new Overview(mLauncher); in switchToOverview() 75 switch (mLauncher.getNavigationModel()) { in goToOverviewUnchecked() 77 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked() 79 final int swipeHeight = mLauncher.getTestInfo(getSwipeHeightRequestName()). in goToOverviewUnchecked() 83 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in goToOverviewUnchecked() 91 mLauncher.sendPointer( in goToOverviewUnchecked() 93 mLauncher.executeAndWaitForLauncherEvent( in goToOverviewUnchecked() [all …]
|
D | Workspace.java | 70 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in switchToAllApps() 72 mLauncher.addContextLayer("want to switch from workspace to all apps")) { in switchToAllApps() 74 final int deviceHeight = mLauncher.getDevice().getDisplayHeight(); in switchToAllApps() 76 ResourceUtils.NAVBAR_BOTTOM_GESTURE_SIZE, mLauncher.getResources()); in switchToAllApps() 77 final int windowCornerRadius = (int) Math.ceil(mLauncher.getWindowCornerRadius()); in switchToAllApps() 79 final int swipeHeight = mLauncher.getTestInfo( in switchToAllApps() 85 + mLauncher.getTouchSlop()); in switchToAllApps() 87 mLauncher.swipeToState( in switchToAllApps() 91 startY - swipeHeight - mLauncher.getTouchSlop(), in switchToAllApps() 95 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToAllApps() [all …]
|
D | AllApps.java | 47 mHeight = mLauncher.getVisibleBounds(allAppsContainer).height(); in AllApps() 48 final UiObject2 appListRecycler = mLauncher.waitForObjectInContainer(allAppsContainer, in AllApps() 51 mLauncher.waitForObjectInContainer(appListRecycler, By.clazz(TextView.class)); in AllApps() 53 mIconHeight = mLauncher.getTestInfo( in AllApps() 69 mLauncher.fail("All apps recycler disappeared from screen"); in hasClickableIcon() 76 final Rect iconBounds = mLauncher.getVisibleBounds(icon); in hasClickableIcon() 96 return mLauncher.getVisibleBounds(getSearchBox(allAppsContainer)).contains( in iconCenterInSearchBox() 109 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in getAppIcon() 110 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in getAppIcon() 113 final UiObject2 appListRecycler = mLauncher.waitForObjectInContainer(allAppsContainer, in getAppIcon() [all …]
|
D | Widgets.java | 50 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in flingForward() 51 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingForward() 55 mLauncher.scroll( in flingForward() 59 mLauncher.getBottomGestureMarginInContainer(widgetsContainer) + 1), in flingForward() 61 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) { in flingForward() 72 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in flingBackward() 73 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingBackward() 77 mLauncher.scroll( in flingBackward() 80 new Rect(0, 0, mLauncher.getVisibleBounds(widgetsContainer).width(), 0), in flingBackward() 82 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) { in flingBackward() [all …]
|
D | BaseOverview.java | 49 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck()) { in flingForward() 56 mLauncher.addContextLayer("want to fling forward in overview")) { in flingForwardImpl() 59 final int leftMargin = mLauncher.getTargetInsets().left; in flingForwardImpl() 60 mLauncher.scroll( in flingForwardImpl() 70 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in dismissAllTasks() 71 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismissAllTasks() 73 final BySelector clearAllSelector = mLauncher.getOverviewObjectSelector("clear_all"); in dismissAllTasks() 81 mLauncher.clickLauncherObject( in dismissAllTasks() 82 mLauncher.waitForObjectInContainer(verifyActiveContainer(), clearAllSelector)); in dismissAllTasks() 90 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in flingBackward() [all …]
|
D | OverviewTask.java | 35 private final LauncherInstrumentation mLauncher; field in OverviewTask 40 mLauncher = launcher; in OverviewTask() 54 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in dismiss() 55 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismiss() 59 final Rect taskBounds = mLauncher.getVisibleBounds(mTask); in dismiss() 62 mLauncher.linearGesture(centerX, centerY, centerX, 0, 10, false, in dismiss() 64 mLauncher.waitForIdle(); in dismiss() 72 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck()) { in open() 74 mLauncher.executeAndWaitForEvent( in open() 75 () -> mLauncher.clickLauncherObject(mTask), in open() [all …]
|
D | Launchable.java | 32 protected final LauncherInstrumentation mLauncher; field in Launchable 38 mLauncher = launcher; in Launchable() 49 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck()) { in launch() 60 + mObject.getVisibleCenter() + " in " + mLauncher.getVisibleBounds(mObject)); in launch() 63 mLauncher.executeAndWaitForEvent( in launch() 65 mLauncher.clickLauncherObject(mObject); in launch() 72 mLauncher.assertTrue( in launch() 76 return new Background(mLauncher); in launch() 86 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck()) { in dragToWorkspace() 88 final Point displaySize = mLauncher.getRealDisplaySize(); in dragToWorkspace() [all …]
|
D | Overview.java | 48 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck(); in switchToAllApps() 49 LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToAllApps() 55 mLauncher.swipeToState( in switchToAllApps() 56 mLauncher.getDevice().getDisplayWidth() / 2, in switchToAllApps() 57 mLauncher.getTestInfo( in switchToAllApps() 60 mLauncher.getDevice().getDisplayWidth() / 2, in switchToAllApps() 66 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToAllApps() 68 return new AllAppsFromOverview(mLauncher); in switchToAllApps() 76 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in dismissAllTasks() 78 new Workspace(mLauncher); in dismissAllTasks()
|
D | AddToHomeScreenPrompt.java | 32 private final LauncherInstrumentation mLauncher; field in AddToHomeScreenPrompt 36 mLauncher = launcher; in AddToHomeScreenPrompt() 38 mLauncher.assertNotNull("Can't find widget cell object", mWidgetCell); in AddToHomeScreenPrompt() 46 try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck()) { in addAutomatically() 47 if (mLauncher.getNavigationModel() in addAutomatically() 49 if (!mLauncher.isLauncher3()) { in addAutomatically() 50 mLauncher.expectEvent( in addAutomatically() 53 mLauncher.expectEvent( in addAutomatically() 57 mLauncher.waitForObjectInContainer( in addAutomatically() 60 mLauncher.waitUntilLauncherObjectGone(getSelector()); in addAutomatically()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduController.java | 53 private final Launcher mLauncher; field in HotseatEduController 62 mLauncher = launcher; in HotseatEduController() 70 HotseatRestoreHelper.createBackup(mLauncher); in migrate() 76 Snackbar.show(mLauncher, R.string.hotsaet_tip_prediction_enabled, in migrate() 78 () -> mLauncher.startActivity(getSettingsIntent())); in migrate() 92 for (int i = 0; i < mLauncher.getDeviceProfile().numShownHotseatIcons; i++) { in migrateToFolder() 108 mLauncher.getModelWriter().addItemToDatabase(folderInfo, firstItem.container, in migrateToFolder() 110 folderInfo.setTitle("", mLauncher.getModelWriter()); in migrateToFolder() 115 mLauncher.getModelWriter().moveItemInDatabase(item, folderInfo.id, 0, in migrateToFolder() 128 Workspace workspace = mLauncher.getWorkspace(); in placeFoldersInWorkspace() [all …]
|
D | HotseatPredictionController.java | 82 private QuickstepLauncher mLauncher; field in HotseatPredictionController 94 if (!ItemLongClickListener.canStartDrag(mLauncher)) return false; 95 if (mLauncher.getWorkspace().isSwitchingState()) return false; 96 if (!mLauncher.getOnboardingPrefs().getBoolean( 98 Snackbar.show(mLauncher, R.string.hotseat_tip_gaps_filled, 100 () -> mLauncher.startActivity(getSettingsIntent())); 101 mLauncher.getOnboardingPrefs().markChecked(OnboardingPrefs.HOTSEAT_LONGPRESS_TIP_SEEN); 102 mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.LONG_PRESS); 110 mLauncher.getWorkspace().beginDragShared( 112 mLauncher.getDefaultWorkspaceDragOptions()); [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/ |
D | DepthController.java | 96 View view = mLauncher.getDragLayer(); 111 private final Launcher mLauncher; field in DepthController 135 mLauncher = l; in DepthController() 140 mMaxBlurRadius = mLauncher.getResources().getInteger(R.integer.max_depth_blur_radius); in ensureDependencies() 141 mWallpaperManager = new WallpaperManagerCompat(mLauncher); in ensureDependencies() 144 if (mLauncher.getRootView() != null && mOnAttachListener == null) { in ensureDependencies() 149 IBinder windowToken = mLauncher.getRootView().getWindowToken(); in ensureDependencies() 153 CrossWindowBlurListeners.getInstance().addListener(mLauncher.getMainExecutor(), in ensureDependencies() 162 mLauncher.getRootView().addOnAttachStateChangeListener(mOnAttachListener); in ensureDependencies() 163 if (mLauncher.getRootView().isAttachedToWindow()) { in ensureDependencies() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | LauncherDelegate.java | 53 private final Launcher mLauncher; field in LauncherDelegate 58 mLauncher = launcher; in LauncherDelegate() 62 folder.setDragController(mLauncher.getDragController()); in init() 63 icon.setOnFocusChangeListener(mLauncher.getFocusHandler()); in init() 67 return mLauncher.isDraggingEnabled(); in isDraggingEnabled() 71 mLauncher.getWorkspace().beginDragShared(child, source, options); in beginDragShared() 75 return mLauncher.getModelWriter(); in getModelWriter() 79 mLauncher.getWorkspace().forEachVisiblePage(callback); in forEachVisibleWorkspacePage() 84 return mLauncher; in getLauncher() 89 target.getExtractedRectForViewRect(mLauncher, in addRectForColorExtraction() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NavBarToHomeTouchController.java | 66 private final Launcher mLauncher; field in NavBarToHomeTouchController 76 mLauncher = launcher; in NavBarToHomeTouchController() 77 mSwipeDetector = new SingleAxisSwipeDetector(mLauncher, this, in NavBarToHomeTouchController() 79 mPullbackDistance = mLauncher.getResources().getDimension(R.dimen.home_pullback_distance); in NavBarToHomeTouchController() 85 mStartState = mLauncher.getStateManager().getState(); in onControllerInterceptTouchEvent() 111 if (AbstractFloatingView.getTopOpenViewWithType(mLauncher, typeToClose) != null) { in canInterceptTouch() 127 return mLauncher.getDeviceProfile().heightPx; in getShiftRange() 139 RecentsView recentsView = mLauncher.getOverviewPanel(); in initCurrentAnimation() 140 AnimatorControllerWithResistance.createRecentsResistanceFromOverviewAnim(mLauncher, in initCurrentAnimation() 147 AbstractFloatingView.closeOpenContainer(mLauncher, AbstractFloatingView.TYPE_TASK_MENU); in initCurrentAnimation() [all …]
|
D | NoButtonQuickSwitchTouchController.java | 92 private final BaseQuickstepLauncher mLauncher; field in NoButtonQuickSwitchTouchController 115 mLauncher = launcher; in NoButtonQuickSwitchTouchController() 116 mSwipeDetector = new BothAxesSwipeDetector(mLauncher, this); in NoButtonQuickSwitchTouchController() 117 mRecentsView = mLauncher.getOverviewPanel(); in NoButtonQuickSwitchTouchController() 118 mXRange = mLauncher.getDeviceProfile().widthPx / 2f; in NoButtonQuickSwitchTouchController() 120 mLauncher, mLauncher.getDeviceProfile(), mRecentsView.getPagedOrientationHandler()); in NoButtonQuickSwitchTouchController() 121 mMaxYProgress = mLauncher.getDeviceProfile().heightPx / mYRange; in NoButtonQuickSwitchTouchController() 122 mMotionPauseDetector = new MotionPauseDetector(mLauncher); in NoButtonQuickSwitchTouchController() 123 mMotionPauseMinDisplacement = mLauncher.getResources().getDimension( in NoButtonQuickSwitchTouchController() 154 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch() [all …]
|
D | PortraitStatesTouchController.java | 82 boolean interceptAnywhere = mLauncher.isInState(NORMAL); in canInterceptTouch() 84 AllAppsTransitionController allAppsController = mLauncher.getAllAppsController(); in canInterceptTouch() 94 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 96 if (!mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch() 99 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch() 105 if (!interceptAnywhere && !isTouchOverHotseat(mLauncher, ev)) { in canInterceptTouch() 109 if (getTopOpenViewWithType(mLauncher, TYPE_ACCESSIBLE | TYPE_ALL_APPS_EDU) != null) { in canInterceptTouch() 168 float startVerticalShift = mFromState.getVerticalProgress(mLauncher) * range; in initCurrentAnimation() 169 float endVerticalShift = mToState.getVerticalProgress(mLauncher) * range; in initCurrentAnimation() 186 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 185 protected final BaseQuickstepLauncher mLauncher; field in QuickstepTransitionManager 212 mLauncher.addForceInvisibleFlag(INVISIBLE_BY_APP_TRANSITIONS); 217 mLauncher.clearForceInvisibleFlag(INVISIBLE_BY_APP_TRANSITIONS); 226 mLauncher = Launcher.cast(Launcher.getLauncher(context)); in QuickstepTransitionManager() 227 mDragLayer = mLauncher.getDragLayer(); in QuickstepTransitionManager() 230 mDeviceProfile = mLauncher.getDeviceProfile(); in QuickstepTransitionManager() 232 Resources res = mLauncher.getResources(); in QuickstepTransitionManager() 237 mLauncher.addOnDeviceProfileChangeListener(this); in QuickstepTransitionManager() 248 SystemUiProxy.INSTANCE.get(mLauncher).setStartingWindowListener( in QuickstepTransitionManager() 295 return mLauncher.getStateManager().getState().overviewUi in isLaunchingFromRecents() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 88 protected final Launcher mLauncher; field in LauncherAccessibilityDelegate 93 mLauncher = launcher; in LauncherAccessibilityDelegate() 145 for (ButtonDropTarget target : mLauncher.getDropTargetBar().getDropTargets()) { in getSupportedActions() 224 mLauncher.getStateManager().goToState(NORMAL, true, forSuccessCallback(() -> { in performAction() 227 mLauncher.getModelWriter().addItemToDatabase(info, in performAction() 231 mLauncher.bindItems( in performAction() 238 Workspace workspace = mLauncher.getWorkspace(); in performAction() 240 mLauncher.addPendingItem(info, Favorites.CONTAINER_DESKTOP, in performAction() 246 Folder folder = Folder.getOpen(mLauncher); in performAction() 253 mLauncher.getModelWriter().moveItemInDatabase(info, in performAction() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetHostViewLoader.java | 26 @Thunk Launcher mLauncher; field in WidgetHostViewLoader 37 mLauncher = launcher; in WidgetHostViewLoader() 55 mLauncher.getDragController().removeDragListener(this); in onDragEnd() 62 mLauncher.getAppWidgetHost().deleteAppWidgetId(mWidgetLoadingId); in onDragEnd() 71 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd() 72 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd() 86 final Bundle options = mInfo.getDefaultSizeOptions(mLauncher); in preloadWidget() 97 mWidgetLoadingId = mLauncher.getAppWidgetHost().allocateAppWidgetId(); in preloadWidget() 101 if (new WidgetManagerHelper(mLauncher).bindAppWidgetIdIfAllowed( in preloadWidget() 119 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().createView( in preloadWidget() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | LauncherTaskbarUIController.java | 43 private final BaseQuickstepLauncher mLauncher; field in LauncherTaskbarUIController 61 mLauncher = launcher; in LauncherTaskbarUIController() 62 mTaskbarStateHandler = mLauncher.getTaskbarStateHandler(); in LauncherTaskbarUIController() 63 mTaskbarAnimationController = new TaskbarAnimationController(mLauncher, in LauncherTaskbarUIController() 66 mLauncher, mTaskbarView::updateHotseatItems); in LauncherTaskbarUIController() 74 setTaskbarViewVisible(!mLauncher.hasBeenResumed()); in onCreate() 76 mLauncher.setTaskbarUIController(this); in onCreate() 89 mLauncher.getHotseat().setIconsAlpha(1f); in onDestroy() 90 mLauncher.setTaskbarUIController(null); in onDestroy() 126 + mLauncher.getHotseat().getTaskbarOffsetY()); in createTaskbarAnimationControllerCallbacks() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 90 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 100 Overview overview = mLauncher.pressHome().switchToOverview(); in testOverview() 125 OverviewTask task = mLauncher.pressHome().switchToOverview().getCurrentTask(); in testOverview() 137 overview = mLauncher.pressHome().switchToOverview(); in testOverview() 153 mLauncher.getWorkspace().switchToOverview().dismissAllTasks(); in testOverview() 168 final Overview overview = mLauncher.pressHome().switchToOverview(); in testOverviewActions() 170 mLauncher.pressHome(); in testOverviewActions() 175 mLauncher.pressHome().switchToOverview().getOverviewActions(); in testOverviewActions() 193 mLauncher.pressHome().switchToOverview()); in testSwitchToOverview() 211 final Background background = mLauncher.getBackground(); in getAndAssertBackground() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TaplTestsLauncher3.java | 68 test.mLauncher.getWorkspace(); in initialize() 69 AbstractLauncherUiTest.checkDetectedLeaks(test.mLauncher); in initialize() 104 mLauncher.pressHome(); in testDevicePressMenu() 111 mLauncher.getOptionsPopupMenu().getMenuItem("Home settings") in testOpenHomeSettingsFromWorkspace() 117 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testPressHomeOnAllAppsContextMenu() 124 mLauncher.pressHome(); in testPressHomeOnAllAppsContextMenu() 180 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 187 final Workspace workspace = mLauncher.getWorkspace(); in testWorkspace() 242 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testAppIconLaunchFromAllAppsFromHome() 255 Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in testWidgets() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WorkspaceStateTransitionAnimation.java | 65 private final Launcher mLauncher; field in WorkspaceStateTransitionAnimation 71 mLauncher = launcher; in WorkspaceStateTransitionAnimation() 96 ScaleAndTranslation scaleAndTranslation = state.getWorkspaceScaleAndTranslation(mLauncher); in setWorkspaceProperty() 98 mLauncher); in setWorkspaceProperty() 100 PageAlphaProvider pageAlphaProvider = state.getWorkspacePageAlphaProvider(mLauncher); in setWorkspaceProperty() 107 int elements = state.getVisibleElements(mLauncher); in setWorkspaceProperty() 112 LauncherState fromState = mLauncher.getStateManager().getState(); in setWorkspaceProperty() 117 ((PendingAnimation) propertySetter).add(getSpringScaleAnimator(mLauncher, in setWorkspaceProperty() 127 pa.add(getSpringScaleAnimator(mLauncher, hotseat, hotseatScale)); in setWorkspaceProperty() 138 propertySetter.setViewAlpha(mLauncher.getWorkspace().getPageIndicator(), in setWorkspaceProperty() [all …]
|
D | Workspace.java | 191 @Thunk final Launcher mLauncher; field in Workspace 286 mLauncher = Launcher.getLauncher(context); in Workspace() 287 mStateTransitionAnimation = new WorkspaceStateTransitionAnimation(mLauncher, this); in Workspace() 297 setOnTouchListener(new WorkspaceTouchListener(mLauncher, this)); in Workspace() 303 DeviceProfile grid = mLauncher.getDeviceProfile(); in setInsets() 372 DeviceProfile profile = mLauncher.getDeviceProfile(); in estimateItemSize() 454 mLauncher.getStateManager().goToState(SPRING_LOADED); in onDragStart() 461 return mLauncher.mDeviceProfile.isTwoPanels; in isTwoPanelEnabled() 480 StateManager<LauncherState> stateManager = mLauncher.getStateManager(); in onDragEnd() 593 mLauncher.mHandler.removeCallbacksAndMessages(DeferredWidgetRefresh.class); in removeAllWorkspaceScreens() [all …]
|