mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Move inner classes out of FolderIcon.
The goal is to eventually move all of the PreviewBackground and Preview Item drawing out of the FolderIcon class. Bug: 36022592 Change-Id: Ie0552bb4ca8a7e232c1c454a23558940e9394a14
This commit is contained in:
@@ -71,8 +71,7 @@ public class FolderAnimationManager {
|
||||
private final TimeInterpolator mFolderInterpolator;
|
||||
private final TimeInterpolator mLargeFolderPreviewItemInterpolator;
|
||||
|
||||
private final FolderIcon.PreviewItemDrawingParams mTmpParams =
|
||||
new FolderIcon.PreviewItemDrawingParams(0, 0, 0, 0);
|
||||
private final PreviewItemDrawingParams mTmpParams = new PreviewItemDrawingParams(0, 0, 0, 0);
|
||||
|
||||
private static final Property<View, Float> SCALE_PROPERTY =
|
||||
new Property<View, Float>(Float.class, "scale") {
|
||||
@@ -344,12 +343,6 @@ public class FolderAnimationManager {
|
||||
: ObjectAnimator.ofFloat(view, property, v2, v1);
|
||||
}
|
||||
|
||||
private Animator getAnimator(List<BubbleTextView> items, Property property, int v1, int v2) {
|
||||
return mIsOpening
|
||||
? ObjectAnimator.ofArgb(items, property, v1, v2)
|
||||
: ObjectAnimator.ofArgb(items, property, v2, v1);
|
||||
}
|
||||
|
||||
private Animator getAnimator(GradientDrawable drawable, String property, int v1, int v2) {
|
||||
return mIsOpening
|
||||
? ObjectAnimator.ofArgb(drawable, property, v1, v2)
|
||||
|
||||
Reference in New Issue
Block a user