/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 165 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 169 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() 180 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() 184 public float getTaskbarScale(Launcher launcher) { in getTaskbarScale() 188 public float getTaskbarTranslationY(Launcher launcher) { in getTaskbarTranslationY() 196 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 204 public boolean areElementsVisible(Launcher launcher, int elements) { in areElementsVisible() 213 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() 217 public float getWorkspaceBackgroundAlpha(Launcher launcher) { in getWorkspaceBackgroundAlpha() 225 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 27 import com.android.launcher3.Launcher; 68 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 81 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() 86 public float getTaskbarScale(Launcher launcher) { in getTaskbarScale() 91 public float getTaskbarTranslationY(Launcher launcher) { in getTaskbarTranslationY() 96 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() 106 public int getVisibleElements(Launcher launcher) { 111 public int getWorkspaceScrimColor(Launcher launcher) { 121 public String getDescription(Launcher launcher) { 125 public static float getDefaultSwipeHeight(Launcher launcher) { [all …]
|
D | AllAppsState.java | 23 import com.android.launcher3.Launcher; 53 public String getDescription(Launcher launcher) { in getDescription() 59 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() 64 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 79 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() 84 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 94 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor()
|
D | QuickSwitchState.java | 20 import com.android.launcher3.Launcher; 36 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 44 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor() 49 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() 55 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
|
D | BackgroundAppState.java | 25 import com.android.launcher3.Launcher; 47 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() 62 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() 72 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 91 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor()
|
D | SplitScreenSelectState.java | 19 import com.android.launcher3.Launcher; 34 public void onBackPressed(Launcher launcher) { in onBackPressed() 39 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 44 public float getSplitSelectTranslation(Launcher launcher) { in getSplitSelectTranslation()
|
D | OverviewModalTaskState.java | 25 import com.android.launcher3.Launcher; 48 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 53 public float[] getOverviewScaleAndOffset(Launcher launcher) { in getOverviewScaleAndOffset() 63 public void onBackPressed(Launcher launcher) { in onBackPressed()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/ |
D | AllAppsState.java | 23 import com.android.launcher3.Launcher; 54 public String getDescription(Launcher launcher) { in getDescription() 59 public int getVisibleElements(Launcher launcher) { in getVisibleElements() 64 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 70 public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) { in getWorkspacePageAlphaProvider() 75 public float getVerticalProgress(Launcher launcher) { in getVerticalProgress() 80 public int getWorkspaceScrimColor(Launcher launcher) { in getWorkspaceScrimColor()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherActivityInterface.java | 38 import com.android.launcher3.Launcher; 84 Launcher launcher = getCreatedActivity(); in onSwipeUpToHomeComplete() 101 Launcher launcher = getCreatedActivity(); in onAssistantVisibilityChanged() 110 Launcher launcher = getCreatedActivity(); in onOneHandedModeStateChanged() 152 Launcher launcher = getCreatedActivity(); in setOnDeferredActivityLaunchCallback() 187 Launcher launcher = getVisibleLauncher(); in getVisibleRecentsView() 201 private Launcher getVisibleLauncher() { in getVisibleLauncher() 202 Launcher launcher = getCreatedActivity(); in getVisibleLauncher() 210 Launcher launcher = getVisibleLauncher(); in switchToRecentsIfVisible() 265 Launcher launcher = getCreatedActivity(); in isInLiveTileMode() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | OptionsPopupView.java | 43 import com.android.launcher3.Launcher; 134 Launcher launcher, RectF targetRect, List<OptionItem> items, boolean shouldAddArrow) { in show() 139 Launcher launcher, RectF targetRect, List<OptionItem> items, boolean shouldAddArrow, in show() 175 public static ArrowPopup getOptionsPopup(Launcher launcher) { in getOptionsPopup() 179 public static void showDefaultOptions(Launcher launcher, float x, float y) { in showDefaultOptions() 192 public static ArrayList<OptionItem> getOptions(Launcher launcher) { in getOptions() 219 return openWidgets(Launcher.getLauncher(view.getContext())) != null; in onWidgetsClicked() 224 public static WidgetsFullSheet openWidgets(Launcher launcher) { in openWidgets() 235 Launcher launcher = Launcher.getLauncher(view.getContext()); in startSettings() 247 Launcher launcher = Launcher.getLauncher(v.getContext()); in startWallpaperPicker()
|
D | AccessibilityActionsView.java | 31 import com.android.launcher3.Launcher; 53 Launcher.getLauncher(context).getStateManager().addStateListener(this); in AccessibilityActionsView() 66 Launcher l = Launcher.getLauncher(getContext()); in createAccessibilityNodeInfo() 80 Launcher l = Launcher.getLauncher(getContext()); in performAccessibilityAction()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | LauncherActivityRule.java | 20 import com.android.launcher3.Launcher; 31 public class LauncherActivityRule extends SimpleActivityRule<Launcher> { 34 super(Launcher.class); in LauncherActivityRule() 43 if (activity instanceof Launcher) { in apply() 44 ((Launcher) activity).getRotationHelper().forceAllowRotationForTesting(true); in apply() 52 Launcher launcher = getActivity();
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 32 import com.android.launcher3.Launcher; 54 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick() 64 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()
|
D | ItemClickHandler.java | 18 import static com.android.launcher3.Launcher.REQUEST_BIND_PENDING_APPWIDGET; 19 import static com.android.launcher3.Launcher.REQUEST_RECONFIGURE_APPWIDGET; 44 import com.android.launcher3.Launcher; 84 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick() 124 private static void onClickPendingWidget(PendingAppWidgetHostView v, Launcher launcher) { in onClickPendingWidget() 155 private static void onClickPendingAppItem(View v, Launcher launcher, String packageName, in onClickPendingAppItem() 175 private static void startMarketIntentForPackage(View v, Launcher launcher, String packageName) { in startMarketIntentForPackage() 235 public static void onClickAppShortcut(View v, WorkspaceItemInfo shortcut, Launcher launcher) { in onClickAppShortcut() 263 public static void onClickSearchAction(Launcher launcher, SearchActionItemInfo itemInfo) { in onClickSearchAction() 290 private static void startAppShortcutOrInfoActivity(View v, ItemInfo item, Launcher launcher) { in startAppShortcutOrInfoActivity()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 50 import com.android.launcher3.Launcher; 375 protected <T> T getFromLauncher(Function<Launcher, T> f) { in getFromLauncher() argument 380 protected void executeOnLauncher(Consumer<Launcher> f) { in executeOnLauncher() 402 message, Function<Launcher, Boolean> condition) { in waitForLauncherCondition() argument 408 protected <T> T getOnceNotNull(String message, Function<Launcher, T> f) { in getOnceNotNull() argument 415 String message, Function<Launcher, Boolean> condition, long timeout) { in waitForLauncherCondition() argument 422 protected <T> T getOnceNotNull(String message, Function<Launcher, T> f, long timeout) { in getOnceNotNull() argument 438 Runnable testThreadAction, Function<Launcher, Boolean> condition, in waitForLauncherCondition() argument 538 protected boolean isInBackground(Launcher launcher) { in isInBackground() 548 protected int getAllAppsScroll(Launcher launcher) { in getAllAppsScroll() [all …]
|
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/ |
D | AppSharing.java | 55 private AppSharing(Launcher launcher) { in AppSharing() 76 private SystemShortcut<Launcher> getShortcut(Launcher launcher, ItemInfo info) { in getShortcut() 87 public final class Share extends SystemShortcut<Launcher> { 88 public Share(Launcher target, ItemInfo itemInfo) { in Share() 130 public static final SystemShortcut.Factory<Launcher> SHORTCUT_FACTORY = (launcher, itemInfo) ->
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AbstractQuickStepTest.java | 23 import com.android.launcher3.Launcher; 44 protected void onLauncherActivityClose(Launcher launcher) { in onLauncherActivityClose() 52 protected void checkLauncherState(Launcher launcher, ContainerType expectedContainerType, in checkLauncherState() 63 protected void checkLauncherStateInOverview(Launcher launcher, in checkLauncherStateInOverview() 76 private boolean isInLiveTileMode(Launcher launcher, in isInLiveTileMode()
|
D | StartLauncherViaGestureTests.java | 27 import com.android.launcher3.Launcher; 70 runTest(enterEvt(Launcher.ON_CREATE_EVT), in testPressHome() 71 exitEvt(Launcher.ON_CREATE_EVT), in testPressHome() 77 enterEvt(Launcher.ON_CREATE_EVT), in testPressHome() 78 exitEvt(Launcher.ON_CREATE_EVT)); in testPressHome()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | LauncherDelegate.java | 31 import com.android.launcher3.Launcher; 53 private final Launcher mLauncher; 57 private LauncherDelegate(Launcher launcher) { in LauncherDelegate() 83 Launcher getLauncher() { in getLauncher() 203 Launcher getLauncher() { in getLauncher() 221 return context instanceof Launcher in from() 222 ? new LauncherDelegate((Launcher) context) in from()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 24 import com.android.launcher3.Launcher; 48 public ScaleAndTranslation getWorkspaceScaleAndTranslation(Launcher launcher) { in getWorkspaceScaleAndTranslation() 86 public ScaleAndTranslation getHotseatScaleAndTranslation(Launcher launcher) { in getHotseatScaleAndTranslation() 91 public float getWorkspaceBackgroundAlpha(Launcher launcher) { in getWorkspaceBackgroundAlpha() 96 public int getVisibleElements(Launcher launcher) { in getVisibleElements()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 29 import com.android.launcher3.Launcher; 44 private final Launcher mLauncher; 57 public DiscoveryBounce(Launcher launcher) { in DiscoveryBounce() 120 public static void showForHomeIfNeeded(Launcher launcher) { in showForHomeIfNeeded() 124 private static void showForHomeIfNeeded(Launcher launcher, boolean withDelay) { in showForHomeIfNeeded()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/ |
D | LauncherUIScrollTest.java | 33 import com.android.launcher3.Launcher; 86 Launcher launcher = loadLauncher(); in testWorkspacePagesBound() 103 Launcher launcher = loadLauncher(); in testAllAppsScroll() 123 Launcher launcher = loadLauncher(); in testWidgetsListScroll() 144 Launcher launcher = loadLauncher(); in testFolderPageScroll() 157 private Launcher loadLauncher() throws Exception { in loadLauncher()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 26 import com.android.launcher3.Launcher; 48 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDrawable() 62 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDragBitmapLegacy() 87 Launcher launcher = Launcher.getLauncher(mView.getContext()); in getScaleAndPosition()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | LauncherInitListener.java | 33 public class LauncherInitListener extends ActivityInitListener<Launcher> { 42 public LauncherInitListener(BiPredicate<Launcher, Boolean> onInitListener) { in LauncherInitListener() argument 43 super(onInitListener, Launcher.ACTIVITY_TRACKER); in LauncherInitListener() 47 public boolean handleInit(Launcher launcher, boolean alreadyOnHome) { in handleInit()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 31 import com.android.launcher3.Launcher; 126 return Launcher.ACTIVITY_TRACKER.getCreatedActivity() == null 131 return Launcher.ACTIVITY_TRACKER.getCreatedActivity(); 138 BundleSetter<T> bundleSetter, Function<Launcher, T> provider) { 139 return getUIProperty(bundleSetter, provider, Launcher.ACTIVITY_TRACKER::getCreatedActivity);
|