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 committed 2010-12-03 15:46:56 -08:00
1 parent 4b67b44244
commit 5bb50bdb13
4 files changed
+41 -47

No files matched your search

+2 -2
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();