Fixing icon shape not properly clipped
> Using ShapeDelegate for icon clipping > Creating ShapeDelegate based on the current icon shape > Defining different shape delegates for icon and folder > Updating preview rendering to use dagger graph > Adding tests for all icon shapes Bug: 392145015 Test: atest IconShapesProviderTest Flag: com.android.launcher3.enable_launcher_icon_shapes Change-Id: Ic9f287e2a6fef2aad18ba224404de58a64da0bb3
This commit is contained in:
1 parent
1809cb6ff3
commit
4c261f7343
17 files changed
+271
-131
No files matched your search
@@ -873,7 +873,7 @@ public class DeviceProfile {
|
||||
if (renderer == null) {
|
||||
renderer = new DotRenderer(
|
||||
size,
|
||||
IconShape.INSTANCE.get(context).getShapeOverridePath(DEFAULT_DOT_SIZE),
|
||||
IconShape.INSTANCE.get(context).getShape().getPath(DEFAULT_DOT_SIZE),
|
||||
DEFAULT_DOT_SIZE);
|
||||
cache.put(size, renderer);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user