Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java102 final float pivotX = (layoutDirection == View.LAYOUT_DIRECTION_RTL) in onLayout() local
106 parentLeft = getPaddingLeft() + (int)(pivotX - pivotX / mLayoutScaleX + 0.5f); in onLayout()
107 parentRight = (int)(pivotX + (right - left - pivotX) / mLayoutScaleX + 0.5f) in onLayout()
174 child.setPivotX(pivotX - childLeft); in onLayout()
/frameworks/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java178 float pivotX = renderNode.getPivotX(); in getMatrix() local
184 outMatrix.preRotate(rotation, pivotX, pivotY); in getMatrix()
185 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix()
251 /*package*/ static boolean nSetPivotX(long renderNode, float pivotX) { in nSetPivotX() argument
254 delegate.mPivotX = pivotX; in nSetPivotX()
/frameworks/base/libs/hwui/
DVectorDrawable.h413 float pivotX = 0; member
431 return mPrimitiveFields.pivotX; in getPivotX()
433 void setPivotX(float pivotX) { in setPivotX() argument
434 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(pivotX, pivotX); in setPivotX()
466 void updateProperties(float rotate, float pivotX, float pivotY, in updateProperties() argument
469 mPrimitiveFields.pivotX = pivotX; in updateProperties()
484 pivotX, enumerator
DRenderProperties.h362 bool setPivotX(float pivotX) { in setPivotX() argument
363 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) in setPivotX()
DVectorDrawable.cpp348 case Property::pivotX: in getPropertyValue()
373 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.java217 public void setPivotX(float pivotX) { in setPivotX() argument
218 if (mState.mPivotX != pivotX) { in setPivotX()
219 mState.mPivotX = pivotX; in setPivotX()
DVectorDrawable.java1305 float pivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, in updateStateFromTypedArray() local
1323 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY, in updateStateFromTypedArray()
1429 public void setPivotX(float pivotX) { in setPivotX() argument
1431 nSetPivotX(mNativePtr, pivotX); in setPivotX()
2221 private static native void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, in nUpdateGroupProperties() argument
2241 private static native void nSetPivotX(long groupPtr, float pivotX); in nSetPivotX() argument
/frameworks/base/core/java/android/view/
DRenderNode.java632 public boolean setPivotX(float pivotX) { in setPivotX() argument
633 return nSetPivotX(mNativeRenderNode, pivotX); in setPivotX()
884 private static native boolean nSetPivotX(long renderNode, float pivotX); in nSetPivotX() argument
DView.java14101 public void setPivotX(float pivotX) {
14102 if (!mRenderNode.isPivotExplicitlySet() || pivotX != getPivotX()) {
14104 mRenderNode.setPivotX(pivotX);
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java282 static void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, in nUpdateGroupProperties() argument
287 group.setPivotX(pivotX); in nUpdateGroupProperties()
333 static void nSetPivotX(long groupPtr, float pivotX) { in nSetPivotX() argument
335 group.setPivotX(pivotX); in nSetPivotX()
899 private void setPivotX(float pivotX) { in setPivotX() argument
900 if (pivotX != mPivotX) { in setPivotX()
901 mPivotX = pivotX; in setPivotX()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp171 static void updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, in updateGroupProperties() argument
174 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties()
211 static void setPivotX(JNIEnv*, jobject, jlong groupPtr, jfloat pivotX) { in setPivotX() argument
213 group->mutateStagingProperties()->setPivotX(pivotX); in setPivotX()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DAndroidResources.java37 android.R.attr.name, android.R.attr.pivotX, android.R.attr.pivotY,
DVectorDrawableCompat.java1439 public void setPivotX(float pivotX) { in setPivotX() argument
1440 if (pivotX != mPivotX) { in setPivotX()
1441 mPivotX = pivotX; in setPivotX()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java430 public boolean setScale(float scale, float pivotX, float pivotY, boolean animate, int id) { in setScale() argument
444 final float normPivotX = (pivotX - spec.offsetX) / oldScale; in setScale()
DMagnificationGestureHandler.java479 final float pivotX = detector.getFocusX(); in onScale() local
481 mMagnificationController.setScale(scale, pivotX, pivotY, false, in onScale()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java980 final float pivotX; in createThumbnailAspectScaleAnimationLocked() local
990 pivotX = mTmpRect.width() / 2; in createThumbnailAspectScaleAnimationLocked()
999 pivotX = 0; in createThumbnailAspectScaleAnimationLocked()
1010 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
1055 Animation scale = new ScaleAnimation(scaleW, 1f, scaleW, 1f, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt932 field public static final int pivotX = 16843189; // 0x10101b5
/frameworks/base/api/
Dcurrent.txt996 field public static final int pivotX = 16843189; // 0x10101b5
Dtest-current.txt996 field public static final int pivotX = 16843189; // 0x10101b5
Dsystem-current.txt1126 field public static final int pivotX = 16843189; // 0x10101b5