Search in sources :

Example 1 with ShortcutMenuAccessibilityDelegate

use of com.android.launcher3.accessibility.ShortcutMenuAccessibilityDelegate in project android_packages_apps_Launcher3 by crdroidandroid.

the class PopupContainerWithArrow method configureForLauncher.

private void configureForLauncher(Launcher launcher) {
    addOnAttachStateChangeListener(new LiveUpdateHandler(launcher));
    mPopupItemDragHandler = new LauncherPopupItemDragHandler(launcher, this);
    mAccessibilityDelegate = new ShortcutMenuAccessibilityDelegate(launcher);
    launcher.getDragController().addDragListener(this);
    addPreDrawForColorExtraction(launcher);
}
Also used : ShortcutMenuAccessibilityDelegate(com.android.launcher3.accessibility.ShortcutMenuAccessibilityDelegate)

Aggregations

ShortcutMenuAccessibilityDelegate (com.android.launcher3.accessibility.ShortcutMenuAccessibilityDelegate)1