Home
last modified time | relevance | path

Searched refs:translateX (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/docs/examples/
DMatrix_isTranslate.cpp9 for (SkScalar translateX : { 0, 20 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
DMatrix_isScaleTranslate.cpp9 for (SkScalar translateX : { 0, 20 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
/third_party/skia/src/gpu/ops/
DSmallPathRenderer.cpp378 SkScalar translateX = kAntiAliasPad - dx; in addDFPathToAtlas() local
384 drawMatrix.postTranslate(translateX, translateY); in addDFPathToAtlas()
434 SkRect drawBounds = SkRect::Make(devPathBounds).makeOffset(-translateX, -translateY); in addDFPathToAtlas()
474 SkScalar translateX = kAntiAliasPad - dx; in addBMPathToAtlas() local
501 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas()
508 SkRect drawBounds = SkRect::Make(devPathBounds).makeOffset(-translateX, -translateY); in addBMPathToAtlas()
DShadowRRectOp.cpp759 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() local
764 viewMatrix.postTranslate(translateX, translateY); in GR_DRAW_OP_TEST_DEFINE()
DGrOvalOpFactory.cpp3413 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() local
3421 viewMatrix.postTranslate(translateX, translateY); in GR_DRAW_OP_TEST_DEFINE()
3451 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() local
3459 viewMatrix.postTranslate(translateX, translateY); in GR_DRAW_OP_TEST_DEFINE()
3491 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() local
3499 viewMatrix.postTranslate(translateX, translateY); in GR_DRAW_OP_TEST_DEFINE()
/third_party/skia/tests/
DGrTextBlobTest.cpp131 for (auto translateX : interestingNumbers) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
134 SkScalar deltaPosX = -(originX + translateX); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 SkMatrix t = SkMatrix::Translate(translateX, translateY); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRoundRectTest.cpp581 SkScalar translateX = SkIntToScalar(32); in test_transform_helper() local
583 matrix.setTranslateX(translateX); in test_transform_helper()
594 REPORTER_ASSERT(reporter, dst.rect().left() == orig.rect().left() + translateX); in test_transform_helper()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp3613 const float translateX = (+1.0f / 8.0f) / float(width); in initAccelerationStructures() local
3617 m[translateColumnNumber][0] = translateX; in initAccelerationStructures()
3829 const float translateX = (-1.0f / 8.0f) / float(width); in initAccelerationStructures() local
3833 m[translateColumnNumber][0] = translateX; in initAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp2153 const float translateX = translateSign * (1.0f / 8.0f) / float(m_data.width); in expectedMatrixValuesBuffer() local
2166 m[translateColumnNumber][0] = translateX; in expectedMatrixValuesBuffer()
/third_party/weex-loader/deps/weex-styler/lib/
Dvalidator.js3051 translateX: PERCENTAGE_LENGTH_VALIDATOR, property