Home
last modified time | relevance | path

Searched refs:setTranslate (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java36 originalMatrix.setTranslate(10.0f, 20.0f); in testCreateForAdditionalParentMatrix()
45 additionalParentMatrix.setTranslate(1.0f, 2.0f); in testCreateForAdditionalParentMatrix()
/frameworks/base/core/java/android/view/animation/
DTranslateXAnimation.java53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]); in applyTransformation()
DTranslateYAnimation.java55 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy); in applyTransformation()
DTranslateAnimation.java172 t.getMatrix().setTranslate(dx, dy); in applyTransformation()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java263 setTranslate(d.mValues, dx, dy); in nSetTranslate()
326 setTranslate(d.mValues, -px, -py); in nSetSinCos()
929 setTranslate(copy.mValues, 0, 0); in mapVectors()
965 return setTranslate(new float[9], dx, dy); in getTranslate()
968 /*package*/ static float[] setTranslate(float[] dest, float dx, float dy) { in setTranslate() method in Matrix_Delegate
999 setTranslate(tmp, -px, -py); in getScale()
1051 setTranslate(tmp, -px, -py); in getRotate()
1076 setTranslate(tmp, -px, -py); in getSkew()
DRenderNode_Delegate.java181 outMatrix.setTranslate(translationX, translationY); in getMatrix()
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java40 t.getMatrix().setTranslate(location.x, location.y); in applyTransformation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java60 mMatrix.setTranslate(0xdeadbeef, 0xdeadbeef); in setUp()
61 mMatrix2.setTranslate(0xbeefdead, 0xbeefdead); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimationRunnerTest.java97 m.setTranslate(-10, 0); in testAnimation()
104 m.setTranslate(10, 0); in testAnimation()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DRectUtils.java49 matrix.setTranslate(-fullRectF.left, -fullRectF.top); in rotateRectForOrientation()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAdvancedGradientsActivity.java63 mMatrix3.setTranslate(100.0f, 100.0f); in GradientsView()
DShadersActivity.java74 mMtx1.setTranslate(mTexWidth / 2.0f, mTexHeight / 2.0f); in ShadersView()
DMoreShadersActivity.java95 mMtx1.setTranslate(mTexWidth / 2.0f, mTexHeight / 2.0f); in ShadersView()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp168 static void setTranslate(jlong objHandle, jfloat dx, jfloat dy) { in setTranslate() function in android::SkMatrixGlue
170 obj->setTranslate(dx, dy); in setTranslate()
353 {"nSetTranslate","(JFF)V", (void*) SkMatrixGlue::setTranslate},
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java117 mTempMatrix.setTranslate(-startX, -startY); in setPatternPath()
DTransitionUtils.java91 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp270 expected.setTranslate(100, 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
275 expected.setTranslate(100, 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
280 expected.setTranslate(-50, -50); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java520 translateMatrix.setTranslate(activeArray.exactCenterX(), activeArray.exactCenterY()); in getPreviewCropRectangleUnzoomed()
812 transform.setTranslate(-previewCrop.left, -previewCrop.top); in convertMeteringRectangleToLegacy()
973 transform.setTranslate(/*dx*/NORMALIZED_RECTANGLE_MAX, /*dy*/NORMALIZED_RECTANGLE_MAX); in convertCameraAreaToActiveArrayRectangle()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java78 mMtx1.setTranslate(mTexWidth / 2.0f, mTexHeight / 2.0f); in ResourceModifiers()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java61 public void setTranslate(float dx, float dy) {
320 public void setTranslate(float dx, float dy) { in setTranslate() method in Matrix
/frameworks/base/libs/hwui/
DRenderProperties.cpp192 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java167 m.setTranslate(mSlashRect.width(), 0); in draw()
/frameworks/base/services/core/java/com/android/server/wm/
DBlackFrame.java69 mTmpMatrix.setTranslate(left, top); in setMatrix()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java98 matrix.setTranslate(windowNode.getLeft(), windowNode.getTop()); in setAssistStructure()
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java236 mTmpMatrix.setTranslate(control.getSurfacePosition().x, control.getSurfacePosition().y); in updateLeashesForSide()

12