Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DCanvasStateTests.java90 canvas.translate(0, -30); in testQuickReject()
100 canvas.translate(0, -30); in testQuickReject()
130 canvas.translate(75, 75); in testQuickReject()
DCameraTests.java43 camera.translate(0, 50, 0); in testBasicTranslate()
DPictureTest.java71 canvas.translate(40, 0); in testPictureRespectsTranslate()
DShaderTests.java268 Matrix translate = new Matrix(); in testLocalMatrixOrder()
269 translate.setTranslate(-40, -40); in testLocalMatrixOrder()
270 composeShader.setLocalMatrix(translate); in testLocalMatrixOrder()
DPaintTests.kt62 canvas.translate(dx, dy) in <lambda>()
DExactCanvasTests.java84 canvas.translate(0.5f, 0.5f); in testPoints()
141 canvas.translate(0.05f, 0.05f); in testDrawLine()
/cts/tests/tests/text/src/android/text/cts/
DLayoutUseBoundsUtil.kt32 .translate(dxArgumentCaptor.capture(), dyArgumentCaptor.capture()) in getDrawingHorizontalOffset()
DStaticLayoutMultilineBidiTest.kt83 expectCanvas.translate(0f, actualLayout.getLineTop(i).toFloat()) in testConsistentBidiDraw()
DTextShaperTest.java142 glyphsCanvas.translate(width, -fmi.ascent); in assertSameDrawResult()
144 glyphsCanvas.translate(0, -fmi.ascent); in assertSameDrawResult()
/cts/tests/openglperf2/jni/graphics/
DMatrix.h30 void translate(float x, float y, float z);
DMatrix.cpp76 void Matrix::translate(float x, float y, float z) { in translate() function in Matrix
186 m->translate(-eyeX, -eyeY, -eyeZ); in newLookAt()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp165 transformMatrix->translate(x, y, 1.0f); in updateSceneGraphs()
176 transformMatrix->translate(0, 0, 0.1f); in updateSceneGraphs()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DMeasuredTextTest.java359 ssbCanvas.translate(0, 0); in makeBitmapFromSsb()
374 mtCanvas.translate(0, 0); in makeBitmapFromMtWithSamePaint()
390 mt2Canvas.translate(0, 0); in makeBitmapFromMtWithDifferentPaint()
403 pctCanvas.translate(0, 0); in makeBitmapFromPct()
DTextRunShaperTest.java299 layoutCanvas.translate(0f, -fmi.ascent); in assertSameDrawResult()
310 glyphsCanvas.translate(0f, -fmi.ascent); in assertSameDrawResult()
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp160 transformMatrix->translate(i - middle, j - middle, 0.0f); in setUp()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java111 canvas.translate(offsets.first, offsets.second); in getCombinedBackgroundBitmap()
113 canvas.translate(-offsets.first, -offsets.second); in getCombinedBackgroundBitmap()
188 canvas.translate(-drawableBounds.left, -drawableBounds.top); in assertAllPixelsOfColor()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraTest.java70 mCamera.translate(10.0f, 28.0f, 2008.0f); in testTranslate()
DMatrix44Test.java221 mMatrix44.translate(5, -5, 2); in testTranslate()
DPictureTest.java75 canvas.translate(1.0f, 1.0f); in createImbalance()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java268 translator.translate(new TranslationRequest.Builder() in testSingleTranslation()
346 translator.translate(new TranslationRequest.Builder() in testTranslation_partialResponses()
430 translator.translate(new TranslationRequest.Builder() in testTranslationCancelled()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix4fTest.java226 m.translate(5.0f, 6.0f, 7.0f); in testInverse()
Dreduce.rscript25 static void translate(half *tgt, const short src) {
30 translate(&negInfHalf, forNegInfHalf);
31 translate(&posInfHalf, forPosInfHalf);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java213 can_test.translate(-left, -top); in testDrawSetBounds()
215 can_test.translate(left, top); in testDrawSetBounds()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java268 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java217 canvas.translate(0, -100);

12