Home
last modified time | relevance | path

Searched refs:setTranslate (Results 1 – 25 of 41) 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/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java40 t.getMatrix().setTranslate(location.x, location.y); 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/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java60 mMatrix.setTranslate(0xdeadbeef, 0xdeadbeef); in setUp()
61 mMatrix2.setTranslate(0xbeefdead, 0xbeefdead); in setUp()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DRectUtils.java49 matrix.setTranslate(-fullRectF.left, -fullRectF.top); in rotateRectForOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimationRunnerTest.java100 m.setTranslate(-10, 0); in testAnimation()
108 m.setTranslate(10, 0); in testAnimation()
/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/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/jni/
Dandroid_graphics_Matrix.cpp165 static void setTranslate(CRITICAL_JNI_PARAMS_COMMA jlong objHandle, jfloat dx, jfloat dy) { in setTranslate() function in android::SkMatrixGlue
167 obj->setTranslate(dx, dy); in setTranslate()
350 {"nSetTranslate","(JFF)V", (void*) SkMatrixGlue::setTranslate},
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp239 expected.setTranslate(100, 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
244 expected.setTranslate(100, 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
249 expected.setTranslate(-50, -50); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp255 expectedMatrix.setTranslate(50 - SCROLL_X, 50 - SCROLL_Y); in RENDERTHREAD_TEST()
262 expectedMatrix.setTranslate(-SCROLL_X, 50 - SCROLL_Y); in RENDERTHREAD_TEST()
451 expectedMatrix.setTranslate(100 - SCROLL_X, 100 - SCROLL_Y); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java78 mMtx1.setTranslate(mTexWidth / 2.0f, mTexHeight / 2.0f); in ResourceModifiers()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java525 translateMatrix.setTranslate(activeArray.exactCenterX(), activeArray.exactCenterY()); in getPreviewCropRectangleUnzoomed()
905 transform.setTranslate(-previewCrop.left, -previewCrop.top); in convertMeteringRectangleToLegacy()
1066 transform.setTranslate(/*dx*/NORMALIZED_RECTANGLE_MAX, /*dy*/NORMALIZED_RECTANGLE_MAX); in convertCameraAreaToActiveArrayRectangle()
/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/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java167 m.setTranslate(mSlashRect.width(), 0); in draw()
/frameworks/base/libs/hwui/
DRenderProperties.cpp192 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java98 matrix.setTranslate(windowNode.getLeft(), windowNode.getTop()); in setAssistStructure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationsController.java121 matrix.setTranslate((mPreviewWidth - imageWidth) / 2f, (mPreviewHeight - imageHeight) / 2f); in setImage()

12