Class MotionKeyPosition

    • Field Detail

      • mCurveFit

        public int mCurveFit
      • mTransitionEasing

        public java.lang.String mTransitionEasing
      • mPathMotionArc

        public int mPathMotionArc
      • mDrawPath

        public int mDrawPath
      • mPercentWidth

        public float mPercentWidth
      • mPercentHeight

        public float mPercentHeight
      • mPercentX

        public float mPercentX
      • mPercentY

        public float mPercentY
      • mAltPercentX

        public float mAltPercentX
      • mAltPercentY

        public float mAltPercentY
      • mPositionType

        public int mPositionType
    • Constructor Detail

      • MotionKeyPosition

        public MotionKeyPosition()
    • Method Detail

      • positionAttributes

        public void positionAttributes​(MotionWidget view,
                                       FloatRect start,
                                       FloatRect end,
                                       float x,
                                       float y,
                                       java.lang.String[] attribute,
                                       float[] value)
      • intersects

        public boolean intersects​(int layoutWidth,
                                  int layoutHeight,
                                  FloatRect start,
                                  FloatRect end,
                                  float x,
                                  float y)
      • getAttributeNames

        public void getAttributeNames​(java.util.HashSet<java.lang.String> attributes)
        Specified by:
        getAttributeNames in class MotionKey
      • addValues

        public void addValues​(java.util.HashMap<java.lang.String,​SplineSet> splines)
        Description copied from class: MotionKey
        Defines method to add a a view to splines derived form this key frame. The values are written to the spline
        Specified by:
        addValues in class MotionKey
        Parameters:
        splines - splines to write values to
      • setValue

        public boolean setValue​(int type,
                                int value)
        Description copied from interface: TypedValues
        Used to set integer values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • setValue

        public boolean setValue​(int type,
                                float value)
        Description copied from interface: TypedValues
        Used to set float values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • setValue

        public boolean setValue​(int type,
                                java.lang.String value)
        Description copied from interface: TypedValues
        Used to set String values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • getId

        public int getId​(java.lang.String name)