Improving the look of holographic outlines

- The outlines are used in AllApps, Workspace and Customize

Change-Id: I1c3aba81df163c98a839498a3d421a8f03c51f06
This commit is contained in:
Adam Cohen
2010-12-03 11:39:55 -08:00
parent 4b67b44244
commit 5bb50bdb13
4 changed files with 41 additions and 47 deletions

View File

@@ -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();