Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPathSpecCornerPathRenderer.java86 int translateY; in getCornerPath() local
92 translateY = 0; in getCornerPath()
98 translateY = 0; in getCornerPath()
104 translateY = mHeight; in getCornerPath()
111 translateY = mHeight; in getCornerPath()
120 mMatrix.postTranslate(translateX, translateY); in getCornerPath()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java108 int translateY = 0; in paintRectShadow() local
117 translateY = -(int) Math.floor(shadowBounds[1]); in paintRectShadow()
121 imgH = (int) Math.ceil(shadowBounds[3] + translateY); in paintRectShadow()
140 translateY = Math.max(-(int) Math.floor(shadowBounds[1]), translateY); in paintRectShadow()
144 imgH = Math.max((int) Math.ceil(shadowBounds[3] + translateY), imgH); 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
196 int unscaledTranslateY = translateY * SCALE_DOWN; in drawScaled()
/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/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java65 public static void translate(float[] poly, float translateX, float translateY, int dimension) { in translate() argument
70 poly[i * dimension + 1] += translateY; in translate()
/frameworks/base/libs/hwui/
DVectorDrawable.h393 float translateY = 0; member
413 float getTranslateY() const { return mPrimitiveFields.translateY; } in getTranslateY()
414 void setTranslateY(float translateY) { in setTranslateY() argument
415 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(translateY, translateY); in setTranslateY()
418 float translateX, float translateY) { in updateProperties() argument
425 mPrimitiveFields.translateY = translateY; in updateProperties()
441 translateY, enumerator
DVectorDrawable.cpp364 case Property::translateY: in getPropertyValue()
394 case Property::translateY: in setPropertyValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleViewController.java146 Animator translateY = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, in getHandleAnimator() local
153 set.play(scaleX).with(translateY); 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
304 group.setTranslateY(translateY); in nUpdateGroupProperties()
405 static void nSetTranslateY(long groupPtr, float translateY) { in nSetTranslateY() argument
407 group.setTranslateY(translateY); in nSetTranslateY()
966 private void setTranslateY(float translateY) { in setTranslateY() argument
967 if (translateY != mTranslateY) { in setTranslateY()
968 mTranslateY = translateY; in setTranslateY()
/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()
264 static void setTranslateY(JNIEnv*, jobject, jlong groupPtr, jfloat translateY) { in setTranslateY() argument
266 group->mutateStagingProperties()->setTranslateY(translateY); in setTranslateY()
/frameworks/base/core/java/android/widget/
DScrollView.java1842 final float translateY; in draw() local
1847 translateY = mPaddingTop; in draw()
1852 translateY = 0; in draw()
1854 canvas.translate(translateX, Math.min(0, scrollY) + translateY); in draw()
1866 final float translateY; in draw() local
1871 translateY = mPaddingTop; in draw()
1876 translateY = 0; in draw()
1879 Math.max(getScrollRange(), scrollY) + height + translateY); in draw()
DAbsListView.java4376 final int translateY; in draw() local
4382 translateY = mPaddingTop; in draw()
4387 translateY = 0; in draw()
4393 canvas.clipRect(translateX, translateY, in draw()
4394 translateX + width ,translateY + mEdgeGlowTop.getMaxHeight()); in draw()
4395 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; in draw()
4404 canvas.clipRect(translateX, translateY + height - mEdgeGlowBottom.getMaxHeight(), in draw()
4405 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/base/services/core/java/com/android/server/wm/
DDragState.java637 final float translateY = mOriginalY - mCurrentY; in createReturnAnimationLocked() local
639 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1418 float translateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, in updateStateFromTypedArray() local
1427 translateX, translateY); in updateStateFromTypedArray()
1597 public void setTranslateY(float translateY) { in setTranslateY() argument
1599 nSetTranslateY(mNativePtr, translateY); in setTranslateY()
2332 float pivotY, float scaleX, float scaleY, float translateX, float translateY); in nUpdateGroupProperties() argument
2371 private static native void nSetTranslateY(long groupPtr, float translateY); in nSetTranslateY() argument
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp256 const float translateY = float(win.top) / bufferHeight; 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.txt1324 field public static final int translateY = 16843867; // 0x101045b
/frameworks/base/api/
Dcurrent.txt1514 field public static final int translateY = 16843867; // 0x101045b