Searched refs:mPivotX (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/animation/ |
D | RotateAnimation.java | 39 private float mPivotX; field in RotateAnimation 85 mPivotX = 0.0f; in RotateAnimation() 158 mPivotX = mPivotXValue; in initializePivotPoint() 170 if (mPivotX == 0.0f && mPivotY == 0.0f) { in applyTransformation() 173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale); in applyTransformation() 180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth); in initialize()
|
D | ScaleAnimation.java | 53 private float mPivotX; field in ScaleAnimation 151 mPivotX = 0; in ScaleAnimation() 233 mPivotX = mPivotXValue; in initializePivotPoint() 253 if (mPivotX == 0 && mPivotY == 0) { in applyTransformation() 256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation() 286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth); in initialize()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RotateDrawable.java | 98 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 150 final float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX; in draw() 216 if (mState.mPivotX != pivotX) { in setPivotX() 217 mState.mPivotX = pivotX; in setPivotX() 228 return mState.mPivotX; in getPivotX() 325 float mPivotX = 0.5f; field in RotateDrawable.RotateState 337 mPivotX = orig.mPivotX; in RotateState()
|
D | AnimatedRotateDrawable.java | 64 final float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX; in draw() 158 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 216 float mPivotX = 0; field in AnimatedRotateDrawable.AnimatedRotateState 227 mPivotX = orig.mPivotX; in AnimatedRotateState()
|
D | VectorDrawable.java | 1195 private float mPivotX = 0; field in VectorDrawable.VGroup 1211 mPivotX = copy.mPivotX; in VGroup() 1275 mPivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, mPivotX); in updateStateFromTypedArray() 1308 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix() 1311 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix() 1330 return mPivotX; in getPivotX() 1335 if (pivotX != mPivotX) { in setPivotX() 1336 mPivotX = pivotX; in setPivotX()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 955 private float mPivotX = 0; field in VectorDrawableCompat.VGroup 971 mPivotX = copy.mPivotX; in VGroup() 1035 mPivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, mPivotX); in updateStateFromTypedArray() 1054 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix() 1057 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix() 1076 return mPivotX; in getPivotX() 1081 if (pivotX != mPivotX) { in setPivotX() 1082 mPivotX = pivotX; in setPivotX()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 85 , mPivotX(0), mPivotY(0) in PrimitiveFields() 189 mPrimitiveFields.mPivotX = mPrimitiveFields.mWidth / 2.0f; in updateMatrix()
|
D | RenderProperties.h | 360 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) in setPivotX() 374 return mPrimitiveFields.mPivotX; in getPivotX() 637 float mPivotX, mPivotY; member
|