Home
last modified time | relevance | path

Searched refs:mPivotY (Results 1 – 9 of 9) 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.java133 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()
270 if (mState.mPivotY != pivotY) { in setPivotY()
271 mState.mPivotY = pivotY; in setPivotY()
282 return mState.mPivotY; in getPivotY()
333 float mPivotY = 0.5f; field in RotateDrawable.RotateState
345 mPivotY = orig.mPivotY; in RotateState()
DAnimatedRotateDrawable.java65 final float py = st.mPivotYRel ? (h * st.mPivotY) : st.mPivotY; in draw()
196 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
226 float mPivotY = 0; field in AnimatedRotateDrawable.AnimatedRotateState
237 mPivotY = orig.mPivotY; in AnimatedRotateState()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java48 private float mPivotY; field in RenderNode_Delegate
271 delegate.mPivotY = pivotY; in nSetPivotY()
283 return delegate.mPivotY; in nGetPivotY()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java819 private float mPivotY = 0; field in VectorDrawable_Delegate.VGroup_Delegate
830 mPivotY = copy.mPivotY; in VGroup_Delegate()
874 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix()
877 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
904 return mPivotY; in getPivotY()
908 if (pivotY != mPivotY) { in setPivotY()
909 mPivotY = pivotY; in setPivotY()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1130 private float mPivotY = 0; field in VectorDrawableCompat.VGroup
1146 mPivotY = copy.mPivotY; in VGroup()
1213 mPivotY = a.getFloat(AndroidResources.styleable_VectorDrawableGroup_pivotY, mPivotY); in updateStateFromTypedArray()
1241 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix()
1244 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
1276 return mPivotY; in getPivotY()
1281 if (pivotY != mPivotY) { in setPivotY()
1282 mPivotY = pivotY; in setPivotY()
/frameworks/base/libs/hwui/
DRenderProperties.h379 if (RP_SET(mPrimitiveFields.mPivotY, pivotY) in setPivotY()
389 return mPrimitiveFields.mPivotY; in getPivotY()
641 float mPivotX = 0, mPivotY = 0; member
DRenderProperties.cpp185 mPrimitiveFields.mPivotY = mPrimitiveFields.mHeight / 2.0f; in updateMatrix()