Searched refs:kTranslate (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | scale_and_translate_op_test.cc | 283 const Vector2f kTranslate(0.0f, 0.0f); in TEST_F() local 284 RunTest(kOutputImageHeight, kOutputImageWidth, kScale, kTranslate); in TEST_F() 299 const Vector2f kTranslate(0.0f, 0.0f); in TEST_F() local 300 RunTest(kOutputImageHeight, kOutputImageWidth, kScale, kTranslate); in TEST_F() 315 const Vector2f kTranslate(0.0f, 0.0f); in TEST_F() local 316 RunTest(kOutputImageHeight, kOutputImageWidth, kScale, kTranslate); in TEST_F() 332 const Vector2f kTranslate(0.0f, 0.0f); in TEST_F() local 333 RunTest(kOutputImageHeight, kOutputImageWidth, kScale, kTranslate); in TEST_F() 349 const Vector2f kTranslate(0.0f, 0.0f); in TEST_F() local 350 RunTest(kOutputImageHeight, kOutputImageWidth, kScale, kTranslate); in TEST_F() [all …]
|
/external/skqp/gm/ |
D | drawimageset.cpp | 205 static constexpr SkScalar kTranslate = SkTMax(kW, kH) * 2.f + 10.f; in onDraw() local 217 canvas->translate(kTranslate, 0); in onDraw() 221 canvas->translate(0, kTranslate); in onDraw() 240 canvas->translate(kTranslate, 0); in onDraw() 243 canvas->translate(0, kTranslate); in onDraw()
|
/external/skia/gm/ |
D | drawimageset.cpp | 242 static constexpr SkScalar kTranslate = std::max(kW, kH) * 2.f + 10.f; in onDraw() local 255 canvas->translate(kTranslate, 0); in onDraw() 259 canvas->translate(0, kTranslate); in onDraw() 279 canvas->translate(kTranslate, 0); in onDraw() 282 canvas->translate(0, kTranslate); in onDraw()
|