Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java981 final float translateX; in translate() local
984 translateX = Math.max(maxLeft - mTranslateRect.right, in translate()
989 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in translate()
991 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate()
1016 mMatrix.postTranslate(translateX, translateY); in translate()
1019 boolean didTranslateX = translateX == tx; in translate()
1044 final float translateX; in snap() local
1047 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in snap()
1050 translateX = maxLeft - l; in snap()
1053 translateX = maxRight - r; in snap()
[all …]
/frameworks/base/libs/hwui/
DGlopBuilder.cpp498 const float translateX = meshTransform.getTranslateX(); in setModelViewMapUnitToRectSnap() local
501 left = (int) floorf(left + translateX + 0.5f) - translateX; in setModelViewMapUnitToRectSnap()
528 const float translateX = meshTransform.getTranslateX(); in setModelViewOffsetRectSnap() local
531 … offsetX = (int) floorf(offsetX + translateX + source.left + 0.5f) - translateX - source.left; in setModelViewOffsetRectSnap()
DOpenGLRenderer.h720 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
DOpenGLRenderer.cpp1749 void OpenGLRenderer::drawVertexBuffer(float translateX, float translateY,
1765 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds())
/frameworks/base/core/java/android/widget/
DScrollView.java1720 final float translateX; in draw() local
1725 translateX = mPaddingLeft; in draw()
1730 translateX = 0; in draw()
1733 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1744 final float translateX; in draw() local
1749 translateX = mPaddingLeft; in draw()
1754 translateX = 0; in draw()
1757 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.java4172 final int translateX; in draw() local
4178 translateX = mPaddingLeft; in draw()
4183 translateX = 0; in draw()
4188 canvas.clipRect(translateX, translateY, in draw()
4189 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4191 canvas.translate(translateX, edgeY); in draw()
4200 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4201 translateX + width, translateY + height); in draw()
4202 final int edgeX = -width + translateX; in draw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java942 final int translateX = calculateTranslate(mAnimationStartX, mAnimationStartWidth, in runEnterAnimation() local
955 mTemporaryImage.setTranslationX(translateX); in runEnterAnimation()
978 final Animation translateAnimation = new TranslateAnimation(translateX, in runEnterAnimation()
1024 final int translateX = calculateTranslate(mAnimationStartX, mAnimationStartWidth, in runExitAnimation() local
1045 .translationX(translateX).translationY(translateY) in runExitAnimation()
1049 .translationX(translateX).translationY(translateY) in runExitAnimation()
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java295 final float translateX = (content.width() in getMatrix() local
299 matrix.postTranslate(translateX, translateY); in getMatrix()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1132 public void setTranslateX(float translateX) { in setTranslateX() argument
1133 if (translateX != mTranslateX) { in setTranslateX()
1134 mTranslateX = translateX; in setTranslateX()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1386 public void setTranslateX(float translateX) { in setTranslateX() argument
1387 if (translateX != mTranslateX) { in setTranslateX()
1388 mTranslateX = translateX; in setTranslateX()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1966 NO DOC BLOCK: android.R.attr Field translateX
/frameworks/base/api/
Dsystem-current.txt1406 field public static final int translateX = 16843866; // 0x101045a
Dcurrent.txt1310 field public static final int translateX = 16843866; // 0x101045a