Merge "Update ExtendAnimation attributes docs" into tm-dev am: f1da716a88

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16933670

Change-Id: Ib6c662b5236db98b1ecc30acc4fae331796649f2
This commit is contained in:
Pablo Gamito
2022-02-21 18:04:06 +00:00
committed by Automerger Merge Worker

View File

@@ -7013,30 +7013,42 @@
<!-- Defines the ExtendAnimation used to extend windows during animations -->
<declare-styleable name="ExtendAnimation">
<!-- Defines the amount a window should be extended outward from the left at
the start of the animation. -->
<attr name="fromExtendLeft" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the top at
the start of the animation. -->
<attr name="fromExtendTop" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the right at
the start of the animation. -->
<attr name="fromExtendRight" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the bottom at
the start of the animation. -->
<attr name="fromExtendBottom" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the left by
the end of the animation by transitioning from the fromExtendLeft amount. -->
<attr name="toExtendLeft" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the top by
the end of the animation by transitioning from the fromExtendTop amount. -->
<attr name="toExtendTop" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the right by
the end of the animation by transitioning from the fromExtendRight amount. -->
<attr name="toExtendRight" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the bottom by
the end of the animation by transitioning from the fromExtendBottom amount. -->
<attr name="toExtendBottom" format="float|fraction" />
<!-- Defines the amount a window should be extended outward from the left at the start of
the animation 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="fromExtendLeft" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the top at the start of
the animation 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="fromExtendTop" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the right at the start of
the animation 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="fromExtendRight" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the bottom at the start of
the animation 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="fromExtendBottom" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the left by the end of the
animation by transitioning from the fromExtendLeft 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="toExtendLeft" format="float|fraction|dimension" />
<!-- Defines the amount a window should be extended outward from the top by the end of the
animation by transitioning from the fromExtendTop 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="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 name="LayoutAnimation">