Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1018 final float translateY; in translate() local
1021 translateY = Math.max(maxTop - mTranslateRect.bottom, in translate()
1026 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in translate()
1028 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate()
1033 mMatrix.postTranslate(translateX, translateY); in translate()
1037 boolean didTranslateY = translateY == ty; in translate()
1081 final float translateY; in snap() local
1084 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in snap()
1087 translateY = maxTop - t; in snap()
1090 translateY = maxBottom - b; in snap()
[all …]
/frameworks/base/libs/hwui/
DVectorDrawable.h420 float translateY = 0; member
463 return mPrimitiveFields.translateY; in getTranslateY()
465 void setTranslateY(float translateY) { in setTranslateY() argument
466 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateY, translateY); in setTranslateY()
469 float scaleX, float scaleY, float translateX, float translateY) { in updateProperties() argument
476 mPrimitiveFields.translateY = translateY; in updateProperties()
491 translateY, enumerator
DGlopBuilder.cpp534 const float translateY = meshTransform.getTranslateY(); in setModelViewMapUnitToRectSnap() local
537 top = (int) floorf(top + translateY + 0.5f) - translateY; in setModelViewMapUnitToRectSnap()
568 const float translateY = meshTransform.getTranslateY(); in setModelViewOffsetRectSnap() local
571 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; in setModelViewOffsetRectSnap()
DVectorDrawable.cpp413 case Property::translateY: in getPropertyValue()
443 case Property::translateY: 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
280 group.setTranslateY(translateY); in nUpdateGroupProperties()
381 static void nSetTranslateY(long groupPtr, float translateY) { in nSetTranslateY() argument
383 group.setTranslateY(translateY); in nSetTranslateY()
951 private void setTranslateY(float translateY) { in setTranslateY() argument
952 if (translateY != mTranslateY) { in setTranslateY()
953 mTranslateY = translateY; in setTranslateY()
/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()
261 static void setTranslateY(JNIEnv*, jobject, jlong groupPtr, jfloat translateY) { in setTranslateY() argument
263 group->mutateStagingProperties()->setTranslateY(translateY); in setTranslateY()
/frameworks/base/core/java/android/widget/
DScrollView.java1731 final float translateY; in draw() local
1736 translateY = mPaddingTop; in draw()
1741 translateY = 0; in draw()
1743 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1755 final float translateY; in draw() local
1760 translateY = mPaddingTop; in draw()
1765 translateY = 0; in draw()
1768 Math.max(getScrollRange(), scrollY) + height + translateY); in draw()
DAbsListView.java4311 final int translateY; in draw() local
4317 translateY = mPaddingTop; in draw()
4322 translateY = 0; in draw()
4326 canvas.clipRect(translateX, translateY, in draw()
4327 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4328 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; in draw()
4338 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4339 translateX + width, translateY + height); in draw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java1008 final int translateY = calculateTranslate(mAnimationStartY, mAnimationStartHeight, in runEnterAnimation() local
1023 mTemporaryImage.setTranslationY(translateY); in runEnterAnimation()
1050 translateY, 0, 0); in runEnterAnimation()
1098 final int translateY = calculateTranslate(mAnimationStartY, mAnimationStartHeight, 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.java1332 public void setTranslateY(float translateY) { in setTranslateY() argument
1333 if (translateY != mTranslateY) { in setTranslateY()
1334 mTranslateY = translateY; in setTranslateY()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1121 float translateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, in updateStateFromTypedArray() local
1130 translateX, translateY); in updateStateFromTypedArray()
1280 public void setTranslateY(float translateY) { in setTranslateY() argument
1282 nSetTranslateY(mNativePtr, translateY); in setTranslateY()
1825 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
1850 private static native void nSetTranslateY(long groupPtr, float translateY); in nSetTranslateY() argument
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java306 final float translateY = (content.height() in getMatrix() local
308 matrix.postTranslate(translateX, translateY); in getMatrix()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1967 NO DOC BLOCK: android.R.attr Field translateY
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1324 field public static final int translateY = 16843867; // 0x101045b
/frameworks/base/api/
Dcurrent.txt1363 field public static final int translateY = 16843867; // 0x101045b
Dsystem-current.txt1474 field public static final int translateY = 16843867; // 0x101045b
Dtest-current.txt1363 field public static final int translateY = 16843867; // 0x101045b