Class SubclassableAdditiveViewAnimator<T extends SubclassableAdditiveViewAnimator>

    • Field Detail

      • mSkipRequestLayout

        protected boolean mSkipRequestLayout
      • mWithLayer

        protected boolean mWithLayer
    • Constructor Detail

      • SubclassableAdditiveViewAnimator

        public SubclassableAdditiveViewAnimator()
    • Method Detail

      • getTargetPropertyValue

        public static float getTargetPropertyValue​(Property<View,​Float> property,
                                                   View v)
        The distinction between this and BaseAdditiveAnimator.getQueuedPropertyValue(String) is important when chaining animations: When an animation has been then-chained, it is not counted as started, but queued until start() is called.
        Returns:
        The value of the last started animation target for this property.
      • getTargetPropertyValue

        public static Float getTargetPropertyValue​(String propertyName,
                                                   View v)
        The distinction between this and BaseAdditiveAnimator.getQueuedPropertyValue(String) is important when chaining animations: When an animation has been then-chained, it is not counted as started, but queued until start() is called.
        Returns:
        The value of the last started animation target for this property.
      • getQueuedPropertyValue

        protected static Float getQueuedPropertyValue​(String propertyName,
                                                      View v)
        The distinction between this and getTargetPropertyValue(String, View) (String)} is important when chaining animations: When an animation has been then-chained, it is not counted as started, but queued until start() is called.
        Returns:
        The last queued animation target for this property during then()-building, even before the animation has been started.
      • skipRequestLayout

        @Deprecated
        public T skipRequestLayout()
        Deprecated.
        Turns off requesting layout after each frame. Since this is the default value, you should never have to call this method.
      • requestLayout

        public T requestLayout()
        Manually turns on requesting layout after each frame. Calling this method is only necessary if you are animating layout properties via custom builder methods.
      • withLayer

        public T withLayer()
        Activates hardware layers. This property will be applied to all subsequent target views and child animators (created by `then...()` methods) as well. Note that
      • withoutLayer

        public T withoutLayer()
        Deactivates hardware layers for the current view and all subsequently added ones.
      • fadeVisibility

        public T fadeVisibility​(int visibility)
      • backgroundColor

        public T backgroundColor​(int color)
      • scaleX

        public T scaleX​(float scaleX)
      • scaleXBy

        public T scaleXBy​(float scaleXBy)
      • scaleY

        public T scaleY​(float scaleY)
      • scaleYBy

        public T scaleYBy​(float scaleYBy)
      • scale

        public T scale​(float scale)
      • scaleBy

        public T scaleBy​(float scalesBy)
      • translationX

        public T translationX​(float translationX)
      • translationXBy

        public T translationXBy​(float translationXBy)
      • translationY

        public T translationY​(float translationY)
      • translationYBy

        public T translationYBy​(float translationYBy)
      • translationZ

        public T translationZ​(float translationZ)
      • translationZBy

        public T translationZBy​(float translationZBy)
      • alpha

        public T alpha​(float alpha)
      • alphaBy

        public T alphaBy​(float alphaBy)
      • rotation

        public T rotation​(float rotation)
      • rotationBy

        public T rotationBy​(float rotationBy)
      • rotationX

        public T rotationX​(float rotationX)
      • rotationXBy

        public T rotationXBy​(float rotationXBy)
      • rotationY

        public T rotationY​(float rotationY)
      • rotationYBy

        public T rotationYBy​(float rotationYBy)
      • x

        public T x​(float x)
      • xBy

        public T xBy​(float xBy)
      • centerX

        public T centerX​(float centerX)
      • y

        public T y​(float y)
      • yBy

        public T yBy​(float yBy)
      • centerY

        public T centerY​(float centerY)
      • z

        public T z​(float z)
      • zBy

        public T zBy​(float zBy)
      • xyAlongPath

        public T xyAlongPath​(Path path)
      • translationXYAlongPath

        public T translationXYAlongPath​(Path path)
      • xyRotationAlongPath

        public T xyRotationAlongPath​(Path path)
      • translationXYRotationAlongPath

        public T translationXYRotationAlongPath​(Path path)
      • leftMargin

        public T leftMargin​(int leftMargin)
      • leftMarginBy

        public T leftMarginBy​(int leftMarginBy)
      • topMargin

        public T topMargin​(int topMargin)
      • topMarginBy

        public T topMarginBy​(int topMarginBy)
      • rightMargin

        public T rightMargin​(int rightMargin)
      • rightMarginBy

        public T rightMarginBy​(int rightMarginBy)
      • bottomMargin

        public T bottomMargin​(int bottomMargin)
      • bottomMarginBy

        public T bottomMarginBy​(int bottomMarginBy)
      • horizontalMargin

        public T horizontalMargin​(int horizontalMargin)
      • horizontalMarginBy

        public T horizontalMarginBy​(int horizontalMarginBy)
      • verticalMargin

        public T verticalMargin​(int verticalMargin)
      • verticalMarginBy

        public T verticalMarginBy​(int verticalMarginBy)
      • margin

        public T margin​(int margin)
      • marginBy

        public T marginBy​(int marginBy)
      • topLeftMarginAlongPath

        public T topLeftMarginAlongPath​(Path path)
      • topRightMarginAlongPath

        public T topRightMarginAlongPath​(Path path)
      • bottomRightMarginAlongPath

        public T bottomRightMarginAlongPath​(Path path)
      • bottomLeftMarginAlongPath

        public T bottomLeftMarginAlongPath​(Path path)
      • width

        public T width​(int width)
      • widthBy

        public T widthBy​(int widthBy)
      • height

        public T height​(int height)
      • heightBy

        public T heightBy​(int heightBy)
      • size

        public T size​(int size)
      • sizeBy

        public T sizeBy​(int sizeBy)
      • leftPadding

        public T leftPadding​(int leftPadding)
      • leftPaddingBy

        public T leftPaddingBy​(int leftPaddingBy)
      • topPadding

        public T topPadding​(int topPadding)
      • topPaddingBy

        public T topPaddingBy​(int topPaddingBy)
      • rightPadding

        public T rightPadding​(int rightPadding)
      • rightPaddingBy

        public T rightPaddingBy​(int rightPaddingBy)
      • bottomPadding

        public T bottomPadding​(int bottomPadding)
      • bottomPaddingBy

        public T bottomPaddingBy​(int bottomPaddingBy)
      • horizontalPadding

        public T horizontalPadding​(int horizontalPadding)
      • horizontalPaddingBy

        public T horizontalPaddingBy​(int horizontalPaddingBy)
      • verticalPadding

        public T verticalPadding​(int verticalPadding)
      • verticalPaddingBy

        public T verticalPaddingBy​(int verticalPaddingBy)
      • padding

        public T padding​(int padding)
      • paddingBy

        public T paddingBy​(int paddingBy)
      • scrollX

        public T scrollX​(int scrollX)
      • scrollXBy

        public T scrollXBy​(int scrollXBy)
      • scrollY

        public T scrollY​(int scrollY)
      • scrollYBy

        public T scrollYBy​(int scrollYBy)
      • scroll

        public T scroll​(int x,
                        int y)
      • scrollBy

        public T scrollBy​(int xBy,
                          int yBy)
      • elevation

        public T elevation​(int elevation)
      • elevationBy

        public T elevationBy​(int elevationBy)