/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 | 127 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() 218 if (mState.mPivotX != pivotX) { in setPivotX() 219 mState.mPivotX = pivotX; in setPivotX() 230 return mState.mPivotX; in getPivotX() 331 float mPivotX = 0.5f; field in RotateDrawable.RotateState 343 mPivotX = orig.mPivotX; in RotateState()
|
D | AnimatedRotateDrawable.java | 64 final float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX; in draw() 190 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 224 float mPivotX = 0; field in AnimatedRotateDrawable.AnimatedRotateState 235 mPivotX = orig.mPivotX; in AnimatedRotateState()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RenderNode_Delegate.java | 47 private float mPivotX; field in RenderNode_Delegate 247 delegate.mPivotX = pivotX; in nSetPivotX() 259 return delegate.mPivotX; in nGetPivotX()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 818 private float mPivotX = 0; field in VectorDrawable_Delegate.VGroup_Delegate 829 mPivotX = copy.mPivotX; in VGroup_Delegate() 874 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix() 877 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix() 893 return mPivotX; in getPivotX() 897 if (pivotX != mPivotX) { in setPivotX() 898 mPivotX = pivotX; in setPivotX()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 1129 private float mPivotX = 0; field in VectorDrawableCompat.VGroup 1145 mPivotX = copy.mPivotX; in VGroup() 1212 mPivotX = a.getFloat(AndroidResources.styleable_VectorDrawableGroup_pivotX, mPivotX); in updateStateFromTypedArray() 1241 mLocalMatrix.postTranslate(-mPivotX, -mPivotY); in updateLocalMatrix() 1244 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix() 1263 return mPivotX; in getPivotX() 1268 if (pivotX != mPivotX) { in setPivotX() 1269 mPivotX = pivotX; in setPivotX()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 361 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) in setPivotX() 375 return mPrimitiveFields.mPivotX; in getPivotX() 641 float mPivotX = 0, mPivotY = 0; member
|
D | RenderProperties.cpp | 184 mPrimitiveFields.mPivotX = mPrimitiveFields.mWidth / 2.0f; in updateMatrix()
|