mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Refactor FolderIcon to separate the preview effect into it's own class
-> Created com.android.launcher3.folder package to house most folder-related files (aside from the FolderInfo) which is more related to the model than the UI. Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
This commit is contained in:
@@ -53,7 +53,9 @@ import android.view.ViewGroup;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.launcher3.FolderIcon.FolderRingAnimator;
|
||||
import com.android.launcher3.folder.Folder;
|
||||
import com.android.launcher3.folder.FolderIcon;
|
||||
import com.android.launcher3.folder.FolderIcon.FolderRingAnimator;
|
||||
import com.android.launcher3.Launcher.CustomContentCallbacks;
|
||||
import com.android.launcher3.Launcher.LauncherOverlay;
|
||||
import com.android.launcher3.UninstallDropTarget.UninstallSource;
|
||||
@@ -908,7 +910,7 @@ public class Workspace extends PagedView
|
||||
|
||||
// At bind time, we use the rank (screenId) to compute x and y for hotseat items.
|
||||
// See implementation for parameter definition.
|
||||
void addInScreenFromBind(View child, long container, long screenId, int x, int y,
|
||||
public void addInScreenFromBind(View child, long container, long screenId, int x, int y,
|
||||
int spanX, int spanY) {
|
||||
addInScreen(child, container, screenId, x, y, spanX, spanY, false, true);
|
||||
}
|
||||
@@ -3942,7 +3944,7 @@ public class Workspace extends PagedView
|
||||
stripEmptyScreens();
|
||||
}
|
||||
|
||||
interface ItemOperator {
|
||||
public interface ItemOperator {
|
||||
/**
|
||||
* Process the next itemInfo, possibly with side-effect on {@link ItemOperator#value}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user