/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | BorderedText.java | 78 public void drawText(final Canvas canvas, final float posX, final float posY, final String text) { in drawText() argument 79 canvas.drawText(text, posX, posY, exteriorPaint); in drawText() 80 canvas.drawText(text, posX, posY, interiorPaint); in drawText() 83 public void drawLines(Canvas canvas, final float posX, final float posY, Vector<String> lines) { in drawLines() argument 86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines()
|
/external/skqp/gm/ |
D | imageresizetiled.cpp | 41 float posY = 0; in DEF_SIMPLE_GM() local 43 posY += 100.0f; in DEF_SIMPLE_GM() 44 canvas->drawString(str[i], 0.0f, posY, font, SkPaint()); in DEF_SIMPLE_GM()
|
D | imageblurtiled.cpp | 50 int posY = 0; in onDraw() local 52 posY += 100; in onDraw() 53 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
|
/external/skia/gm/ |
D | imageresizetiled.cpp | 50 float posY = 0; in DEF_SIMPLE_GM() local 52 posY += 100.0f; in DEF_SIMPLE_GM() 53 canvas->drawString(str[i], 0.0f, posY, font, SkPaint()); in DEF_SIMPLE_GM()
|
D | imageblurtiled.cpp | 59 int posY = 0; in onDraw() local 61 posY += 100; in onDraw() 62 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Texture.cpp | 1202 egl::Image *posY = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_Y)][level]; in updateBorders() local 1207 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders() 1217 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders() 1224 posY->copyCubeEdge(sw::Surface::BOTTOM, posZ, sw::Surface::TOP); in updateBorders() 1230 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders() 1231 posY->copyCubeEdge(sw::Surface::TOP, negZ, sw::Surface::TOP); in updateBorders() 1232 posZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::BOTTOM); in updateBorders() 1233 negX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::LEFT); in updateBorders() 1235 negZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::TOP); in updateBorders() 1240 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 615 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local 617 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 835 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local 837 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 1139 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local 1141 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 1327 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local 1329 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO() 1330 gridVertices[y * 2 + 1] = tcu::Vec4( 1.0, posY, 0.0f, 1.0f); in testFBO() 1523 const float posY = (float)y / (float)numBlendFuncs * 2.0f - 1.0f; in testFBO() local [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 627 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local 629 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 850 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local 852 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 1177 const float posY = (float)y / ((float)gridSize - 1.0f) * 2.0f - 1.0f; in iterate() local 1181 gridVertices[x * gridSize + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 1494 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local 1496 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate() 1690 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local 1692 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO() [all …]
|
/external/skia/modules/particles/src/ |
D | SkParticleDrawable.cpp | 32 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform() argument 37 posY + -s * ofs.fX + -c * ofs.fY); in make_rsxform()
|
/external/angle/src/tests/gl_tests/ |
D | SimpleOperationTest.cpp | 887 const Vector3 posY(0, 1, 0); in TEST_P() local 894 posY, posY, posY, posY /* third face */, negY, negY, negY, negY /* fourth face */, in TEST_P()
|
/external/swiftshader/src/Device/ |
D | Blitter.cpp | 1933 VkImageSubresourceLayers posY = negX; in updateBorders() local 1934 posY.baseArrayLayer++; in updateBorders() 1935 VkImageSubresourceLayers negY = posY; in updateBorders() 1944 copyCubeEdge(image, posY, BOTTOM, posZ, TOP); in updateBorders() 1950 copyCubeEdge(image, posX, TOP, posY, RIGHT); in updateBorders() 1951 copyCubeEdge(image, posY, TOP, negZ, TOP); in updateBorders() 1952 copyCubeEdge(image, posZ, TOP, posY, BOTTOM); in updateBorders() 1953 copyCubeEdge(image, negX, TOP, posY, LEFT); in updateBorders() 1955 copyCubeEdge(image, negZ, TOP, posY, TOP); in updateBorders() 1959 copyCubeEdge(image, posY, RIGHT, posX, TOP); in updateBorders() [all …]
|
/external/deqp/modules/glshared/ |
D | glsTextureBufferCase.cpp | 118 const size_t posY = (size_t(index) * 2) + 1; in genRandomCoords() local 123 if (posY >= offset && posY < offset+size) in genRandomCoords() 124 coords[posY - offset] = ((i / 2) == 1 ? extend2BitsToByte(0x3u) : extend2BitsToByte(0x0u)); in genRandomCoords()
|
/external/angle/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.h | 236 float posX, posY, posZ, posW; // Position data member 242 float posX, posY, posZ, posW; // Position data member
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 1415 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local 1419 buffer[((y * m_gridSize + x) * 6 + 0) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData() 1420 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f); in createDrawData() 1421 …buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData() 1422 buffer[((y * m_gridSize + x) * 6 + 3) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData() 1423 …buffer[((y * m_gridSize + x) * 6 + 4) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData() 1424 buffer[((y * m_gridSize + x) * 6 + 5) * 2 + 0] = tcu::Vec4(posX, posY + cellSize, 0.0f, 1.0f); in createDrawData() 1449 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local 1451 buffer[(y * (m_gridSize+1) + x) * 4 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData() 1453 buffer[(y * (m_gridSize+1) + x) * 4 + 2] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
|
D | es31fPrimitiveBoundingBoxTests.cpp | 4312 const float posY = rnd.getFloat(minY, maxY); in createVbo() local 4316 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW)); in createVbo()
|
/external/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 121 auto posY = pos[it->second.FirstComponent + 1]; in computeClipFlags() local 126 Int4 maxY = CmpLT(posW, posY); in computeClipFlags() 129 Int4 minY = CmpNLE(-posW, posY); in computeClipFlags() 140 Int4 finiteY = CmpLE(Abs(posY), *Pointer<Float4>(constants + OFFSET(Constants, maxPos))); in computeClipFlags()
|
/external/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 140 auto posY = run->posY(i); in calculateBoundaries() local 142 bounds.offset(posX + runShift, posY); in calculateBoundaries()
|
D | Run.h | 64 SkScalar posY(size_t index) const { in posY() function
|
/external/deqp/external/openglcts/modules/common/ |
D | glcInternalformatTests.cpp | 489 float posY = (lheight - static_cast<float>(y)) / lheight; in generateTextureData() local 491 float rposY = 1.f - posY; in generateTextureData() 492 …tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 865 const SkString& posY() const { return fPosY; } in posY() function in SVGTextBuilder 937 elem.addAttribute("y", builder.posY()); in drawGlyphRunList()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 953 const SkString& posY() const { return fHasConstY ? fConstYStr : fPosYStr; } in posY() function in SVGTextBuilder 1038 elem.addAttribute("y", builder.posY()); in drawGlyphRunAsText()
|