Home
last modified time | relevance | path

Searched refs:posY (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DBorderedText.java78 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/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java78 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/skia/gm/
Dimageresizetiled.cpp41 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()
Dimageblurtiled.cpp50 int posY = 0; in onDraw() local
52 posY += 100; in onDraw()
53 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
/external/skqp/gm/
Dimageresizetiled.cpp41 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()
Dimageblurtiled.cpp50 int posY = 0; in onDraw() local
52 posY += 100; in onDraw()
53 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
/external/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp1146 egl::Image *posY = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_Y)][level]; in updateBorders() local
1151 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1161 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders()
1168 posY->copyCubeEdge(sw::Surface::BOTTOM, posZ, sw::Surface::TOP); in updateBorders()
1174 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1175 posY->copyCubeEdge(sw::Surface::TOP, negZ, sw::Surface::TOP); in updateBorders()
1176 posZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::BOTTOM); in updateBorders()
1177 negX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::LEFT); in updateBorders()
1179 negZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::TOP); in updateBorders()
1184 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp615 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/
Des3sSpecialFloatTests.cpp627 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/deqp/modules/glshared/
DglsTextureBufferCase.cpp118 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/deqp/modules/gles31/functional/
Des31fDrawTests.cpp1415 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()
Des31fPrimitiveBoundingBoxTests.cpp4312 const float posY = rnd.getFloat(minY, maxY); in createVbo() local
4316 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW)); in createVbo()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp488 float posY = (lheight - static_cast<float>(y)) / lheight; in generateTextureData() local
490 float rposY = 1.f - posY; in generateTextureData()
491 …tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()
/external/skia/src/svg/
DSkSVGDevice.cpp854 const SkString& posY() const { return fPosY; } in posY() function in SVGTextBuilder
926 elem.addAttribute("y", builder.posY()); in drawGlyphRunList()
/external/skqp/src/svg/
DSkSVGDevice.cpp865 const SkString& posY() const { return fPosY; } in posY() function in SVGTextBuilder
937 elem.addAttribute("y", builder.posY()); in drawGlyphRunList()
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...