Home
last modified time | relevance | path

Searched refs:Launcher (Results 1 – 25 of 141) sorted by relevance

123456

/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java29 import com.android.launcher3.Launcher;
40 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers()
45 public static Runnable enableLiveUIChanges(Launcher l) { in enableLiveUIChanges()
49 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler()
54 public static void resetOverview(Launcher launcher) { } in resetOverview()
56 public static void onLauncherStateOrFocusChanged(Launcher launcher) { } in onLauncherStateOrFocusChanged()
58 public static void onCreate(Launcher launcher) { } in onCreate()
60 public static void onStart(Launcher launcher) { } in onStart()
64 public static void onLauncherStateOrResumeChanged(Launcher launcher) { } in onLauncherStateOrResumeChanged()
66 public static void onTrimMemory(Launcher launcher, int level) { } in onTrimMemory()
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DLauncherActivityControllerHelper.java21 import com.android.launcher3.Launcher;
36 public final class LauncherActivityControllerHelper extends GoActivityControlHelper<Launcher> {
39 public AnimationFactory prepareRecentsUI(Launcher activity, in prepareRecentsUI()
59 BiPredicate<Launcher, Boolean> onInitListener) {
64 public Launcher getCreatedActivity() {
69 return (Launcher) app.getModel().getCallback();
72 private Launcher getVisibleLauncher() {
73 Launcher launcher = getCreatedActivity();
80 Launcher launcher = getVisibleLauncher();
87 Launcher launcher = getVisibleLauncher();
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java51 import com.android.launcher3.Launcher;
76 public final class LauncherActivityControllerHelper implements ActivityControlHelper<Launcher> {
93 public void onTransitionCancelled(Launcher activity, boolean activityVisible) { in onTransitionCancelled()
99 public void onSwipeUpToRecentsComplete(Launcher activity) { in onSwipeUpToRecentsComplete()
106 public void onSwipeUpToHomeComplete(Launcher activity) { in onSwipeUpToHomeComplete()
114 Launcher launcher = getCreatedActivity(); in onAssistantVisibilityChanged()
122 public HomeAnimationFactory prepareHomeUI(Launcher activity) { in prepareHomeUI()
176 public AnimationFactory prepareRecentsUI(Launcher activity, boolean activityVisible,
274 private void createActivityControllerInternal(Launcher activity, LauncherState fromState,
309 private void playScaleDownAnim(AnimatorSet anim, Launcher launcher, LauncherState fromState,
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java41 import com.android.launcher3.Launcher;
80 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
93 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation()
113 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation()
118 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
123 public void onStateTransitionEnd(Launcher launcher) { in onStateTransitionEnd()
129 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider()
139 public int getVisibleElements(Launcher launcher) {
151 public float getOverviewScrimAlpha(Launcher launcher) {
156 public float getVerticalProgress(Launcher launcher) {
[all …]
DBackgroundAppState.java21 import com.android.launcher3.Launcher;
46 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
51 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress()
64 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation()
91 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
97 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation()
DQuickSwitchState.java21 import com.android.launcher3.Launcher;
40 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
48 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
53 public void onStateTransitionEnd(Launcher launcher) { in onStateTransitionEnd()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java203 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
207 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation()
212 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation()
220 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
224 public void onStateDisabled(Launcher launcher) { } in onStateDisabled()
226 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
238 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress()
242 public float getWorkspaceScrimAlpha(Launcher launcher) { in getWorkspaceScrimAlpha()
246 public float getOverviewScrimAlpha(Launcher launcher) { in getOverviewScrimAlpha()
250 public String getDescription(Launcher launcher) { in getDescription()
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java39 import com.android.launcher3.Launcher;
67 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation()
72 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
82 public void onStateDisabled(Launcher launcher) { in onStateDisabled()
88 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider()
98 public int getVisibleElements(Launcher launcher) {
103 public float getWorkspaceScrimAlpha(Launcher launcher) {
108 public String getDescription(Launcher launcher) {
113 public void onBackPressed(Launcher launcher) {
118 public static float getDefaultSwipeHeight(Launcher launcher) {
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/states/
DInternalStateHandler.java25 import com.android.launcher3.Launcher;
47 protected abstract boolean init(Launcher launcher, boolean alreadyOnHome); in init()
68 public static boolean handleCreate(Launcher launcher, Intent intent) { in handleCreate()
72 public static boolean handleNewIntent(Launcher launcher, Intent intent, boolean alreadyOnHome) { in handleNewIntent()
77 Launcher launcher, Intent intent, boolean alreadyOnHome, boolean explicitIntent) { in handleIntent()
113 if (!(cb instanceof Launcher)) { in run()
116 Launcher launcher = (Launcher) cb; in run()
120 public boolean initIfPending(Launcher launcher, boolean alreadyOnHome) { in initIfPending()
DSpringLoadedState.java25 import com.android.launcher3.Launcher;
44 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
76 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation()
81 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
93 public float getWorkspaceScrimAlpha(Launcher launcher) { in getWorkspaceScrimAlpha()
98 public void onStateDisabled(final Launcher launcher) { in onStateDisabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java22 import com.android.launcher3.Launcher;
47 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
53 public String getDescription(Launcher launcher) { in getDescription()
59 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress()
64 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
78 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider()
83 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
88 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java32 import com.android.launcher3.Launcher;
55 private final Launcher mLauncher;
68 public DiscoveryBounce(Launcher launcher, float delta) { in DiscoveryBounce()
142 public static void showForHomeIfNeeded(Launcher launcher) { in showForHomeIfNeeded()
146 private static void showForHomeIfNeeded(Launcher launcher, boolean withDelay) { in showForHomeIfNeeded()
165 public static void showForOverviewIfNeeded(Launcher launcher) { in showForOverviewIfNeeded()
169 private static void showForOverviewIfNeeded(Launcher launcher, boolean withDelay) { in showForOverviewIfNeeded()
217 private static boolean shouldShowForWorkProfile(Launcher launcher) { in shouldShowForWorkProfile()
223 private static void incrementShelfBounceCount(Launcher launcher) { in incrementShelfBounceCount()
232 private static void incrementHomeBounceCount(Launcher launcher) { in incrementHomeBounceCount()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/
DAllAppsState.java23 import com.android.launcher3.Launcher;
49 public void onStateEnabled(Launcher launcher) { in onStateEnabled()
59 public String getDescription(Launcher launcher) { in getDescription()
64 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
69 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation()
75 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider()
80 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DLauncherActivityRule.java25 import com.android.launcher3.Launcher;
39 private Launcher mActivity;
46 public Launcher getActivity() { in getActivity()
52 Launcher launcher = getActivity(); in itemExists()
82 if (activity instanceof Launcher) { in onActivityCreated()
83 mActivity = (Launcher) activity; in onActivityCreated()
89 if (activity instanceof Launcher) { in onActivityStarted()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java19 import static android.stats.launcher.nano.Launcher.ALLAPPS;
20 import static android.stats.launcher.nano.Launcher.HOME;
21 import static android.stats.launcher.nano.Launcher.LAUNCH_APP;
22 import static android.stats.launcher.nano.Launcher.LAUNCH_TASK;
23 import static android.stats.launcher.nano.Launcher.DISMISS_TASK;
24 import static android.stats.launcher.nano.Launcher.BACKGROUND;
25 import static android.stats.launcher.nano.Launcher.OVERVIEW;
29 import android.stats.launcher.nano.Launcher;
101 int launcherAction = isSwipingToLeft ? Launcher.SWIPE_LEFT : Launcher.SWIPE_RIGHT; in logSwipeOnContainer()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java37 import com.android.launcher3.Launcher;
124 public static void show(Launcher launcher, RectF targetRect, List<OptionItem> items) { in show()
142 public static ArrowPopup getOptionsPopup(Launcher launcher) { in getOptionsPopup()
146 public static void showDefaultOptions(Launcher launcher, float x, float y) { in showDefaultOptions()
172 return openWidgets(Launcher.getLauncher(view.getContext())) != null; in onWidgetsClicked()
177 public static WidgetsFullSheet openWidgets(Launcher launcher) { in openWidgets()
187 Launcher launcher = Launcher.getLauncher(view.getContext()); in startSettings()
199 Launcher launcher = Launcher.getLauncher(v.getContext()); in startWallpaperPicker()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java23 import static com.android.launcher3.Launcher.REQUEST_BIND_PENDING_APPWIDGET;
24 import static com.android.launcher3.Launcher.REQUEST_RECONFIGURE_APPWIDGET;
47 import com.android.launcher3.Launcher;
84 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick()
120 private static void onClickPendingWidget(PendingAppWidgetHostView v, Launcher launcher) { in onClickPendingWidget()
151 private static void onClickPendingAppItem(View v, Launcher launcher, String packageName, in onClickPendingAppItem()
171 private static void startMarketIntentForPackage(View v, Launcher launcher, String packageName) { in startMarketIntentForPackage()
198 public static void onClickAppShortcut(View v, WorkspaceItemInfo shortcut, Launcher launcher, in onClickAppShortcut()
242 private static void startAppShortcutOrInfoActivity(View v, ItemInfo item, Launcher launcher, in startAppShortcutOrInfoActivity()
DItemLongClickListener.java33 import com.android.launcher3.Launcher;
53 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick()
63 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag()
85 Launcher launcher = Launcher.getLauncher(v.getContext()); in onAllAppsItemLongClick()
119 public static boolean canStartDrag(Launcher launcher) { in canStartDrag()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java45 import com.android.launcher3.Launcher;
241 protected <T> T getFromLauncher(Function<Launcher, T> f) { in getFromLauncher() argument
246 protected void executeOnLauncher(Consumer<Launcher> f) { in executeOnLauncher()
266 protected void waitForLauncherCondition(String message, Function<Launcher, Boolean> condition) { in waitForLauncherCondition() argument
272 protected <T> T getOnceNotNull(String message, Function<Launcher, T> f) { in getOnceNotNull() argument
279 String message, Function<Launcher, Boolean> condition, long timeout) { in waitForLauncherCondition() argument
286 protected <T> T getOnceNotNull(String message, Function<Launcher, T> f, long timeout) { in getOnceNotNull() argument
302 Runnable testThreadAction, Function<Launcher, Boolean> condition, in waitForLauncherCondition() argument
395 protected boolean isInBackground(Launcher launcher) { in isInBackground()
404 protected int getAllAppsScroll(Launcher launcher) { in getAllAppsScroll()
[all …]
DTaplTestsLauncher3.java32 import com.android.launcher3.Launcher;
83 private boolean isWorkspaceScrollable(Launcher launcher) { in isWorkspaceScrollable()
87 private int getCurrentWorkspacePage(Launcher launcher) { in getCurrentWorkspacePage()
91 private WidgetsRecyclerView getWidgetsView(Launcher launcher) { in getWidgetsView()
269 private int getWidgetsScroll(Launcher launcher) { in getWidgetsScroll()
273 private boolean isOptionsPopupVisible(Launcher launcher) { in isOptionsPopupVisible()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java46 import com.android.launcher3.Launcher;
70 public static Runnable enableLiveUIChanges(Launcher launcher) { in enableLiveUIChanges()
81 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler()
92 public static void onLauncherStateOrFocusChanged(Launcher launcher) { in onLauncherStateOrFocusChanged()
108 public static void onCreate(Launcher launcher) { in onCreate()
166 public static void useFadeOutAnimationForLauncherStart(Launcher launcher, in useFadeOutAnimationForLauncherStart()
238 public static void resetPendingActivityResults(Launcher launcher, int requestCode) { in resetPendingActivityResults()
243 public static ScaleAndTranslation getOverviewScaleAndTranslationForNormalState(Launcher l) { in getOverviewScaleAndTranslationForNormalState()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DStartLauncherViaGestureTests.java27 import com.android.launcher3.Launcher;
68 runTest(enterEvt(Launcher.ON_CREATE_EVT), in testPressHome()
69 exitEvt(Launcher.ON_CREATE_EVT), in testPressHome()
75 enterEvt(Launcher.ON_CREATE_EVT), in testPressHome()
76 exitEvt(Launcher.ON_CREATE_EVT)); in testPressHome()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java20 import com.android.launcher3.Launcher;
42 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers()
68 public static StateHandler createRecentsViewStateController(Launcher launcher) { in createRecentsViewStateController()
77 public static void resetOverview(Launcher launcher) { in resetOverview()
87 public static void onLauncherStateOrResumeChanged(Launcher launcher) {} in onLauncherStateOrResumeChanged()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAllAppsTipView.java37 import com.android.launcher3.Launcher;
63 private final Launcher mLauncher;
74 mLauncher = Launcher.getLauncher(context); in AllAppsTipView()
147 private static boolean showAllAppsTipIfNecessary(Launcher launcher) { in showAllAppsTipIfNecessary()
184 private static boolean hasSeenAllAppsTip(Launcher launcher) { in hasSeenAllAppsTip()
188 public static void scheduleShowIfNeeded(Launcher launcher) { in scheduleShowIfNeeded()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java28 import com.android.launcher3.Launcher;
142 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers()
182 public static StateHandler createRecentsViewStateController(Launcher launcher) { in createRecentsViewStateController()
198 public static void onLauncherStateOrResumeChanged(Launcher launcher) { in onLauncherStateOrResumeChanged()
212 TaskViewTouchController<Launcher> {
214 LauncherTaskViewController(Launcher activity) { in LauncherTaskViewController()

123456