Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackAnimationSpecTest.kt35 expected = BackTransformation(translateX = 0f, translateY = 0f, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
40 expected = BackTransformation(translateX = -maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
45 expected = BackTransformation(translateX = maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
50 expected = BackTransformation(translateX = -maxX, translateY = -maxY, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
55 expected = BackTransformation(translateX = 0f, translateY = -maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
60 expected = BackTransformation(translateX = 0f, translateY = maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
84 assertThat(actual.translateX).isWithin(tolerance).of(expected.translateX) in assertBackTransformation()
DBackTransformationTest.kt23 assertThat(transformation.translateX).isNaN() in defaultValue_noTransformation()
30 val transformation = BackTransformation(translateX = 0f, translateY = 0f, scale = 1f) in applyTo_targetView_translateX_Y_Scale()
43 val transformation = BackTransformation(translateX = 1f) in applyTo_targetView_translateX()
/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
33 if (translateX.isFinite()) targetView.translationX = translateX in applyTo()
DBackAnimationSpec.kt68 translateX = ratioTranslateX * direction * maxTranslationX in createFloatingSurfaceAnimationSpec()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java202 float translateX = 0; in setThumbnailRotation() local
208 translateX = thumbnailPosition.height(); in setThumbnailRotation()
214 translateX = thumbnailPosition.width(); in setThumbnailRotation()
218 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.h392 float translateX = 0; member
409 float getTranslateX() const { return mPrimitiveFields.translateX; } in getTranslateX()
410 void setTranslateX(float translateX) { in setTranslateX() argument
411 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateX, translateX); in setTranslateX()
418 float translateX, float translateY) { in updateProperties() argument
424 mPrimitiveFields.translateX = translateX; in updateProperties()
440 translateX, enumerator
DVectorDrawable.cpp362 case Property::translateX: in getPropertyValue()
391 case Property::translateX: in setPropertyValue()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java466 public float translateX, translateY;
490 out.translateX = this.translateX;
518 .setTranslationX(translateX)
563 out.translateX = view.getTranslationX();
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp175 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { in updateGroupProperties() argument
178 translateX, translateY); in updateGroupProperties()
254 static void setTranslateX(JNIEnv*, jobject, jlong groupPtr, jfloat translateX) { in setTranslateX() argument
256 group->mutateStagingProperties()->setTranslateX(translateX); in setTranslateX()
/frameworks/base/core/java/android/widget/
DScrollView.java1877 final float translateX; in draw() local
1882 translateX = mPaddingLeft; in draw()
1887 translateX = 0; in draw()
1890 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1901 final float translateX; in draw() local
1906 translateX = mPaddingLeft; in draw()
1911 translateX = 0; in draw()
1914 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.java4519 final int translateX; in draw() local
4525 translateX = mPaddingLeft; in draw()
4530 translateX = 0; in draw()
4537 canvas.clipRect(translateX, translateY, in draw()
4538 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4540 canvas.translate(translateX, edgeY); in draw()
4548 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4549 translateX + width, translateY + height); in draw()
4550 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/base/services/core/java/com/android/server/wm/
DDragState.java642 final float translateX = mOriginalX - mCurrentX; in createReturnAnimationLocked() local
645 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1420 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray() local
1431 translateX, translateY); in updateStateFromTypedArray()
1588 public void setTranslateX(float translateX) { in setTranslateX() argument
1590 nSetTranslateX(mNativePtr, translateX); in setTranslateX()
2336 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
2371 private static native void nSetTranslateX(long groupPtr, float translateX); in nSetTranslateX() argument
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp256 const float translateX = float(win.left) / bufferWidth; in prepareClientComposition() local
261 mat4::translate(vec4(translateX, translateY, 0, 1)) * in prepareClientComposition()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1323 field public static final int translateX = 16843866; // 0x101045a
/frameworks/base/core/api/
Dcurrent.txt1631 field public static final int translateX = 16843866; // 0x101045a
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76679 Lcom/android/internal/R$attr;->translateX:I