Loading iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java +5 −2 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ public class DotRenderer { mCirclePaint.setColor(Color.BLACK); canvas.drawBitmap(mBackgroundWithShadow, mBitmapOffset, mBitmapOffset, mCirclePaint); mCirclePaint.setColor(params.color); mCirclePaint.setColor(params.dotColor); canvas.drawCircle(0, 0, mCircleRadius, mCirclePaint); canvas.restore(); } Loading @@ -133,7 +133,10 @@ public class DotRenderer { public static class DrawParams { /** The color (possibly based on the icon) to use for the dot. */ @ViewDebug.ExportedProperty(category = "notification dot", formatToHexString = true) public int color; public int dotColor; /** The color (possibly based on the icon) to use for a predicted app. */ @ViewDebug.ExportedProperty(category = "notification dot", formatToHexString = true) public int appColor; /** The bounds of the icon that the dot is drawn on top of. */ @ViewDebug.ExportedProperty(category = "notification dot") public Rect iconBounds = new Rect(); Loading Loading
iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java +5 −2 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ public class DotRenderer { mCirclePaint.setColor(Color.BLACK); canvas.drawBitmap(mBackgroundWithShadow, mBitmapOffset, mBitmapOffset, mCirclePaint); mCirclePaint.setColor(params.color); mCirclePaint.setColor(params.dotColor); canvas.drawCircle(0, 0, mCircleRadius, mCirclePaint); canvas.restore(); } Loading @@ -133,7 +133,10 @@ public class DotRenderer { public static class DrawParams { /** The color (possibly based on the icon) to use for the dot. */ @ViewDebug.ExportedProperty(category = "notification dot", formatToHexString = true) public int color; public int dotColor; /** The color (possibly based on the icon) to use for a predicted app. */ @ViewDebug.ExportedProperty(category = "notification dot", formatToHexString = true) public int appColor; /** The bounds of the icon that the dot is drawn on top of. */ @ViewDebug.ExportedProperty(category = "notification dot") public Rect iconBounds = new Rect(); Loading