Merge "Update ExtendAnimation attributes docs" into tm-dev

This commit is contained in:
Pablo Gamito
2022-02-21 16:34:48 +00:00
committed by Android (Google) Code Review

View File

@@ -7013,30 +7013,42 @@
<!-- Defines the ExtendAnimation used to extend windows during animations --> <!-- Defines the ExtendAnimation used to extend windows during animations -->
<declare-styleable name="ExtendAnimation"> <declare-styleable name="ExtendAnimation">
<!-- Defines the amount a window should be extended outward from the left at <!-- Defines the amount a window should be extended outward from the left at the start of
the start of the animation. --> the animation in an absolute dimension (interpreted as pixels if no dimension unit is
<attr name="fromExtendLeft" format="float|fraction" /> provided) or as a percentage of the animation target's width. -->
<!-- Defines the amount a window should be extended outward from the top at <attr name="fromExtendLeft" format="float|fraction|dimension" />
the start of the animation. --> <!-- Defines the amount a window should be extended outward from the top at the start of
<attr name="fromExtendTop" format="float|fraction" /> the animation in an absolute dimension (interpreted as pixels if no dimension unit is
<!-- Defines the amount a window should be extended outward from the right at provided) or as a percentage of the animation target's height. -->
the start of the animation. --> <attr name="fromExtendTop" format="float|fraction|dimension" />
<attr name="fromExtendRight" format="float|fraction" /> <!-- Defines the amount a window should be extended outward from the right at the start of
<!-- Defines the amount a window should be extended outward from the bottom at the animation in an absolute dimension (interpreted as pixels if no dimension unit is
the start of the animation. --> provided) or as a percentage of the animation target's width. -->
<attr name="fromExtendBottom" format="float|fraction" /> <attr name="fromExtendRight" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the left by <!-- Defines the amount a window should be extended outward from the bottom at the start of
the end of the animation by transitioning from the fromExtendLeft amount. --> the animation in an absolute dimension (interpreted as pixels if no dimension unit is
<attr name="toExtendLeft" format="float|fraction" /> provided) or as a percentage of the animation target's height. -->
<!-- Defines the amount a window should be extended outward from the top by <attr name="fromExtendBottom" format="float|fraction|dimension" />
the end of the animation by transitioning from the fromExtendTop amount. --> <!-- Defines the amount a window should be extended outward from the left by the end of the
<attr name="toExtendTop" format="float|fraction" /> animation by transitioning from the fromExtendLeft amount in an absolute dimension
<!-- Defines the amount a window should be extended outward from the right by (interpreted as pixels if no dimension unit is provided) or as a percentage of the
the end of the animation by transitioning from the fromExtendRight amount. --> animation target's width. -->
<attr name="toExtendRight" format="float|fraction" /> <attr name="toExtendLeft" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the bottom by <!-- Defines the amount a window should be extended outward from the top by the end of the
the end of the animation by transitioning from the fromExtendBottom amount. --> animation by transitioning from the fromExtendTop amount in an absolute dimension
<attr name="toExtendBottom" format="float|fraction" /> (interpreted as pixels if no dimension unit is provided) or as a percentage of the
animation target's height. -->
<attr name="toExtendTop" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the right by the end of
the animation by transitioning from the fromExtendRight amount in an absolute
dimension (interpreted as pixels if no dimension unit is provided) or as a percentage
of the animation target's width. -->
<attr name="toExtendRight" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the bottom by the end of
the animation by transitioning from the fromExtendBottom amount in an absolute
dimension (interpreted as pixels if no dimension unit is provided) or as a percentage
of the animation target's height. -->
<attr name="toExtendBottom" format="float|fraction|dimension" />
</declare-styleable> </declare-styleable>
<declare-styleable name="LayoutAnimation"> <declare-styleable name="LayoutAnimation">