Home
last modified time | relevance | path

Searched refs:pivotX (Results 1 – 20 of 20) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java176 float pivotX = renderNode.getPivotX(); in getMatrix() local
182 outMatrix.preRotate(rotation, pivotX, pivotY); in getMatrix()
183 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix()
249 /*package*/ static boolean nSetPivotX(long renderNode, float pivotX) { in nSetPivotX() argument
252 delegate.mPivotX = pivotX; in nSetPivotX()
/frameworks/base/libs/hwui/
DVectorDrawable.h388 float pivotX = 0; member
401 float getPivotX() const { return mPrimitiveFields.pivotX; } in getPivotX()
402 void setPivotX(float pivotX) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(pivotX, pivotX); } in setPivotX() argument
417 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument
420 mPrimitiveFields.pivotX = pivotX; in updateProperties()
436 pivotX, enumerator
DRenderProperties.h308 bool setPivotX(float pivotX) { in setPivotX() argument
309 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotX()
DVectorDrawable.cpp349 case Property::pivotX: in getPropertyValue()
374 case Property::pivotX: in setPropertyValue()
/frameworks/base/core/java/android/view/animation/
DRotateAnimation.java104 public RotateAnimation(float fromDegrees, float toDegrees, float pivotX, float pivotY) { in RotateAnimation() argument
110 mPivotXValue = pivotX; in RotateAnimation()
DScaleAnimation.java172 float pivotX, float pivotY) { in ScaleAnimation() argument
181 mPivotXValue = pivotX; in ScaleAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java219 public void setPivotX(float pivotX) { in setPivotX() argument
220 if (mState.mPivotX != pivotX) { in setPivotX()
221 mState.mPivotX = pivotX; in setPivotX()
DVectorDrawable.java1408 float pivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, in updateStateFromTypedArray() local
1426 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY, in updateStateFromTypedArray()
1534 public void setPivotX(float pivotX) { in setPivotX() argument
1536 nSetPivotX(mNativePtr, pivotX); in setPivotX()
2331 private static native void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, in nUpdateGroupProperties() argument
2351 private static native void nSetPivotX(long groupPtr, float pivotX); in nSetPivotX() argument
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureTextAnimator.java157 int pivotX = isLeft ? -mPivotOffset : mParent.getWidth() + mPivotOffset; in createRotateFadeAnimation() local
160 pivotX, Animation.ABSOLUTE, 0f)); in createRotateFadeAnimation()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java294 static void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, in nUpdateGroupProperties() argument
299 group.setPivotX(pivotX); in nUpdateGroupProperties()
345 static void nSetPivotX(long groupPtr, float pivotX) { in nSetPivotX() argument
347 group.setPivotX(pivotX); in nSetPivotX()
911 private void setPivotX(float pivotX) { in setPivotX() argument
912 if (pivotX != mPivotX) { in setPivotX()
913 mPivotX = pivotX; in setPivotX()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp176 static void updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, in updateGroupProperties() argument
179 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties()
216 static void setPivotX(JNIEnv*, jobject, jlong groupPtr, jfloat pivotX) { in setPivotX() argument
218 group->mutateStagingProperties()->setPivotX(pivotX); in setPivotX()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java1110 public boolean setPivotX(float pivotX) { in setPivotX() argument
1111 return nSetPivotX(mNativeRenderNode, pivotX); in setPivotX()
1569 private static native boolean nSetPivotX(long renderNode, float pivotX); in nSetPivotX() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java423 boolean setScale(float scale, float pivotX, float pivotY, in setScale() argument
439 final float normPivotX = (pivotX - spec.offsetX) / oldScale; in setScale()
887 public boolean setScale(int displayId, float scale, float pivotX, float pivotY, in setScale() argument
894 return display.setScale(scale, pivotX, pivotY, animate, id); in setScale()
DMagnificationGestureHandler.java464 final float pivotX = detector.getFocusX(); in onScale() local
467 mMagnificationController.setScale(mDisplayId, scale, pivotX, pivotY, false, in onScale()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1080 final float pivotX; in createThumbnailAspectScaleAnimationLocked() local
1090 pivotX = mTmpRect.width() / 2; in createThumbnailAspectScaleAnimationLocked()
1099 pivotX = 0; in createThumbnailAspectScaleAnimationLocked()
1110 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
1155 Animation scale = new ScaleAnimation(scaleW, 1f, scaleW, 1f, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
/frameworks/base/core/java/android/view/
DView.java16520 public void setPivotX(float pivotX) { in setPivotX() argument
16521 if (!mRenderNode.isPivotExplicitlySet() || pivotX != getPivotX()) { in setPivotX()
16523 mRenderNode.setPivotX(pivotX); in setPivotX()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt932 field public static final int pivotX = 16843189; // 0x10101b5
/frameworks/base/non-updatable-api/
Dcurrent.txt1045 field public static final int pivotX = 16843189; // 0x10101b5
/frameworks/base/api/
Dcurrent.txt1045 field public static final int pivotX = 16843189; // 0x10101b5
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90659 Lcom/android/internal/R$attr;->pivotX:I