Home
last modified time | relevance | path

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

/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/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java107 int translateX = 0; in paintRectShadow() local
116 translateX = -(int) Math.floor(shadowBounds[0]); in paintRectShadow()
120 imgW = (int) Math.ceil(shadowBounds[2] + translateX); in paintRectShadow()
139 translateX = Math.max(-(int) Math.floor(shadowBounds[0]), translateX); in paintRectShadow()
143 imgW = Math.max((int) Math.ceil(shadowBounds[2] + translateX), imgW); in paintRectShadow()
152 Math3DHelper.translate(ambientTriangulator.getVertices(), translateX, translateY, 2); in paintRectShadow() local
160 Math3DHelper.translate(strips[i], translateX, translateY, 3); in paintRectShadow()
167 drawScaled(canvas, img, translateX, translateY, rectOriginal, radius, isOpaque); in paintRectShadow()
193 private static void drawScaled(Canvas canvas, Bitmap bitmap, int translateX, int translateY, in drawScaled() argument
195 int unscaledTranslateX = translateX * SCALE_DOWN; in drawScaled()
/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/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java65 public static void translate(float[] poly, float translateX, float translateY, int dimension) { in translate() argument
69 poly[i * dimension + 0] += translateX; in translate()
/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/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleViewController.java143 Animator translateX = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, in getHandleAnimator() local
152 set.play(scaleX).with(translateX); in getHandleAnimator()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java295 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { in nUpdateGroupProperties() argument
303 group.setTranslateX(translateX); in nUpdateGroupProperties()
393 static void nSetTranslateX(long groupPtr, float translateX) { in nSetTranslateX() argument
395 group.setTranslateX(translateX); in nSetTranslateX()
955 private void setTranslateX(float translateX) { in setTranslateX() argument
956 if (translateX != mTranslateX) { in setTranslateX()
957 mTranslateX = translateX; in setTranslateX()
/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.java1841 final float translateX; in draw() local
1846 translateX = mPaddingLeft; in draw()
1851 translateX = 0; in draw()
1854 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1865 final float translateX; in draw() local
1870 translateX = mPaddingLeft; in draw()
1875 translateX = 0; in draw()
1878 canvas.translate(-width + translateX, in draw()
DEdgeEffect.java371 float translateX = mBounds.width() * displacement / 2; in draw() local
374 canvas.translate(translateX, 0); in draw()
DAbsListView.java4375 final int translateX; in draw() local
4381 translateX = mPaddingLeft; in draw()
4386 translateX = 0; in draw()
4393 canvas.clipRect(translateX, translateY, in draw()
4394 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4396 canvas.translate(translateX, edgeY); in draw()
4404 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4405 translateX + width, translateY + height); in draw()
4406 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.java636 final float translateX = mOriginalX - mCurrentX; in createReturnAnimationLocked() local
639 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1416 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray() local
1427 translateX, translateY); in updateStateFromTypedArray()
1584 public void setTranslateX(float translateX) { in setTranslateX() argument
1586 nSetTranslateX(mNativePtr, translateX); in setTranslateX()
2332 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
2367 private static native void nSetTranslateX(long groupPtr, float translateX); in nSetTranslateX() argument
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp257 const float translateX = float(win.left) / bufferWidth; in prepareClientComposition() local
262 mat4::translate(vec4(translateX, translateY, 0, 1)) * in prepareClientComposition()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1323 field public static final int translateX = 16843866; // 0x101045a
/frameworks/base/api/
Dcurrent.txt1513 field public static final int translateX = 16843866; // 0x101045a