mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Folder polish
- Update folder hint text to ensure enough contrast. - Clamp down on alpha when animating to local color extraction - Update colors to new spec. Bug: 179209484 Bug: 175329686 Test: manual Change-Id: I9471504e10f02630ae13b2c478ced1ee05bd5220
This commit is contained in:
committed by
Jonathan Miranda
parent
3ed7ee76c4
commit
e3104682fb
@@ -39,7 +39,6 @@ import com.android.launcher3.anim.PendingAnimation;
|
||||
import com.android.launcher3.util.TouchController;
|
||||
import com.android.launcher3.views.ActivityContext;
|
||||
import com.android.launcher3.views.BaseDragLayer;
|
||||
import com.android.launcher3.widget.LocalColorExtractor;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
@@ -112,21 +111,12 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
|
||||
protected boolean mIsOpen;
|
||||
|
||||
// Index used to get background color when using local wallpaper color extraction.
|
||||
protected int mColorExtractionIndex;
|
||||
|
||||
public AbstractFloatingView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
init(context);
|
||||
}
|
||||
|
||||
public AbstractFloatingView(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
init(context);
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
mColorExtractionIndex = LocalColorExtractor.getColorIndex(context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user