Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DMatrixRotate.java27 float pivotX,
30 return new MatrixRotate(rotate, pivotX, pivotY);
34 public MatrixRotate(float rotate, float pivotX, float pivotY) { in MatrixRotate() argument
35 super(rotate, pivotX, pivotY); in MatrixRotate()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DBackTransformation.kt39 val pivotX = in applyTo() constant
49 view.pivotX = pivotX in applyTo()
/frameworks/base/libs/hwui/
DVectorDrawable.h389 float pivotX = 0; member
402 float getPivotX() const { return mPrimitiveFields.pivotX; } in getPivotX()
403 void setPivotX(float pivotX) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(pivotX, pivotX); } in setPivotX() argument
418 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument
421 mPrimitiveFields.pivotX = pivotX; in updateProperties()
437 pivotX, enumerator
DRenderProperties.h325 bool setPivotX(float pivotX) { in setPivotX() argument
326 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotX()
DVectorDrawable.cpp351 case Property::pivotX: in getPropertyValue()
376 case Property::pivotX: in setPropertyValue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DAnimatableScaleMatrix.java112 public void setPivotX(float pivotX) { in setPivotX() argument
113 mPivotX = pivotX; in setPivotX()
/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.java1405 float pivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, in updateStateFromTypedArray() local
1423 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY, in updateStateFromTypedArray()
1531 public void setPivotX(float pivotX) { in setPivotX() argument
1533 nSetPivotX(mNativePtr, pivotX); in setPivotX()
2320 private static native void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, in nUpdateGroupProperties() argument
2340 private static native void nSetPivotX(long groupPtr, float pivotX); in nSetPivotX() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DHandleMenuAnimator.kt142 handleMenu.pivotX = menuWidth / 2f in prepareMenuForAnimation()
145 windowingPill.pivotX = menuWidth / 2f in prepareMenuForAnimation()
148 moreActionsPill.pivotX = menuWidth / 2f in prepareMenuForAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java393 float pivotX = mClipboardPreview.getWidth() / 2f + mClipboardPreview.getX(); in getEnterAnimation()
394 mActionContainerBackground.setPivotX(pivotX - mActionContainerBackground.getX()); in getEnterAnimation()
395 mActionContainer.setPivotX(pivotX - ((View) mActionContainer.getParent()).getX()); in getEnterAnimation()
468 float pivotX = mClipboardPreview.getWidth() / 2f + mClipboardPreview.getX(); in getExitAnimation()
469 mActionContainerBackground.setPivotX(pivotX - mActionContainerBackground.getX()); in getExitAnimation()
470 mActionContainer.setPivotX(pivotX - ((View) mActionContainer.getParent()).getX()); in getExitAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleEducationViewController.kt112 it.pivotX = it.width - arrowToEdgeOffset in showStackEducation()
153 doOnLayout { it.pivotX = it.width / 2f } in showManageEducation()
DBubbleBarAnimationHelper.java241 float pivotX = mPositioner.isBubbleBarOnLeft() ? availableRect.left : availableRect.right; in setScaleFromBubbleBar() local
243 matrix.setScale(scale, scale, pivotX, pivotY); in setScaleFromBubbleBar()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp175 static void updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, in updateGroupProperties() argument
178 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties()
215 static void setPivotX(JNIEnv*, jobject, jlong groupPtr, jfloat pivotX) { in setPivotX() argument
217 group->mutateStagingProperties()->setPivotX(pivotX); in setPivotX()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DPaintContext.java156 public abstract void matrixRotate(float rotate, float pivotX, float pivotY); in matrixRotate() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/
DSideFpsProgressBar.kt94 progressBar?.pivotX = 0.0f in createAndShowOverlay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackTransformationTest.kt86 verify(targetView).pivotX = TARGET_VIEW_WIDTH / 2f in applyTo_targetView_scale_pivot()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt584 pivotX: Float = left + width() / 2, in scaleCentered()
587 offset(-pivotX, -pivotY) // move pivot to origin in scaleCentered()
589 offset(pivotX, pivotY) // Move back to the original position in scaleCentered()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java572 public void matrixRotate(float rotate, float pivotX, float pivotY) { in matrixRotate() argument
573 if (Float.isNaN(pivotX)) { in matrixRotate()
576 mCanvas.rotate(rotate, pivotX, pivotY); in matrixRotate()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java1286 public boolean setPivotX(float pivotX) { in setPivotX() argument
1287 return nSetPivotX(mNativeRenderNode, pivotX); in setPivotX()
1772 private static native boolean nSetPivotX(long renderNode, float pivotX); in nSetPivotX() argument
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java874 final float pivotX; in createThumbnailAspectScaleAnimationLocked() local
884 pivotX = mTmpRect.width() / 2; in createThumbnailAspectScaleAnimationLocked()
887 pivotX = 0; in createThumbnailAspectScaleAnimationLocked()
896 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
935 Animation scale = new ScaleAnimation(scaleW, 1f, scaleW, 1f, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java655 boolean setScale(float scale, float pivotX, float pivotY, in setScale() argument
671 final float normPivotX = (pivotX - spec.offsetX) / oldScale; in setScale()
1471 public boolean setScale(int displayId, float scale, float pivotX, float pivotY, in setScale() argument
1478 return display.setScale(scale, pivotX, pivotY, animate, id); in setScale()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java2535 float pivotX; in animateBubbleExpansion() local
2537 pivotX = bubbleXY.x + mBubbleSize + mExpandedViewPadding; in animateBubbleExpansion()
2539 pivotX = bubbleXY.x - mExpandedViewPadding; in animateBubbleExpansion()
2544 pivotX, in animateBubbleExpansion()
2749 float pivotX; in animateSwitchBubbles() local
2752 pivotX = p.x + mBubbleSize + mExpandedViewPadding; in animateSwitchBubbles()
2754 pivotX = p.x - mExpandedViewPadding; in animateSwitchBubbles()
2759 pivotX, pivotY); in animateSwitchBubbles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotAnimationController.kt160 scrollTransitionPreview.pivotX = 0f in <lambda>()

12