Home
last modified time | relevance | path

Searched refs:translateX (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackAnimationSpecTest.kt37 expected = BackTransformation(translateX = 0f, translateY = 0f, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
42 expected = BackTransformation(translateX = -maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
47 expected = BackTransformation(translateX = maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
52 expected = BackTransformation(translateX = -maxX, translateY = -maxY, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
57 expected = BackTransformation(translateX = 0f, translateY = -maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
62 expected = BackTransformation(translateX = 0f, translateY = maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
77 translateX = Float.NaN, in sysUi_bottomsheet_animationValues()
88 translateX = Float.NaN, in sysUi_bottomsheet_animationValues()
99 translateX = Float.NaN, in sysUi_bottomsheet_animationValues()
110 translateX = Float.NaN, in sysUi_bottomsheet_animationValues()
[all …]
DBackTransformationTest.kt31 assertThat(transformation.translateX).isNaN() in defaultValue_noTransformation()
38 val transformation = BackTransformation(translateX = 0f, translateY = 0f, scale = 1f) in applyTo_targetView_translateX_Y_Scale()
51 val transformation = BackTransformation(translateX = 1f) in applyTo_targetView_translateX()
DOnBackAnimationCallbackExtensionTest.kt59 assertThat(actual.translateX).isWithin(tolerance).of(0f) in onBackProgressed_shouldInvoke_onBackProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPathSpecCornerPathRenderer.java85 int translateX; in getCornerPath() local
91 translateX = 0; in getCornerPath()
97 translateX = mWidth; in getCornerPath()
103 translateX = mWidth; in getCornerPath()
110 translateX = 0; in getCornerPath()
120 mMatrix.postTranslate(translateX, translateY); in getCornerPath()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DBackTransformation.kt26 var translateX: Float = Float.NaN, variable in com.android.systemui.animation.back.BackTransformation
56 if (translateX.isFinite()) targetView.translationX = translateX in applyTo()
DBackAnimationSpec.kt69 translateX = ratioTranslateX * direction * maxTranslationX in createFloatingSurfaceAnimationSpec()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DMatrixTranslate.java33 public MatrixTranslate(float translateX, float translateY) { in MatrixTranslate() argument
34 super(translateX, translateY); in MatrixTranslate()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java201 float translateX = 0; in setThumbnailRotation() local
207 translateX = thumbnailPosition.height(); in setThumbnailRotation()
213 translateX = thumbnailPosition.width(); in setThumbnailRotation()
217 mMatrix.postTranslate(translateX, translateY); in setThumbnailRotation()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java999 final float translateX; in translate() local
1002 translateX = Math.max(maxLeft - mTranslateRect.right, in translate()
1007 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in translate()
1009 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate()
1033 mMatrix.postTranslate(translateX, translateY); in translate()
1036 boolean didTranslateX = translateX == tx; in translate()
1061 final float translateX; in snap() local
1064 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in snap()
1067 translateX = maxLeft - l; in snap()
1070 translateX = maxRight - r; in snap()
[all …]
/frameworks/base/libs/hwui/
DVectorDrawable.h393 float translateX = 0; member
410 float getTranslateX() const { return mPrimitiveFields.translateX; } in getTranslateX()
411 void setTranslateX(float translateX) { in setTranslateX() argument
412 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateX, translateX); in setTranslateX()
419 float translateX, float translateY) { in updateProperties() argument
425 mPrimitiveFields.translateX = translateX; in updateProperties()
441 translateX, enumerator
DVectorDrawable.cpp359 case Property::translateX: in getPropertyValue()
388 case Property::translateX: in setPropertyValue()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DPaintContext.java41 public abstract void translate(float translateX, float translateY); in translate() argument
140 public abstract void matrixTranslate(float translateX, float translateY); in matrixTranslate() argument
DCoreDocument.java219 float translateX = 0f; in computeTranslate() local
230 translateX = (w - contentWidth) / 2f; in computeTranslate()
234 translateX = w - contentWidth; in computeTranslate()
257 translateOutput[0] = translateX; in computeTranslate()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java531 public float translateX, translateY;
555 out.translateX = this.translateX;
583 .setTranslationX(translateX)
631 out.translateX = view.getTranslationX();
DPerfettoViewCapture.kt194 os.write(ViewCaptureMessage.View.TRANSLATION_X, view.translateX) in <lambda>()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp176 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { in updateGroupProperties() argument
179 translateX, translateY); in updateGroupProperties()
255 static void setTranslateX(JNIEnv*, jobject, jlong groupPtr, jfloat translateX) { in setTranslateX() argument
257 group->mutateStagingProperties()->setTranslateX(translateX); in setTranslateX()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java107 public void translate(float translateX, float translateY) { in translate() argument
108 mCanvas.translate(translateX, translateY); in translate()
562 public void matrixTranslate(float translateX, float translateY) { in matrixTranslate() argument
563 mCanvas.translate(translateX, translateY); in matrixTranslate()
/frameworks/base/core/java/android/widget/
DScrollView.java2044 final float translateX; in draw() local
2049 translateX = mPaddingLeft; in draw()
2054 translateX = 0; in draw()
2057 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
2068 final float translateX; in draw() local
2073 translateX = mPaddingLeft; in draw()
2078 translateX = 0; in draw()
2081 canvas.translate(-width + translateX, in draw()
DEdgeEffect.java599 float translateX = mBounds.width() * displacement / 2; in draw() local
602 canvas.translate(translateX, 0); in draw()
DAbsListView.java4645 final int translateX; in draw() local
4651 translateX = mPaddingLeft; in draw()
4656 translateX = 0; in draw()
4663 canvas.clipRect(translateX, translateY, in draw()
4664 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4666 canvas.translate(translateX, edgeY); in draw()
4674 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4675 translateX + width, translateY + height); in draw()
4676 final int edgeX = -width + translateX; in draw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java1006 final int translateX = calculateTranslate(mAnimationStartX, mAnimationStartWidth, in runEnterAnimation() local
1022 mTemporaryImage.setTranslationX(translateX); in runEnterAnimation()
1049 final Animation translateAnimation = new TranslateAnimation(translateX, in runEnterAnimation()
1096 final int translateX = calculateTranslate(mAnimationStartX, mAnimationStartWidth, in runExitAnimation() local
1119 .translationX(translateX).translationY(translateY) in runExitAnimation()
1123 .translationX(translateX).translationY(translateY) in runExitAnimation()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp317 const float translateX = float(win.left) / bufferWidth; in prepareBufferStateClientComposition() local
322 mat4::translate(vec4(translateX, translateY, 0.f, 1.f)) * in prepareBufferStateClientComposition()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java726 final float translateX = mOriginalX - mCurrentX; in createReturnAnimationLocked() local
729 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1413 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray() local
1424 translateX, translateY); in updateStateFromTypedArray()
1581 public void setTranslateX(float translateX) { in setTranslateX() argument
1583 nSetTranslateX(mNativePtr, translateX); in setTranslateX()
2321 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
2356 private static native void nSetTranslateX(long groupPtr, float translateX); in nSetTranslateX() argument
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1323 field public static final int translateX = 16843866; // 0x101045a

12