Loading src/com/android/launcher3/InvariantDeviceProfile.java +3 −2 Original line number Diff line number Diff line Loading @@ -432,8 +432,9 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener for (WindowBounds bounds : displayInfo.supportedBounds) { boolean isTablet = displayInfo.isTablet(bounds); if (isTablet) { iconSize[INDEX_DEFAULT] *= 1.6f; iconSize[INDEX_LANDSCAPE] *= 1.6f; Configuration config = new Configuration(context.getResources().getConfiguration()); iconSize[INDEX_DEFAULT] *= config.smallestScreenWidthDp < 660 ? 1.15f : 1.4f; iconSize[INDEX_LANDSCAPE] *= config.smallestScreenWidthDp < 660 ? 1.15f : 1.4f; break; } } Loading Loading
src/com/android/launcher3/InvariantDeviceProfile.java +3 −2 Original line number Diff line number Diff line Loading @@ -432,8 +432,9 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener for (WindowBounds bounds : displayInfo.supportedBounds) { boolean isTablet = displayInfo.isTablet(bounds); if (isTablet) { iconSize[INDEX_DEFAULT] *= 1.6f; iconSize[INDEX_LANDSCAPE] *= 1.6f; Configuration config = new Configuration(context.getResources().getConfiguration()); iconSize[INDEX_DEFAULT] *= config.smallestScreenWidthDp < 660 ? 1.15f : 1.4f; iconSize[INDEX_LANDSCAPE] *= config.smallestScreenWidthDp < 660 ? 1.15f : 1.4f; break; } } Loading