mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Improving the look of holographic outlines
- The outlines are used in AllApps, Workspace and Customize Change-Id: I1c3aba81df163c98a839498a3d421a8f03c51f06
This commit is contained in:
@@ -81,7 +81,7 @@ public class PagedViewIcon extends CacheableTextView implements Checkable {
|
||||
Canvas holographicOutlineCanvas = new Canvas(holographicOutline);
|
||||
holographicOutlineCanvas.drawBitmap(icon.mIcon, 0, 0, mPaint);
|
||||
|
||||
sHolographicOutlineHelper.applyExpensiveOutlineWithBlur(holographicOutline,
|
||||
sHolographicOutlineHelper.applyThickExpensiveOutlineWithBlur(holographicOutline,
|
||||
holographicOutlineCanvas, icon.mHoloBlurColor, icon.mHoloOutlineColor);
|
||||
|
||||
mHandler.post(new Runnable() {
|
||||
@@ -235,7 +235,7 @@ public class PagedViewIcon extends CacheableTextView implements Checkable {
|
||||
mPaint.setAlpha(255);
|
||||
checkedOutlineCanvas.drawBitmap(mIcon, 0, 0, mPaint);
|
||||
|
||||
sHolographicOutlineHelper.applyExpensiveOutlineWithBlur(mCheckedOutline,
|
||||
sHolographicOutlineHelper.applyThickExpensiveOutlineWithBlur(mCheckedOutline,
|
||||
checkedOutlineCanvas, mCheckedBlurColor, mCheckedOutlineColor);
|
||||
} else {
|
||||
invalidateCheckedImage();
|
||||
|
||||
Reference in New Issue
Block a user