Loading core/java/android/content/om/FabricatedOverlay.java +15 −0 Original line number Diff line number Diff line Loading @@ -616,6 +616,16 @@ public class FabricatedOverlay { * Sets the resource value in the fabricated overlay for the dimension type with the * configuration. * * <p>This can be used to overlay dimension resources of the following formats. * <pre> * <dimen name="foo">10dp</dimen> * <dimen name="foo">10sp</dimen> * <dimen name="foo">10px</dimen> * <dimen name="foo">10mm</dimen> * <dimen name="foo">10in</dimen> * <dimen name="foo">10pt</dimen> * </pre> * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) * @param dimensionValue the float representing the dimension value Loading @@ -637,6 +647,11 @@ public class FabricatedOverlay { * Sets the resource value in the fabricated overlay for the float type with the * configuration. * * <p>This can be used to overlay float resources of the following format. * <pre> * <item name="foo" format="float" type="dimen">0.015</item> * </pre> * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) * @param value the float representing the new value Loading Loading
core/java/android/content/om/FabricatedOverlay.java +15 −0 Original line number Diff line number Diff line Loading @@ -616,6 +616,16 @@ public class FabricatedOverlay { * Sets the resource value in the fabricated overlay for the dimension type with the * configuration. * * <p>This can be used to overlay dimension resources of the following formats. * <pre> * <dimen name="foo">10dp</dimen> * <dimen name="foo">10sp</dimen> * <dimen name="foo">10px</dimen> * <dimen name="foo">10mm</dimen> * <dimen name="foo">10in</dimen> * <dimen name="foo">10pt</dimen> * </pre> * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) * @param dimensionValue the float representing the dimension value Loading @@ -637,6 +647,11 @@ public class FabricatedOverlay { * Sets the resource value in the fabricated overlay for the float type with the * configuration. * * <p>This can be used to overlay float resources of the following format. * <pre> * <item name="foo" format="float" type="dimen">0.015</item> * </pre> * * @param resourceName name of the target resource to overlay (in the form * [package]:type/entry) * @param value the float representing the new value Loading