Home
last modified time | relevance | path

Searched refs:mPivotY (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/animation/
DRotateAnimation.java40 private float mPivotY; field in RotateAnimation
86 mPivotY = 0.0f; in RotateAnimation()
161 mPivotY = mPivotYValue; in initializePivotPoint()
170 if (mPivotX == 0.0f && mPivotY == 0.0f) { in applyTransformation()
173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale); in applyTransformation()
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight); in initialize()
DScaleAnimation.java54 private float mPivotY; field in ScaleAnimation
152 mPivotY = 0; in ScaleAnimation()
236 mPivotY = mPivotYValue; in initializePivotPoint()
253 if (mPivotX == 0 && mPivotY == 0) { in applyTransformation()
256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation()
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight); in initialize()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java104 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
151 final float py = st.mPivotYRel ? (h * st.mPivotY) : st.mPivotY; in draw()
266 if (mState.mPivotY != pivotY) { in setPivotY()
267 mState.mPivotY = pivotY; in setPivotY()
278 return mState.mPivotY; in getPivotY()
327 float mPivotY = 0.5f; field in RotateDrawable.RotateState
339 mPivotY = orig.mPivotY; in RotateState()
DAnimatedRotateDrawable.java65 final float py = st.mPivotYRel ? (h * st.mPivotY) : st.mPivotY; in draw()
164 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
218 float mPivotY = 0; field in AnimatedRotateDrawable.AnimatedRotateState
229 mPivotY = orig.mPivotY; in AnimatedRotateState()
DVectorDrawable.java1196 private float mPivotY = 0; field in VectorDrawable.VGroup
1212 mPivotY = copy.mPivotY; in VGroup()
1276 mPivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, mPivotY); in updateStateFromTypedArray()
1308 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix()
1311 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
1343 return mPivotY; in getPivotY()
1348 if (pivotY != mPivotY) { in setPivotY()
1349 mPivotY = pivotY; in setPivotY()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java956 private float mPivotY = 0; field in VectorDrawableCompat.VGroup
972 mPivotY = copy.mPivotY; in VGroup()
1036 mPivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, mPivotY); in updateStateFromTypedArray()
1054 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix()
1057 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
1089 return mPivotY; in getPivotY()
1094 if (pivotY != mPivotY) { in setPivotY()
1095 mPivotY = pivotY; in setPivotY()
/frameworks/base/libs/hwui/
DRenderProperties.cpp85 , mPivotX(0), mPivotY(0) in PrimitiveFields()
190 mPrimitiveFields.mPivotY = mPrimitiveFields.mHeight / 2.0f; in updateMatrix()
DRenderProperties.h378 if (RP_SET(mPrimitiveFields.mPivotY, pivotY) in setPivotY()
388 return mPrimitiveFields.mPivotY; in getPivotY()
637 float mPivotX, mPivotY; member