Merge "Update icon badges to match spec" into ub-launcher3-dorval

am: 0fa96ea2f6

Change-Id: Ib81cc7eb79d265a82eedaeaec4630772c8c17ecf
This commit is contained in:
Tony Wickham authored and android-build-merger committed 2017-04-25 20:12:06 +00:00
commit b842e06245
10 files changed
+177 -102

No files matched your search

+3 -2
View File
@@ -200,8 +200,6 @@ public class DeviceProfile {
res.getDimensionPixelSize(R.dimen.dynamic_grid_hotseat_height);
hotseatLandGutterPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_hotseat_land_gutter_width);
mBadgeRenderer = new BadgeRenderer(context);
// Determine sizes.
widthPx = width;
heightPx = height;
@@ -216,6 +214,9 @@ public class DeviceProfile {
// Calculate the remaining vars
updateAvailableDimensions(dm, res);
computeAllAppsButtonSize(context);
// This is done last, after iconSizePx is calculated above.
mBadgeRenderer = new BadgeRenderer(context, iconSizePx);
}
DeviceProfile getMultiWindowProfile(Context context, Point mwSize) {