Loading core/java/android/content/om/FabricatedOverlay.java +7 −3 Original line number Diff line number Diff line Loading @@ -614,7 +614,7 @@ public class FabricatedOverlay { /** * Sets the resource value in the fabricated overlay for the dimension type with the * configuration. * given configuration. * * <p>This can be used to overlay dimension resources of the following formats. * <pre> Loading @@ -625,6 +625,8 @@ public class FabricatedOverlay { * <dimen name="foo">10in</dimen> * <dimen name="foo">10pt</dimen> * </pre> * For overlaying unitless dimension resources, use * {@link #setResourceValue(String, float, String)} instead. * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) Loading @@ -645,12 +647,14 @@ public class FabricatedOverlay { /** * Sets the resource value in the fabricated overlay for the float type with the * configuration. * given configuration. * * <p>This can be used to overlay float resources of the following format. * <p>This can be used to overlay unitless float resources of the following format. * <pre> * <item name="foo" format="float" type="dimen">0.015</item> * </pre> * For overlaying dimension resources with units, use * {@link #setResourceValue(String, float, int, String)} instead. * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) Loading Loading
core/java/android/content/om/FabricatedOverlay.java +7 −3 Original line number Diff line number Diff line Loading @@ -614,7 +614,7 @@ public class FabricatedOverlay { /** * Sets the resource value in the fabricated overlay for the dimension type with the * configuration. * given configuration. * * <p>This can be used to overlay dimension resources of the following formats. * <pre> Loading @@ -625,6 +625,8 @@ public class FabricatedOverlay { * <dimen name="foo">10in</dimen> * <dimen name="foo">10pt</dimen> * </pre> * For overlaying unitless dimension resources, use * {@link #setResourceValue(String, float, String)} instead. * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) Loading @@ -645,12 +647,14 @@ public class FabricatedOverlay { /** * Sets the resource value in the fabricated overlay for the float type with the * configuration. * given configuration. * * <p>This can be used to overlay float resources of the following format. * <p>This can be used to overlay unitless float resources of the following format. * <pre> * <item name="foo" format="float" type="dimen">0.015</item> * </pre> * For overlaying dimension resources with units, use * {@link #setResourceValue(String, float, int, String)} instead. * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) Loading