Search in sources :

Example 1 with SpringLoadedDragController

use of com.android.launcher3.dragndrop.SpringLoadedDragController in project android_packages_apps_Launcher3 by crdroidandroid.

the class Workspace method setup.

void setup(DragController dragController) {
    mSpringLoadedDragController = new SpringLoadedDragController(mLauncher);
    mDragController = dragController;
    // hardware layers on children are enabled on startup, but should be disabled until
    // needed
    updateChildrenLayersEnabled();
}
Also used : SpringLoadedDragController(com.android.launcher3.dragndrop.SpringLoadedDragController)

Aggregations

SpringLoadedDragController (com.android.launcher3.dragndrop.SpringLoadedDragController)1