Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 31) 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()
DPaintTests.kt62 canvas.translate(dx, dy) in <lambda>()
DEdgeEffectTests.java288 recordingCanvas.translate(0f, verticalOffset);
/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.java352 ssbCanvas.translate(0, 0); in makeBitmapFromSsb()
367 mtCanvas.translate(0, 0); in makeBitmapFromMtWithSamePaint()
383 mt2Canvas.translate(0, 0); in makeBitmapFromMtWithDifferentPaint()
396 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/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/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp160 transformMatrix->translate(i - middle, j - middle, 0.0f); in setUp()
/cts/tests/tests/text/src/android/text/cts/
DTextShaperTest.java142 glyphsCanvas.translate(width, -fmi.ascent); in assertSameDrawResult()
144 glyphsCanvas.translate(0, -fmi.ascent); in assertSameDrawResult()
DBoringLayoutTest.java371 c.translate(0, 0); in drawToBitmap()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraTest.java70 mCamera.translate(10.0f, 28.0f, 2008.0f); in testTranslate()
DPictureTest.java75 canvas.translate(1.0f, 1.0f); in createImbalance()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java247 translator.translate(new TranslationRequest.Builder() in testSingleTranslation()
343 translator.translate(new TranslationRequest.Builder() in testTranslation_partialResponses()
458 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);
DMatrixTest.rscript622 // Test combining translate with another transformation.
660 /* Create a matrix that will scale by (4, -2, 3) then translate by (2, 3, -1).
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java197 can_test.translate(-left, -top); in testDrawSetBounds()
199 can_test.translate(left, top); in testDrawSetBounds()
DAnimatedImageDrawableTest.java692 canvas.translate(width, 0); in testAutoMirroredDrawing()
/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.java227 canvas.translate(0, -100);
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile250 …nfields,string.lstrip,string.rstrip,string.strip,string.swapcase,string.translate,string.upper,str…

12