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:
@@ -12,7 +12,7 @@ import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
class PreloadIconDrawable extends Drawable {
|
||||
public class PreloadIconDrawable extends Drawable {
|
||||
|
||||
private static final float ANIMATION_PROGRESS_STOPPED = -1.0f;
|
||||
private static final float ANIMATION_PROGRESS_STARTED = 0f;
|
||||
@@ -30,7 +30,7 @@ class PreloadIconDrawable extends Drawable {
|
||||
private boolean mIndicatorRectDirty;
|
||||
|
||||
private final Paint mPaint;
|
||||
final Drawable mIcon;
|
||||
public final Drawable mIcon;
|
||||
|
||||
private Drawable mBgDrawable;
|
||||
private int mRingOutset;
|
||||
|
||||
Reference in New Issue
Block a user