/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 27 import com.android.launcher3.Launcher; 37 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers() 42 public static Runnable enableLiveUIChanges(Launcher l) { in enableLiveUIChanges() 46 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler() 51 public static void resetOverview(Launcher launcher) { } in resetOverview() 53 public static void onLauncherStateOrFocusChanged(Launcher launcher) { } in onLauncherStateOrFocusChanged() 55 public static void onCreate(Launcher launcher) { } in onCreate() 57 public static void onStart(Launcher launcher) { } in onStart() 61 public static void onLauncherStateOrResumeChanged(Launcher launcher) { } in onLauncherStateOrResumeChanged() 63 public static void onTrimMemory(Launcher launcher, int level) { } in onTrimMemory() [all …]
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | LauncherActivityControllerHelper.java | 21 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/launcher3/uioverrides/states/ |
D | OverviewState.java | 40 import com.android.launcher3.Launcher; 79 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 92 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() 101 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() 106 public void onStateEnabled(Launcher launcher) { in onStateEnabled() 111 public void onStateTransitionEnd(Launcher launcher) { in onStateTransitionEnd() 117 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() 127 public int getVisibleElements(Launcher launcher) { 138 public float getWorkspaceScrimAlpha(Launcher launcher) { 143 public float getVerticalProgress(Launcher launcher) { [all …]
|
D | BackgroundAppState.java | 21 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() 83 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 89 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation()
|
D | QuickSwitchState.java | 21 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/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | LauncherActivityControllerHelper.java | 53 import com.android.launcher3.Launcher; 79 public final class LauncherActivityControllerHelper implements ActivityControlHelper<Launcher> { 96 public void onTransitionCancelled(Launcher activity, boolean activityVisible) { in onTransitionCancelled() 102 public void onSwipeUpToRecentsComplete(Launcher activity) { in onSwipeUpToRecentsComplete() 109 public void onSwipeUpToHomeComplete(Launcher activity) { in onSwipeUpToHomeComplete() 117 Launcher launcher = getCreatedActivity(); in onAssistantVisibilityChanged() 125 public HomeAnimationFactory prepareHomeUI(Launcher activity) { in prepareHomeUI() 195 public AnimationFactory prepareRecentsUI(Launcher activity, boolean activityVisible, 330 private void createActivityControllerInternal(Launcher activity, LauncherState fromState, 365 private void playScaleDownAnim(AnimatorSet anim, Launcher launcher, LauncherState fromState, [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 203 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 String getDescription(Launcher launcher) { in getDescription() 250 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() [all …]
|
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 38 import com.android.launcher3.Launcher; 66 public ScaleAndTranslation getOverviewScaleAndTranslation(Launcher launcher) { in getOverviewScaleAndTranslation() 71 public void onStateEnabled(Launcher launcher) { in onStateEnabled() 81 public void onStateDisabled(Launcher launcher) { in onStateDisabled() 87 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() 97 public int getVisibleElements(Launcher launcher) { 102 public float getWorkspaceScrimAlpha(Launcher launcher) { 107 public String getDescription(Launcher launcher) { 112 public void onBackPressed(Launcher launcher) { 117 public static float getDefaultSwipeHeight(Launcher launcher) { [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | InternalStateHandler.java | 23 import com.android.launcher3.Launcher; 46 protected abstract boolean init(Launcher launcher, boolean alreadyOnHome); in init() 67 public static boolean handleCreate(Launcher launcher, Intent intent) { in handleCreate() 71 public static boolean handleNewIntent(Launcher launcher, Intent intent, boolean alreadyOnHome) { in handleNewIntent() 76 Launcher launcher, Intent intent, boolean alreadyOnHome, boolean explicitIntent) { in handleIntent() 116 if (!(cb instanceof Launcher)) { in run() 119 Launcher launcher = (Launcher) cb; in run() 123 public boolean initIfPending(Launcher launcher, boolean alreadyOnHome) { in initIfPending()
|
D | SpringLoadedState.java | 25 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/ |
D | AllAppsState.java | 22 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/ |
D | DiscoveryBounce.java | 32 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/ |
D | AllAppsState.java | 23 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/src/com/android/launcher3/views/ |
D | OptionsPopupView.java | 36 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())); in onWidgetsClicked() 175 public static boolean openWidgets(Launcher launcher) { in openWidgets() 186 Launcher launcher = Launcher.getLauncher(view.getContext()); in startSettings() 198 Launcher launcher = Launcher.getLauncher(v.getContext()); in startWallpaperPicker()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemClickHandler.java | 23 import static com.android.launcher3.Launcher.REQUEST_BIND_PENDING_APPWIDGET; 24 import static com.android.launcher3.Launcher.REQUEST_RECONFIGURE_APPWIDGET; 41 import com.android.launcher3.Launcher; 85 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick() 131 private static void onClickPendingWidget(PendingAppWidgetHostView v, Launcher launcher) { in onClickPendingWidget() 162 private static void onClickPendingAppItem(View v, Launcher launcher, String packageName, in onClickPendingAppItem() 180 private static void startMarketIntentForPackage(View v, Launcher launcher, String packageName) { in startMarketIntentForPackage() 191 public static void onClickAppShortcut(View v, WorkspaceItemInfo shortcut, Launcher launcher, in onClickAppShortcut() 235 private static void startAppShortcutOrInfoActivity(View v, ItemInfo item, Launcher launcher, in startAppShortcutOrInfoActivity()
|
D | ItemLongClickListener.java | 31 import com.android.launcher3.Launcher; 48 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick() 58 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag() 77 Launcher launcher = Launcher.getLauncher(v.getContext()); in onAllAppsItemLongClick() 105 public static boolean canStartDrag(Launcher launcher) { in canStartDrag()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | LauncherActivityRule.java | 29 import com.android.launcher3.Launcher; 43 private Launcher mActivity; 50 public Launcher getActivity() { in getActivity() 59 Launcher launcher = getActivity(); in itemExists() 97 if (activity instanceof Launcher) { 98 mActivity = (Launcher) activity;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 24 import static android.stats.launcher.nano.Launcher.ALLAPPS; 25 import static android.stats.launcher.nano.Launcher.HOME; 26 import static android.stats.launcher.nano.Launcher.LAUNCH_APP; 27 import static android.stats.launcher.nano.Launcher.LAUNCH_TASK; 28 import static android.stats.launcher.nano.Launcher.BACKGROUND; 29 import static android.stats.launcher.nano.Launcher.OVERVIEW;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 43 import com.android.launcher3.Launcher; 66 public static Runnable enableLiveUIChanges(Launcher launcher) { in enableLiveUIChanges() 77 public static StateHandler[] getStateHandler(Launcher launcher) { in getStateHandler() 88 public static void onLauncherStateOrFocusChanged(Launcher launcher) { in onLauncherStateOrFocusChanged() 104 public static void onCreate(Launcher launcher) { in onCreate() 162 public static void useFadeOutAnimationForLauncherStart(Launcher launcher, in useFadeOutAnimationForLauncherStart() 234 public static void resetPendingActivityResults(Launcher launcher, int requestCode) { in resetPendingActivityResults() 239 public static ScaleAndTranslation getOverviewScaleAndTranslationForNormalState(Launcher l) { in getOverviewScaleAndTranslationForNormalState()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | StartLauncherViaGestureTests.java | 27 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/ |
D | RecentsUiFactory.java | 20 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/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 47 import com.android.launcher3.Launcher; 247 protected <T> T getFromLauncher(Function<Launcher, T> f) { in getFromLauncher() argument 252 protected void executeOnLauncher(Consumer<Launcher> f) { in executeOnLauncher() 272 protected void waitForLauncherCondition(String message, Function<Launcher, Boolean> condition) { in waitForLauncherCondition() argument 279 String message, Function<Launcher, Boolean> condition, long timeout) { in waitForLauncherCondition() argument 288 Runnable testThreadAction, Function<Launcher, Boolean> condition, in waitForLauncherCondition() argument 378 protected boolean isInBackground(Launcher launcher) { in isInBackground() 387 protected int getAllAppsScroll(Launcher launcher) { in getAllAppsScroll()
|
D | TaplTestsLauncher3.java | 30 import com.android.launcher3.Launcher; 81 private boolean isWorkspaceScrollable(Launcher launcher) { in isWorkspaceScrollable() 85 private int getCurrentWorkspacePage(Launcher launcher) { in getCurrentWorkspacePage() 89 private WidgetsRecyclerView getWidgetsView(Launcher launcher) { in getWidgetsView() 266 private int getWidgetsScroll(Launcher launcher) { in getWidgetsScroll() 270 private boolean isOptionsPopupVisible(Launcher launcher) { in isOptionsPopupVisible()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AllAppsTipView.java | 37 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/ |
D | RecentsUiFactory.java | 28 import com.android.launcher3.Launcher; 142 public static TouchController[] createTouchControllers(Launcher launcher) { in createTouchControllers() 177 public static StateHandler createRecentsViewStateController(Launcher launcher) { in createRecentsViewStateController() 193 public static void onLauncherStateOrResumeChanged(Launcher launcher) { in onLauncherStateOrResumeChanged() 207 TaskViewTouchController<Launcher> { 209 LauncherTaskViewController(Launcher activity) { in LauncherTaskViewController()
|