/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TaplTestsLauncher3.java | 63 test.waitForLauncherCondition("Launcher didn't start", launcher -> launcher != null); in initialize() 83 private boolean isWorkspaceScrollable(Launcher launcher) { in isWorkspaceScrollable() argument 84 return launcher.getWorkspace().getPageCount() > 1; in isWorkspaceScrollable() 87 private int getCurrentWorkspacePage(Launcher launcher) { in getCurrentWorkspacePage() argument 88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage() 91 private WidgetsRecyclerView getWidgetsView(Launcher launcher) { in getWidgetsView() argument 92 return WidgetsFullSheet.getWidgetsView(launcher); in getWidgetsView() 101 launcher -> assertTrue("Launcher internal state didn't switch to Showing Menu", in testDevicePressMenu() 102 OptionsPopupView.getOptionsPopup(launcher) != null)); in testDevicePressMenu() 137 test.executeOnLauncher(launcher -> assertEquals( in runAllAppsTest() [all …]
|
D | AbstractLauncherUiTest.java | 130 public static void checkDetectedLeaks(LauncherInstrumentation launcher) { in checkDetectedLeaks() argument 142 launcher.forceGc(); in checkDetectedLeaks() 145 }, DEFAULT_UI_TIMEOUT, launcher); in checkDetectedLeaks() 197 launcher -> in AbstractLauncherUiTest() 198 checkLauncherIntegrity(launcher, containerType))); in AbstractLauncherUiTest() 381 getFromLauncher(launcher -> { in executeOnLauncher() 382 f.accept(launcher); in executeOnLauncher() 392 launcher -> launcher.getStateManager().getCurrentStableState() == state.get()); in waitForState() 396 waitForLauncherCondition(message, launcher -> launcher.hasBeenResumed()); in waitForResumed() 528 executeOnLauncher(launcher -> { in closeLauncherActivity() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherActivityInterface.java | 84 Launcher launcher = getCreatedActivity(); in onSwipeUpToHomeComplete() local 85 if (launcher == null) { in onSwipeUpToHomeComplete() 93 MAIN_EXECUTOR.getHandler().post(launcher.getStateManager()::reapplyState); in onSwipeUpToHomeComplete() 95 launcher.getRootView().setForceHideBackArrow(false); in onSwipeUpToHomeComplete() 101 Launcher launcher = getCreatedActivity(); in onAssistantVisibilityChanged() local 102 if (launcher == null) { in onAssistantVisibilityChanged() 105 launcher.onAssistantVisibilityChanged(visibility); in onAssistantVisibilityChanged() 110 Launcher launcher = getCreatedActivity(); in onOneHandedModeStateChanged() local 111 if (launcher == null) { in onOneHandedModeStateChanged() 114 launcher.onOneHandedStateChanged(activated); in onOneHandedModeStateChanged() [all …]
|
/packages/apps/Launcher3/tests/src_disabled/ |
D | WorkTabTest.java | 85 executeOnLauncher(launcher -> { in resumeAppStoreUpdate() 86 if (launcher == null || launcher.getAppsView() == null) { in resumeAppStoreUpdate() 89 launcher.getAppsView().getAppsStore().disableDeferUpdates(DEFER_UPDATES_TEST); in resumeAppStoreUpdate() 99 executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS)); in workTabExists() 102 launcher -> launcher.getAppsView().isPersonalTabVisible(), 60000); in workTabExists() 104 launcher -> launcher.getAppsView().isWorkTabVisible(), 60000); in workTabExists() 112 executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS)); in toggleWorks() 115 launcher -> launcher.getAppsView().getWorkModeSwitch(), 60000); in toggleWorks() 129 executeOnLauncher(launcher -> { in toggleWorks() 130 WorkModeSwitch wf = launcher.getAppsView().getWorkModeSwitch(); in toggleWorks() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemClickHandler.java | 84 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick() 85 if (!launcher.getWorkspace().isFinishedSwitchingState()) return; in onClick() 89 onClickAppShortcut(v, (WorkspaceItemInfo) tag, launcher); in onClick() 95 startAppShortcutOrInfoActivity(v, (AppInfo) tag, launcher in onClick() 99 onClickPendingWidget((PendingAppWidgetHostView) v, launcher); in onClick() local 102 onClickSearchAction(launcher, (SearchActionItemInfo) tag); in onClick() 124 private static void onClickPendingWidget(PendingAppWidgetHostView v, Launcher launcher) { in onClickPendingWidget() argument 125 if (launcher.getPackageManager().isSafeMode()) { in onClickPendingWidget() 126 Toast.makeText(launcher, R.string.safemode_widget_error, Toast.LENGTH_SHORT).show(); in onClickPendingWidget() 132 LauncherAppWidgetProviderInfo appWidgetInfo = new WidgetManagerHelper(launcher) in onClickPendingWidget() [all …]
|
D | ItemLongClickListener.java | 54 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick() local 55 if (!canStartDrag(launcher)) return false; in onWorkspaceItemLongClick() 56 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick() 59 launcher.setWaitingForResult(null); in onWorkspaceItemLongClick() 60 beginDrag(v, launcher, (ItemInfo) v.getTag(), launcher.getDefaultWorkspaceDragOptions()); in onWorkspaceItemLongClick() 64 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag() argument 67 Folder folder = Folder.getOpen(launcher); in beginDrag() 79 launcher.getWorkspace().startDrag(longClickCellInfo, dragOptions); in beginDrag() 85 Launcher launcher = Launcher.getLauncher(v.getContext()); in onAllAppsItemLongClick() local 86 if (!canStartDrag(launcher)) return false; in onAllAppsItemLongClick() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 57 executeOnLauncher(launcher -> { in setUp() 58 RecentsView recentsView = launcher.getOverviewPanel(); in setUp() 65 executeOnLauncher(launcher -> { in tearDown() 66 RecentsView recentsView = launcher.getOverviewPanel(); in tearDown() 79 executeOnLauncher(launcher -> assertTrue( in startTestAppsWithCheck() 82 isInBackground(launcher))); in startTestAppsWithCheck() 104 launcher -> assertTrue("Don't have at least 3 tasks", getTaskCount(launcher) >= 3)); in testOverview() 107 executeOnLauncher(launcher -> assertEquals("Current task in Overview is not 0", in testOverview() 108 0, getCurrentOverviewPage(launcher))); in testOverview() 114 launcher -> getCurrentOverviewPage(launcher)); in testOverview() [all …]
|
D | AbstractQuickStepTest.java | 44 protected void onLauncherActivityClose(Launcher launcher) { in onLauncherActivityClose() argument 45 RecentsView recentsView = launcher.getOverviewPanel(); in onLauncherActivityClose() 52 protected void checkLauncherState(Launcher launcher, ContainerType expectedContainerType, in checkLauncherState() argument 54 if (!isInLiveTileMode(launcher, expectedContainerType)) { in checkLauncherState() 55 super.checkLauncherState(launcher, expectedContainerType, isResumed, isStarted); in checkLauncherState() 63 protected void checkLauncherStateInOverview(Launcher launcher, in checkLauncherStateInOverview() argument 65 if (!isInLiveTileMode(launcher, expectedContainerType)) { in checkLauncherStateInOverview() 66 super.checkLauncherStateInOverview(launcher, expectedContainerType, isStarted, in checkLauncherStateInOverview() 76 private boolean isInLiveTileMode(Launcher launcher, in isInLiveTileMode() argument 83 RecentsView recentsView = launcher.getOverviewPanel(); in isInLiveTileMode()
|
D | NavigationModeSwitchRule.java | 79 public NavigationModeSwitchRule(LauncherInstrumentation launcher) { in NavigationModeSwitchRule() argument 80 mLauncher = launcher; in NavigationModeSwitchRule() 161 public static boolean setActiveOverlay(LauncherInstrumentation launcher, String overlayPackage, 192 launcher); 200 () -> launcher.getNavigationModel() == expectedMode, WAIT_TIME_MS, launcher); 203 + launcher.getNavigationModeMismatchError(false), 204 () -> launcher.getNavigationModeMismatchError(false) == null, 205 WAIT_TIME_MS, launcher); 206 AbstractLauncherUiTest.checkDetectedLeaks(launcher); 222 private static void assertTrue(LauncherInstrumentation launcher, String message, [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | OptionsPopupView.java | 134 Launcher launcher, RectF targetRect, List<OptionItem> items, boolean shouldAddArrow) { in show() argument 135 return show(launcher, targetRect, items, shouldAddArrow, 0 /* width */); in show() 139 Launcher launcher, RectF targetRect, List<OptionItem> items, boolean shouldAddArrow, in show() argument 141 OptionsPopupView popup = (OptionsPopupView) launcher.getLayoutInflater() in show() 142 .inflate(R.layout.longpress_options_menu, launcher.getDragLayer(), false); in show() 159 popup.addPreDrawForColorExtraction(launcher); in show() 175 public static ArrowPopup getOptionsPopup(Launcher launcher) { in getOptionsPopup() argument 176 return launcher.findViewById(R.id.popup_container); in getOptionsPopup() 179 public static void showDefaultOptions(Launcher launcher, float x, float y) { in showDefaultOptions() argument 180 float halfSize = launcher.getResources().getDimension(R.dimen.options_menu_thumb_size) / 2; in showDefaultOptions() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | SubSettingLauncherTest.java | 67 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in cannotReuseLauncher() local 70 doNothing().when(launcher).launch(any(Intent.class)); in cannotReuseLauncher() 71 launcher.launch(); in cannotReuseLauncher() 72 launcher.launch(); in cannotReuseLauncher() 77 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in launch_noSourceMetricsCategory_shouldCrash() local 79 launcher.launch(); in launch_noSourceMetricsCategory_shouldCrash() 84 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in launch_noDestination_shouldCrash() local 86 launcher.launch(); in launch_noDestination_shouldCrash() 92 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)); in launch_shouldIncludeAllParams() local 93 launcher.setTitleText("123") in launch_shouldIncludeAllParams() [all …]
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/ |
D | LauncherUIScrollTest.java | 86 Launcher launcher = loadLauncher(); in testWorkspacePagesBound() local 87 assertEquals(3, launcher.getWorkspace().getPageCount()); in testWorkspacePagesBound() 88 assertEquals(0, launcher.getWorkspace().getCurrentPage()); in testWorkspacePagesBound() 90 launcher.dispatchGenericMotionEvent(createScrollEvent(-1)); in testWorkspacePagesBound() 92 0, launcher.getWorkspace().getNextPage()); in testWorkspacePagesBound() 103 Launcher launcher = loadLauncher(); in testAllAppsScroll() local 104 launcher.getStateManager().goToState(LauncherState.ALL_APPS, false); in testAllAppsScroll() 105 doLayout(launcher); in testAllAppsScroll() 107 int currentScroll = launcher.getAppsView().getActiveRecyclerView().getCurrentScrollY(); in testAllAppsScroll() 108 launcher.dispatchGenericMotionEvent(createScrollEvent(-1)); in testAllAppsScroll() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 68 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 69 RecentsView recentsView = launcher.getOverviewPanel(); in getWorkspaceScaleAndTranslation() 70 Workspace workspace = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation() 73 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation() 77 return new ScaleAndTranslation(scale, 0, -getDefaultSwipeHeight(launcher) * parallaxFactor); in getWorkspaceScaleAndTranslation() 81 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() argument 86 public float getTaskbarScale(Launcher launcher) { in getTaskbarScale() argument 91 public float getTaskbarTranslationY(Launcher launcher) { in getTaskbarTranslationY() argument 96 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() argument 106 public int getVisibleElements(Launcher launcher) { [all …]
|
D | BackgroundAppState.java | 47 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() argument 48 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVerticalProgress() 49 return super.getVerticalProgress(launcher); in getVerticalProgress() 51 RecentsView recentsView = launcher.getOverviewPanel(); in getVerticalProgress() 52 int transitionLength = LayoutUtils.getShelfTrackingDistance(launcher, in getVerticalProgress() 53 launcher.getDeviceProfile(), in getVerticalProgress() 55 AllAppsTransitionController controller = launcher.getAllAppsController(); in getVerticalProgress() 58 return super.getVerticalProgress(launcher) + progressDelta; in getVerticalProgress() 62 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() argument 63 return getOverviewScaleAndOffsetForBackgroundState(launcher); in getOverviewScaleAndOffset() [all …]
|
D | AllAppsState.java | 53 public String getDescription(Launcher launcher) { in getDescription() argument 54 AllAppsContainerView appsView = launcher.getAppsView(); in getDescription() 59 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() argument 64 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 66 .getWorkspaceScaleAndTranslation(launcher); in getWorkspaceScaleAndTranslation() 79 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() argument 84 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument 94 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor() argument 95 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
|
D | QuickSwitchState.java | 36 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 37 float shiftRange = launcher.getAllAppsController().getShiftRange(); in getWorkspaceScaleAndTranslation() 38 float shiftProgress = getVerticalProgress(launcher) - NORMAL.getVerticalProgress(launcher); in getWorkspaceScaleAndTranslation() 44 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor() argument 45 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor() 49 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() argument 55 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 165 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 169 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() argument 171 return getWorkspaceScaleAndTranslation(launcher); in getHotseatScaleAndTranslation() 180 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() argument 181 return launcher.getNormalOverviewScaleAndOffset(); in getOverviewScaleAndOffset() 184 public float getTaskbarScale(Launcher launcher) { in getTaskbarScale() argument 185 return launcher.getNormalTaskbarScale(); in getTaskbarScale() 188 public float getTaskbarTranslationY(Launcher launcher) { in getTaskbarTranslationY() argument 189 return -launcher.getHotseat().getTaskbarOffsetY(); in getTaskbarTranslationY() 196 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument [all …]
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/secondarydisplay/ |
D | SDWorkModeTest.java | 75 SecondaryDisplayLauncher launcher = loadLauncher(); in testAllAppsList_noWorkProfile() local 76 launcher.showAppDrawer(true); in testAllAppsList_noWorkProfile() 77 doLayout(launcher); in testAllAppsList_noWorkProfile() 79 verifyRecyclerViewCount(launcher.getAppsView().getActiveRecyclerView()); in testAllAppsList_noWorkProfile() 88 SecondaryDisplayLauncher launcher = loadLauncher(); in testAllAppsList_workProfile() local 89 launcher.showAppDrawer(true); in testAllAppsList_workProfile() 90 doLayout(launcher); in testAllAppsList_workProfile() 92 AllAppsRecyclerView rv1 = launcher.getAppsView().getActiveRecyclerView(); in testAllAppsList_workProfile() 95 assertNotNull(launcher.getAppsView().getWorkModeSwitch()); in testAllAppsList_workProfile() 96 assertTrue(launcher.getAppsView().getRecyclerViewContainer() instanceof AllAppsPagedView); in testAllAppsList_workProfile() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 57 public DiscoveryBounce(Launcher launcher) { in DiscoveryBounce() argument 58 super(launcher, null); in DiscoveryBounce() 59 mLauncher = launcher; in DiscoveryBounce() 62 AnimatorInflater.loadAnimator(launcher, R.animator.discovery_bounce); in DiscoveryBounce() 64 launcher.getHotseat(), mLauncher.getDragLayer().getHeight())); in DiscoveryBounce() 66 launcher.getStateManager().addStateListener(mStateListener); in DiscoveryBounce() 120 public static void showForHomeIfNeeded(Launcher launcher) { in showForHomeIfNeeded() argument 121 showForHomeIfNeeded(launcher, true); in showForHomeIfNeeded() 124 private static void showForHomeIfNeeded(Launcher launcher, boolean withDelay) { in showForHomeIfNeeded() argument 125 OnboardingPrefs onboardingPrefs = launcher.getOnboardingPrefs(); in showForHomeIfNeeded() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | WorkspaceRevealAnim.java | 56 public WorkspaceRevealAnim(Launcher launcher, boolean animateOverviewScrim) { in WorkspaceRevealAnim() argument 57 prepareToAnimate(launcher, animateOverviewScrim); in WorkspaceRevealAnim() 59 ResourceProvider rp = DynamicResource.provider(launcher); in WorkspaceRevealAnim() 62 Workspace workspace = launcher.getWorkspace(); in WorkspaceRevealAnim() 63 workspace.setPivotToScaleWithSelf(launcher.getHotseat()); in WorkspaceRevealAnim() 67 addRevealAnimatorsForView(launcher.getHotseat()); in WorkspaceRevealAnim() 72 launcher.getWorkspace().getStateTransitionAnimation() in WorkspaceRevealAnim() 78 if (launcher instanceof BaseQuickstepLauncher) { in WorkspaceRevealAnim() 80 DepthController depth = ((BaseQuickstepLauncher) launcher).getDepthController(); in WorkspaceRevealAnim() 86 mAnimators.play(launcher.getRootView().getSysUiScrim().createSysuiMultiplierAnim(0f, 1f)); in WorkspaceRevealAnim() [all …]
|
D | StaggeredWorkspaceAnim.java | 75 public StaggeredWorkspaceAnim(Launcher launcher, float velocity, boolean animateOverviewScrim, in StaggeredWorkspaceAnim() argument 77 this(launcher, velocity, animateOverviewScrim, ignoredView, true); in StaggeredWorkspaceAnim() 80 public StaggeredWorkspaceAnim(Launcher launcher, float velocity, boolean animateOverviewScrim, in StaggeredWorkspaceAnim() argument 82 prepareToAnimate(launcher, animateOverviewScrim); in StaggeredWorkspaceAnim() 90 mSpringTransY = transFactor * launcher.getResources() in StaggeredWorkspaceAnim() 94 DeviceProfile grid = launcher.getDeviceProfile(); in StaggeredWorkspaceAnim() 95 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim() 96 Hotseat hotseat = launcher.getHotseat(); in StaggeredWorkspaceAnim() 153 launcher.getWorkspace().getStateTransitionAnimation() in StaggeredWorkspaceAnim() 158 addDepthAnimationForState(launcher, NORMAL, DURATION_MS); in StaggeredWorkspaceAnim() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 92 final Launcher launcher = Launcher.getLauncher(mView.getContext()); in startDrag() local 93 LauncherAppState app = LauncherAppState.getInstance(launcher); in startDrag() 102 mEstimatedCellSize = launcher.getWorkspace().estimateItemSize(mAddInfo); in startDrag() 114 mAppWidgetHostViewPreview = new LauncherAppWidgetHostView(launcher); in startDrag() 117 DeviceProfile deviceProfile = launcher.getDeviceProfile(); in startDrag() 133 launcher.getDragController() in startDrag() 134 .addDragListener(new AppWidgetHostViewDragListener(launcher)); in startDrag() 138 app.getWidgetCache().generateWidgetPreview(launcher, in startDrag() 165 launcher.getDragController().addDragListener(new WidgetHostViewLoader(launcher, mView)); in startDrag() 173 LauncherIcons li = LauncherIcons.obtain(launcher); in startDrag() [all …]
|
D | WidgetAddFlowHandler.java | 56 public void startBindFlow(Launcher launcher, int appWidgetId, ItemInfo info, int requestCode) { in startBindFlow() argument 57 launcher.setWaitingForResult(PendingRequestArgs.forWidgetInfo(appWidgetId, this, info)); in startBindFlow() 58 launcher.getAppWidgetHost() in startBindFlow() 59 .startBindFlow(launcher, appWidgetId, mProviderInfo, requestCode); in startBindFlow() 65 public boolean startConfigActivity(Launcher launcher, LauncherAppWidgetInfo info, in startConfigActivity() argument 67 return startConfigActivity(launcher, info.appWidgetId, info, requestCode); in startConfigActivity() 74 public boolean startConfigActivity(Launcher launcher, int appWidgetId, ItemInfo info, in startConfigActivity() argument 79 launcher.setWaitingForResult(PendingRequestArgs.forWidgetInfo(appWidgetId, this, info)); in startConfigActivity() 80 launcher.getAppWidgetHost().startConfigActivity(launcher, appWidgetId, requestCode); in startConfigActivity()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/ |
D | AllAppsState.java | 54 public String getDescription(Launcher launcher) { in getDescription() argument 55 return launcher.getString(R.string.all_apps_button_label); in getDescription() 59 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument 64 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 66 -launcher.getAllAppsController().getShiftRange() * PARALLAX_COEFFICIENT); in getWorkspaceScaleAndTranslation() 70 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() argument 75 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() argument 80 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor() argument 81 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 48 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument 49 DeviceProfile grid = launcher.getDeviceProfile(); in getWorkspaceScaleAndTranslation() 50 Workspace ws = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation() 52 return super.getWorkspaceScaleAndTranslation(launcher); in getWorkspaceScaleAndTranslation() 61 Rect insets = launcher.getDragLayer().getInsets(); in getWorkspaceScaleAndTranslation() 86 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() argument 91 public float getWorkspaceBackgroundAlpha(Launcher launcher) { in getWorkspaceBackgroundAlpha() argument 96 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument 97 return (super.getVisibleElements(launcher) | HOTSEAT_ICONS) & ~TASKBAR; in getVisibleElements()
|