Home
last modified time | relevance | path

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

/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.h419 float translateX = 0; member
457 return mPrimitiveFields.translateX; in getTranslateX()
459 void setTranslateX(float translateX) { in setTranslateX() argument
460 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateX, translateX); in setTranslateX()
469 float scaleX, float scaleY, float translateX, float translateY) { in updateProperties() argument
475 mPrimitiveFields.translateX = translateX; in updateProperties()
490 translateX, enumerator
DGlopBuilder.cpp533 const float translateX = meshTransform.getTranslateX(); in setModelViewMapUnitToRectSnap() local
536 left = (int) floorf(left + translateX + 0.5f) - translateX; in setModelViewMapUnitToRectSnap()
567 const float translateX = meshTransform.getTranslateX(); in setModelViewOffsetRectSnap() local
570 … offsetX = (int) floorf(offsetX + translateX + source.left + 0.5f) - translateX - source.left; in setModelViewOffsetRectSnap()
DVectorDrawable.cpp411 case Property::translateX: in getPropertyValue()
440 case Property::translateX: in setPropertyValue()
DOpenGLRenderer.h619 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
DBakedOpDispatcher.cpp347 const VertexBuffer& vertexBuffer, float translateX, float translateY, in renderVertexBuffer() argument
360 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) in renderVertexBuffer()
DOpenGLRenderer.cpp1687 void OpenGLRenderer::drawVertexBuffer(float translateX, float translateY,
1703 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds())
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java271 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { in nUpdateGroupProperties() argument
279 group.setTranslateX(translateX); in nUpdateGroupProperties()
369 static void nSetTranslateX(long groupPtr, float translateX) { in nSetTranslateX() argument
371 group.setTranslateX(translateX); in nSetTranslateX()
940 private void setTranslateX(float translateX) { in setTranslateX() argument
941 if (translateX != mTranslateX) { in setTranslateX()
942 mTranslateX = translateX; in setTranslateX()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp172 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { in updateGroupProperties() argument
175 translateX, translateY); in updateGroupProperties()
251 static void setTranslateX(JNIEnv*, jobject, jlong groupPtr, jfloat translateX) { in setTranslateX() argument
253 group->mutateStagingProperties()->setTranslateX(translateX); in setTranslateX()
/frameworks/base/core/java/android/widget/
DScrollView.java1730 final float translateX; in draw() local
1735 translateX = mPaddingLeft; in draw()
1740 translateX = 0; in draw()
1743 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1754 final float translateX; in draw() local
1759 translateX = mPaddingLeft; in draw()
1764 translateX = 0; in draw()
1767 canvas.translate(-width + translateX, in draw()
DEdgeEffect.java330 float translateX = mBounds.width() * displacement / 2; in draw() local
333 canvas.translate(translateX, 0); in draw()
DAbsListView.java4310 final int translateX; in draw() local
4316 translateX = mPaddingLeft; in draw()
4321 translateX = 0; in draw()
4326 canvas.clipRect(translateX, translateY, in draw()
4327 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4329 canvas.translate(translateX, edgeY); in draw()
4338 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4339 translateX + width, translateY + height); in draw()
4340 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/support/graphics/drawable/static/src/android/support/graphics/drawable/
DAndroidResources.java37 android.R.attr.translateX, android.R.attr.translateY
DVectorDrawableCompat.java1319 public void setTranslateX(float translateX) { in setTranslateX() argument
1320 if (translateX != mTranslateX) { in setTranslateX()
1321 mTranslateX = translateX; in setTranslateX()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1119 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray() local
1130 translateX, translateY); in updateStateFromTypedArray()
1268 public void setTranslateX(float translateX) { in setTranslateX() argument
1270 nSetTranslateX(mNativePtr, translateX); in setTranslateX()
1825 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
1848 private static native void nSetTranslateX(long groupPtr, float translateX); in nSetTranslateX() argument
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java304 final float translateX = (content.width() in getMatrix() local
308 matrix.postTranslate(translateX, translateY); in getMatrix()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1966 NO DOC BLOCK: android.R.attr Field translateX
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1323 field public static final int translateX = 16843866; // 0x101045a
/frameworks/base/api/
Dcurrent.txt1362 field public static final int translateX = 16843866; // 0x101045a
Dsystem-current.txt1473 field public static final int translateX = 16843866; // 0x101045a
Dtest-current.txt1362 field public static final int translateX = 16843866; // 0x101045a