/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/ |
D | BackAnimationSpecTest.kt | 37 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 …]
|
D | BackTransformationTest.kt | 31 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()
|
D | OnBackAnimationCallbackExtensionTest.kt | 59 assertThat(actual.translateX).isWithin(tolerance).of(0f) in onBackProgressed_shouldInvoke_onBackProgress()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PathSpecCornerPathRenderer.java | 85 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/ |
D | BackTransformation.kt | 26 var translateX: Float = Float.NaN, variable in com.android.systemui.animation.back.BackTransformation 56 if (translateX.isFinite()) targetView.translationX = translateX in applyTo()
|
D | BackAnimationSpec.kt | 69 translateX = ratioTranslateX * direction * maxTranslationX in createFloatingSurfaceAnimationSpec()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | MatrixTranslate.java | 33 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/ |
D | PreviewPositionHelper.java | 201 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/ |
D | PhotoView.java | 999 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/ |
D | VectorDrawable.h | 393 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
|
D | VectorDrawable.cpp | 359 case Property::translateX: in getPropertyValue() 388 case Property::translateX: in setPropertyValue()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | PaintContext.java | 41 public abstract void translate(float translateX, float translateY); in translate() argument 140 public abstract void matrixTranslate(float translateX, float translateY); in matrixTranslate() argument
|
D | CoreDocument.java | 219 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/ |
D | ViewCapture.java | 531 public float translateX, translateY; 555 out.translateX = this.translateX; 583 .setTranslationX(translateX) 631 out.translateX = view.getTranslationX();
|
D | PerfettoViewCapture.kt | 194 os.write(ViewCaptureMessage.View.TRANSLATION_X, view.translateX) in <lambda>()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 176 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/ |
D | AndroidPaintContext.java | 107 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/ |
D | ScrollView.java | 2044 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()
|
D | EdgeEffect.java | 599 float translateX = mBounds.width() * displacement / 2; in draw() local 602 canvas.translate(translateX, 0); in draw()
|
D | AbsListView.java | 4645 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/ |
D | PhotoViewController.java | 1006 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/ |
D | LayerFE.cpp | 317 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/ |
D | DragState.java | 726 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/ |
D | VectorDrawable.java | 1413 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/ |
D | android-22.txt | 1323 field public static final int translateX = 16843866; // 0x101045a
|