Home
last modified time | relevance | path

Searched refs:launcher (Results 1 – 25 of 137) sorted by relevance

123456

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java65 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()
100 launcher -> assertTrue("Launcher internal state didn't switch to Showing Menu", in testDevicePressMenu()
101 OptionsPopupView.getOptionsPopup(launcher) != null)); in testDevicePressMenu()
129 test.executeOnLauncher(launcher -> assertEquals( in runAllAppsTest()
[all …]
DAbstractLauncherUiTest.java113 launcher -> in AbstractLauncherUiTest()
114 checkLauncherIntegrity(launcher, containerType))); in AbstractLauncherUiTest()
224 waitForLauncherCondition("Launcher model didn't load", launcher -> { in waitForModelLoaded()
247 getFromLauncher(launcher -> { in executeOnLauncher()
248 f.accept(launcher); in executeOnLauncher()
257 launcher -> launcher.getStateManager().getCurrentStableState() == state); in waitForState()
261 waitForLauncherCondition(message, launcher -> launcher.hasBeenResumed()); in waitForResumed()
386 executeOnLauncher(launcher -> { in closeLauncherActivity()
387 if (launcher != null) { in closeLauncherActivity()
388 launcher.finish(); in closeLauncherActivity()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java68 public DiscoveryBounce(Launcher launcher, float delta) { in DiscoveryBounce() argument
69 super(launcher, null); in DiscoveryBounce()
70 mLauncher = launcher; in DiscoveryBounce()
74 AnimatorInflater.loadAnimator(launcher, R.animator.discovery_bounce); in DiscoveryBounce()
83 launcher.getStateManager().addStateListener(mStateListener); in DiscoveryBounce()
142 public static void showForHomeIfNeeded(Launcher launcher) { in showForHomeIfNeeded() argument
143 showForHomeIfNeeded(launcher, true); in showForHomeIfNeeded()
146 private static void showForHomeIfNeeded(Launcher launcher, boolean withDelay) { in showForHomeIfNeeded() argument
147 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
148 || (launcher.getSharedPrefs().getBoolean(HOME_BOUNCE_SEEN, false) in showForHomeIfNeeded()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java80 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument
81 RecentsView recentsView = launcher.getOverviewPanel(); in getWorkspaceScaleAndTranslation()
82 Workspace workspace = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation()
85 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation()
89 return new ScaleAndTranslation(scale, 0, -getDefaultSwipeHeight(launcher) * parallaxFactor); in getWorkspaceScaleAndTranslation()
93 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() argument
94 if ((getVisibleElements(launcher) & HOTSEAT_ICONS) != 0) { in getHotseatScaleAndTranslation()
95 DeviceProfile dp = launcher.getDeviceProfile(); in getHotseatScaleAndTranslation()
109 return getWorkspaceScaleAndTranslation(launcher); in getHotseatScaleAndTranslation()
113 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() argument
[all …]
DBackgroundAppState.java46 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
47 AbstractFloatingView.closeAllOpenViews(launcher, false); in onStateEnabled()
51 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() argument
52 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVerticalProgress()
53 return super.getVerticalProgress(launcher); in getVerticalProgress()
55 int transitionLength = LayoutUtils.getShelfTrackingDistance(launcher, in getVerticalProgress()
56 launcher.getDeviceProfile()); in getVerticalProgress()
57 AllAppsTransitionController controller = launcher.getAllAppsController(); in getVerticalProgress()
60 return super.getVerticalProgress(launcher) + progressDelta; in getVerticalProgress()
64 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() argument
[all …]
DQuickSwitchState.java40 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument
41 float shiftRange = launcher.getAllAppsController().getShiftRange(); in getWorkspaceScaleAndTranslation()
42 float shiftProgress = getVerticalProgress(launcher) - NORMAL.getVerticalProgress(launcher); in getWorkspaceScaleAndTranslation()
48 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument
53 public void onStateTransitionEnd(Launcher launcher) { in onStateTransitionEnd() argument
54 TaskView tasktolaunch = launcher.<RecentsView>getOverviewPanel().getTaskViewAt(0); in onStateTransitionEnd()
58 launcher.getStateManager().goToState(OVERVIEW); in onStateTransitionEnd()
61 launcher.getStateManager().moveToRestState(); in onStateTransitionEnd()
65 launcher.getStateManager().goToState(NORMAL); in onStateTransitionEnd()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java70 public static Runnable enableLiveUIChanges(Launcher launcher) { in enableLiveUIChanges() argument
72 launcher.getDragLayer().recreateControllers(); in enableLiveUIChanges()
73 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges()
75 SysUINavigationMode mode = SysUINavigationMode.INSTANCE.get(launcher); in enableLiveUIChanges()
77 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges()
81 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler() argument
83 launcher.getAllAppsController(), in getStateHandler()
84 launcher.getWorkspace(), in getStateHandler()
85 createRecentsViewStateController(launcher), in getStateHandler()
86 new BackButtonAlphaHandler(launcher)}; in getStateHandler()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java84 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick()
85 if (!launcher.getWorkspace().isFinishedSwitchingState()) return; in onClick()
89 onClickAppShortcut(v, (WorkspaceItemInfo) tag, launcher, sourceContainer); in onClick()
95 startAppShortcutOrInfoActivity(v, (AppInfo) tag, launcher, in onClick()
99 onClickPendingWidget((PendingAppWidgetHostView) v, launcher); in onClick() local
120 private static void onClickPendingWidget(PendingAppWidgetHostView v, Launcher launcher) { in onClickPendingWidget() argument
121 if (launcher.getPackageManager().isSafeMode()) { in onClickPendingWidget()
122 Toast.makeText(launcher, R.string.safemode_widget_error, Toast.LENGTH_SHORT).show(); in onClickPendingWidget()
129 .getInstance(launcher).findProvider(info.providerName, info.user); in onClickPendingWidget()
140 addFlowHandler.startBindFlow(launcher, info.appWidgetId, info, in onClickPendingWidget()
[all …]
DItemLongClickListener.java53 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick() local
54 if (!canStartDrag(launcher)) return false; in onWorkspaceItemLongClick()
55 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick()
58 launcher.setWaitingForResult(null); in onWorkspaceItemLongClick()
59 beginDrag(v, launcher, (ItemInfo) v.getTag(), new DragOptions()); in onWorkspaceItemLongClick()
63 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag() argument
66 Folder folder = Folder.getOpen(launcher); in beginDrag()
78 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/
DTaplTestsQuickstep.java65 executeOnLauncher(launcher -> assertTrue( in startTestApps()
68 isInBackground(launcher))); in startTestApps()
107 launcher -> assertTrue("Don't have at least 3 tasks", getTaskCount(launcher) >= 3)); in testOverview()
110 executeOnLauncher(launcher -> assertEquals("Current task in Overview is not 0", in testOverview()
111 0, getCurrentOverviewPage(launcher))); in testOverview()
116 launcher -> getCurrentOverviewPage(launcher)); in testOverview()
117 executeOnLauncher(launcher -> assertTrue("Current task in Overview is still 0", in testOverview()
122 executeOnLauncher(launcher -> assertTrue("Flinging back in Overview did nothing", in testOverview()
123 getCurrentOverviewPage(launcher) < currentTaskAfterFlingForward)); in testOverview()
132 executeOnLauncher(launcher -> assertTrue( in testOverview()
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DLauncherActivityControllerHelper.java73 Launcher launcher = getCreatedActivity();
74 return (launcher != null) && launcher.isStarted() && launcher.hasWindowFocus() ?
75 launcher : null;
80 Launcher launcher = getVisibleLauncher();
81 return launcher != null && launcher.getStateManager().getState().overviewUi
82 ? launcher.getOverviewPanel() : null;
87 Launcher launcher = getVisibleLauncher();
88 if (launcher == null) {
91 launcher.<IconRecentsView>getOverviewPanel().setUsingRemoteAnimation(false);
92 launcher.getUserEventDispatcher().logActionCommand(
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java203 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument
207 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() argument
209 return getWorkspaceScaleAndTranslation(launcher); in getHotseatScaleAndTranslation()
212 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() argument
213 return UiFactory.getOverviewScaleAndTranslationForNormalState(launcher); in getOverviewScaleAndTranslation()
220 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
221 dispatchWindowStateChanged(launcher); in onStateEnabled()
224 public void onStateDisabled(Launcher launcher) { } in onStateDisabled() argument
226 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument
227 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVisibleElements()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSubSettingLauncherTest.java66 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in cannotReuseLauncher() local
69 doNothing().when(launcher).launch(any(Intent.class)); in cannotReuseLauncher()
70 launcher.launch(); in cannotReuseLauncher()
71 launcher.launch(); in cannotReuseLauncher()
76 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in launch_noSourceMetricsCategory_shouldCrash() local
78 launcher.launch(); in launch_noSourceMetricsCategory_shouldCrash()
83 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)) in launch_noDestination_shouldCrash() local
85 launcher.launch(); in launch_noDestination_shouldCrash()
91 final SubSettingLauncher launcher = spy(new SubSettingLauncher(mContext)); in launch_shouldIncludeAllParams() local
92 launcher.setTitleText("123") in launch_shouldIncludeAllParams()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java124 public static void show(Launcher launcher, RectF targetRect, List<OptionItem> items) { in show() argument
125 OptionsPopupView popup = (OptionsPopupView) launcher.getLayoutInflater() in show()
126 .inflate(R.layout.longpress_options_menu, launcher.getDragLayer(), false); in show()
142 public static ArrowPopup getOptionsPopup(Launcher launcher) { in getOptionsPopup() argument
143 return launcher.findViewById(R.id.deep_shortcuts_container); in getOptionsPopup()
146 public static void showDefaultOptions(Launcher launcher, float x, float y) { in showDefaultOptions() argument
147 float halfSize = launcher.getResources().getDimension(R.dimen.options_menu_thumb_size) / 2; in showDefaultOptions()
149 x = launcher.getDragLayer().getWidth() / 2; in showDefaultOptions()
150 y = launcher.getDragLayer().getHeight() / 2; in showDefaultOptions()
155 int resString = Utilities.existsStyleWallpapers(launcher) ? in showDefaultOptions()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java114 Launcher launcher = getCreatedActivity(); in onAssistantVisibilityChanged() local
115 if (launcher != null) { in onAssistantVisibilityChanged()
116 launcher.onAssistantVisibilityChanged(visibility); in onAssistantVisibilityChanged()
309 private void playScaleDownAnim(AnimatorSet anim, Launcher launcher, LauncherState fromState,
311 RecentsView recentsView = launcher.getOverviewPanel();
317 = fromState.getOverviewScaleAndTranslation(launcher);
319 = endState.getOverviewScaleAndTranslation(launcher);
347 Rect fallbackInsets = launcher.getDeviceProfile().getInsets();
376 Launcher launcher = getCreatedActivity();
377 return (launcher != null) && launcher.isStarted() && launcher.hasWindowFocus() ?
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java67 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() argument
72 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
73 IconRecentsView recentsView = launcher.getOverviewPanel(); in onStateEnabled()
78 launcher.getRotationHelper().setCurrentStateRequest(REQUEST_ROTATE); in onStateEnabled()
82 public void onStateDisabled(Launcher launcher) { in onStateDisabled() argument
83 IconRecentsView recentsView = launcher.getOverviewPanel(); in onStateDisabled()
88 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() argument
98 public int getVisibleElements(Launcher launcher) {
103 public float getWorkspaceScrimAlpha(Launcher launcher) {
108 public String getDescription(Launcher launcher) {
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java142 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers() argument
143 Mode mode = SysUINavigationMode.getMode(launcher); in createTouchControllers()
146 list.add(launcher.getDragController()); in createTouchControllers()
148 list.add(new NoButtonQuickSwitchTouchController(launcher)); in createTouchControllers()
149 list.add(new NavBarToHomeTouchController(launcher)); in createTouchControllers()
150 list.add(new FlingAndHoldTouchController(launcher)); in createTouchControllers()
152 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
153 list.add(new OverviewToAllAppsTouchController(launcher)); in createTouchControllers()
154 list.add(new LandscapeEdgeSwipeController(launcher)); in createTouchControllers()
156 list.add(new TransposedQuickSwitchTouchController(launcher)); in createTouchControllers()
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java42 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers() argument
44 list.add(launcher.getDragController()); in createTouchControllers()
46 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
47 list.add(new LandscapeStatesTouchController(launcher)); in createTouchControllers()
48 list.add(new LandscapeEdgeSwipeController(launcher)); in createTouchControllers()
50 boolean allowDragToOverview = SysUINavigationMode.INSTANCE.get(launcher) in createTouchControllers()
52 list.add(new PortraitStatesTouchController(launcher, allowDragToOverview)); in createTouchControllers()
55 && !launcher.getDeviceProfile().isMultiWindowMode in createTouchControllers()
56 && !launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
57 list.add(new StatusBarTouchController(launcher)); in createTouchControllers()
[all …]
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java40 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers() argument
42 launcher.getDragController(), new AllAppsSwipeController(launcher)}; in createTouchControllers()
49 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler() argument
51 launcher.getAllAppsController(), launcher.getWorkspace() }; in getStateHandler()
54 public static void resetOverview(Launcher launcher) { } in resetOverview() argument
56 public static void onLauncherStateOrFocusChanged(Launcher launcher) { } in onLauncherStateOrFocusChanged() argument
58 public static void onCreate(Launcher launcher) { } in onCreate() argument
60 public static void onStart(Launcher launcher) { } in onStart() argument
64 public static void onLauncherStateOrResumeChanged(Launcher launcher) { } in onLauncherStateOrResumeChanged() argument
66 public static void onTrimMemory(Launcher launcher, int level) { } in onTrimMemory() argument
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java47 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
48 AbstractFloatingView.closeAllOpenViews(launcher); in onStateEnabled()
49 dispatchWindowStateChanged(launcher); in onStateEnabled()
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()
67 if (SysUINavigationMode.getMode(launcher) == SysUINavigationMode.Mode.NO_BUTTON) { in getWorkspaceScaleAndTranslation()
78 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() argument
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAllAppsTipView.java147 private static boolean showAllAppsTipIfNecessary(Launcher launcher) { in showAllAppsTipIfNecessary() argument
148 FloatingHeaderView floatingHeaderView = launcher.getAppsView().getFloatingHeaderView(); in showAllAppsTipIfNecessary()
150 || AbstractFloatingView.getOpenView(launcher, in showAllAppsTipIfNecessary()
152 || !launcher.isInState(ALL_APPS) in showAllAppsTipIfNecessary()
153 || hasSeenAllAppsTip(launcher) in showAllAppsTipIfNecessary()
154 || UserManagerCompat.getInstance(launcher).isDemoUser() in showAllAppsTipIfNecessary()
159 AllAppsTipView allAppsTipView = new AllAppsTipView(launcher.getAppsView().getContext(), in showAllAppsTipIfNecessary()
161 launcher.getDragLayer().addView(allAppsTipView); in showAllAppsTipIfNecessary()
167 allAppsTipView.setY(top - launcher.getResources().getDimensionPixelSize( in showAllAppsTipIfNecessary()
179 launcher.getUserEventDispatcher().logActionTip( in showAllAppsTipIfNecessary()
[all …]
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/
DAllAppsState.java49 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
50 if (!launcher.getSharedPrefs().getBoolean(HOME_BOUNCE_SEEN, false)) { in onStateEnabled()
51 launcher.getSharedPrefs().edit().putBoolean(HOME_BOUNCE_SEEN, true).apply(); in onStateEnabled()
54 AbstractFloatingView.closeAllOpenViews(launcher); in onStateEnabled()
55 dispatchWindowStateChanged(launcher); in onStateEnabled()
59 public String getDescription(Launcher launcher) { in getDescription() argument
60 return launcher.getString(R.string.all_apps_button_label); in getDescription()
64 public int getVisibleElements(Launcher launcher) { in getVisibleElements() argument
69 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument
71 -launcher.getAllAppsController().getShiftRange() * PARALLAX_COEFFICIENT); in getWorkspaceScaleAndTranslation()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/states/
DSpringLoadedState.java44 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() argument
45 DeviceProfile grid = launcher.getDeviceProfile(); in getWorkspaceScaleAndTranslation()
46 Workspace ws = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation()
48 return super.getWorkspaceScaleAndTranslation(launcher); in getWorkspaceScaleAndTranslation()
57 Rect insets = launcher.getDragLayer().getInsets(); in getWorkspaceScaleAndTranslation()
76 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() argument
81 public void onStateEnabled(Launcher launcher) { in onStateEnabled() argument
82 Workspace ws = launcher.getWorkspace(); in onStateEnabled()
89 launcher.getRotationHelper().setCurrentStateRequest(REQUEST_LOCK); in onStateEnabled()
93 public float getWorkspaceScrimAlpha(Launcher launcher) { in getWorkspaceScrimAlpha() argument
[all …]
DInternalStateHandler.java47 protected abstract boolean init(Launcher launcher, boolean alreadyOnHome); in init() argument
68 public static boolean handleCreate(Launcher launcher, Intent intent) { in handleCreate() argument
69 return handleIntent(launcher, intent, false, false); in handleCreate()
72 public static boolean handleNewIntent(Launcher launcher, Intent intent, boolean alreadyOnHome) { in handleNewIntent() argument
73 return handleIntent(launcher, intent, alreadyOnHome, true); in handleNewIntent()
77 Launcher launcher, Intent intent, boolean alreadyOnHome, boolean explicitIntent) { in handleIntent() argument
83 if (!handler.init(launcher, alreadyOnHome)) { in handleIntent()
90 result = sScheduler.initIfPending(launcher, alreadyOnHome); in handleIntent()
116 Launcher launcher = (Launcher) cb; in run() local
117 initIfPending(launcher, launcher.isStarted()); in run()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java69 public StaggeredWorkspaceAnim(Launcher launcher, float velocity, boolean animateOverviewScrim) { in StaggeredWorkspaceAnim() argument
70 prepareToAnimate(launcher); in StaggeredWorkspaceAnim()
77 mSpringTransY = transFactor * launcher.getResources() in StaggeredWorkspaceAnim()
80 DeviceProfile grid = launcher.getDeviceProfile(); in StaggeredWorkspaceAnim()
81 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim()
84 ViewGroup hotseat = launcher.getHotseat(); in StaggeredWorkspaceAnim()
124 View qsb = launcher.findViewById(R.id.search_container_all_apps); in StaggeredWorkspaceAnim()
129 addScrimAnimationForState(launcher, BACKGROUND_APP, 0); in StaggeredWorkspaceAnim()
130 addScrimAnimationForState(launcher, NORMAL, ALPHA_DURATION_MS); in StaggeredWorkspaceAnim()
160 private void prepareToAnimate(Launcher launcher) { in prepareToAnimate() argument
[all …]

123456