Home
last modified time | relevance | path

Searched refs:translateY (Results 1 – 19 of 19) 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.h418 float translateY = 0; member
461 return mPrimitiveFields.translateY; in getTranslateY()
463 void setTranslateY(float translateY) { in setTranslateY() argument
464 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateY, translateY); in setTranslateY()
467 float scaleX, float scaleY, float translateX, float translateY) { in updateProperties() argument
474 mPrimitiveFields.translateY = translateY; in updateProperties()
489 translateY, enumerator
DGlopBuilder.cpp518 const float translateY = meshTransform.getTranslateY(); in setModelViewMapUnitToRectSnap() local
521 top = (int) floorf(top + translateY + 0.5f) - translateY; in setModelViewMapUnitToRectSnap()
545 const float translateY = meshTransform.getTranslateY(); in setModelViewOffsetRectSnap() local
548 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; in setModelViewOffsetRectSnap()
DVectorDrawable.cpp358 case Property::translateY: in getPropertyValue()
388 case Property::translateY: in setPropertyValue()
DBakedOpDispatcher.cpp341 const VertexBuffer& vertexBuffer, float translateX, float translateY, in renderVertexBuffer() argument
354 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) in renderVertexBuffer()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java283 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { in nUpdateGroupProperties() argument
292 group.setTranslateY(translateY); in nUpdateGroupProperties()
393 static void nSetTranslateY(long groupPtr, float translateY) { in nSetTranslateY() argument
395 group.setTranslateY(translateY); in nSetTranslateY()
954 private void setTranslateY(float translateY) { in setTranslateY() argument
955 if (translateY != mTranslateY) { in setTranslateY()
956 mTranslateY = translateY; in setTranslateY()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java588 final float translateY = mOriginalY - mCurrentY; in createReturnAnimationLocked() local
589 set.addAnimation(new TranslateAnimation( 0, translateX, 0, translateY)); in createReturnAnimationLocked()
592 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked()
/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.java1748 final float translateY; in draw() local
1753 translateY = mPaddingTop; in draw()
1758 translateY = 0; in draw()
1760 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1772 final float translateY; in draw() local
1777 translateY = mPaddingTop; in draw()
1782 translateY = 0; in draw()
1785 Math.max(getScrollRange(), scrollY) + height + translateY); in draw()
DAbsListView.java4317 final int translateY; in draw() local
4323 translateY = mPaddingTop; in draw()
4328 translateY = 0; in draw()
4332 canvas.clipRect(translateX, translateY, in draw()
4333 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4334 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; in draw()
4344 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4345 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.java39 android.R.attr.translateX, android.R.attr.translateY
DVectorDrawableCompat.java1504 public void setTranslateY(float translateY) { in setTranslateY() argument
1505 if (translateY != mTranslateY) { in setTranslateY()
1506 mTranslateY = translateY; in setTranslateY()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1315 float translateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, in updateStateFromTypedArray() local
1324 translateX, translateY); in updateStateFromTypedArray()
1489 public void setTranslateY(float translateY) { in setTranslateY() argument
1491 nSetTranslateY(mNativePtr, translateY); in setTranslateY()
2222 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
2261 private static native void nSetTranslateY(long groupPtr, float translateY); in nSetTranslateY() argument
/frameworks/support/core-utils/java/android/support/v4/print/
DPrintHelper.java433 final float translateY = (content.height() in getMatrix() local
435 matrix.postTranslate(translateX, translateY); in getMatrix()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1324 field public static final int translateY = 16843867; // 0x101045b
/frameworks/base/api/
Dcurrent.txt1436 field public static final int translateY = 16843867; // 0x101045b
Dtest-current.txt1436 field public static final int translateY = 16843867; // 0x101045b
Dsystem-current.txt1572 field public static final int translateY = 16843867; // 0x101045b