Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"

This reverts commit fc956e5a2a.

Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
This commit is contained in:
Sunny Goyal
2016-02-18 22:09:23 +00:00
parent 7de283a5ec
commit 261194387b
20 changed files with 89 additions and 37 deletions
@@ -18,12 +18,11 @@ package com.android.launcher3.folder;
import android.graphics.Path;
import com.android.launcher3.FolderIcon;
import com.android.launcher3.FolderIcon.PreviewItemDrawingParams;
import com.android.launcher3.folder.FolderIcon.PreviewItemDrawingParams;
public class StackFolderIconLayoutRule implements FolderIcon.PreviewLayoutRule {
public static final int MAX_NUM_ITEMS_IN_PREVIEW = 3;
static final int MAX_NUM_ITEMS_IN_PREVIEW = 3;
// The degree to which the item in the back of the stack is scaled [0...1]
// (0 means it's not scaled at all, 1 means it's scaled to nothing)